Five Marks Questions
Five Marks Questions
What are the three special values? Explain each one of them with syntax.
List all the conversion functions in Visual Basics and write their usage.
Write the scope and lifetime of a variable.
Write a VB program to find the largest of three numbers along with the form design.
Write a VB program to process the grades of a student along with the form design.
Write all the looping structures of VB and give their description and usage as well.
Write a program to find the GCD of two integers using the different looping structures.
Write a program to count the number of Labels, Text Boxes and command Buttons in the form.
a) What do mean by object oriented programming? Explain different features of visual basic in
details.
(b) What is the difference between function and method? Explain IDE for visual Basic ion details.
(a) What do you mean by Array? Write a code in visual basic to find sum of numbers from 1 to
10.
(b) Discuss for-next statement? Write a code to find factorial of numbers from 1 to 15.
(a) Discuss different data types used in visual Basic in details.
(b) Write a code for Button click event, to find out even or odd display on message box.
(a) What do you mean by ActiveX control? Write proper steps for database
connectivity, where MS-Access works as backend and visual basic works as frontend.
(b) Explain multiple Document interface (MDI) with proper steps using visual Basic. Also give
different features of MDI.
(a) Write proper steps required for preparing Crystal and data reports in Visual Basic.
(b) Discuss the event handling in details used in visual basic with proper Illustrative example?
(a) Write a code to prepare each of the following:
1. Check box
2. Button
3. List Box
4. Combo Box
(b) What do you mean by cursor? Write a code to find prime numbers between1 to 50, using
while.
(a) Write a code for display different colors using reference data type in visual basic.
(b) Explain different types of properties and application of visual basic.