Friday, 31 March 2017

Visual Basic Theory


MODEL EXAMINATION 

Subject: Visual Basic
Time: 2 Hrs
Max. Marks: 50

I.Fill In The Blanks
1. IDE stands for ……………………………………………………………
2. …………………………...…… controls are also known as radio buttons
3. ……………..is used to displays directories in our system
4. Data Control is used for ………
5. Shape control displays …….types of shapes.
6. ……...…Button allows the user to perform some actions
7. …………………………………… method is used to remove an item from a list
8. For designing a menu we can use ……control
9. …………function returns the length of a string.
10. …..are the memory locations  to store the values temporary
(10 x 1=10)
II. Answer Any Five Of The Following
1. Write the code for displaying a message box?
2. Write the syntax of for loop in visual basic?
3. Difference between option Button and Check Box
4. Design and code for displaying “selected” where the age is >19
5. Explain the mathematical functions in VB?
6. Find the sum and average of n numbers using input box?
(5 x2=10)
IV. Answer The Following

1. Design and code a login form
2. Design and code a weekly payroll
3. Write about the mathematical functions in vb.
4. Describe about the control statements in visual basic
5. Design and write the code for given age in days.
6. Add and remove items to a list box
(5 x 6=30)