Você está na página 1de 6

What is Visual Basic?

When and who developed Visual Basic?


Which are the three editions of Visual Basic?
Expand COM and DCOM?
Define IntelliSense?
What is the use of ADODC control?
What are Addins?
What do you mean by Title Bar?
What do you mean by Menu Bar?
What do you mean by Tool bars?
What is a Option Button?
What is a List box?
What is a Combo box?
What is a Timer?
What is Drive List box?
What is Dir List box?
What is Form Layout Window?
What is a Resource File?
What is a Project File?
What is ActiveX Control File?

Five marks Questions:

Explain the three editions of Visual Basic?


Describe any four features of Visual Basic?
Explain any three IDE components of Visual Basic?
Explain any three controls of Visual Basic?
Name the different types of projects that can be created in VB?
What are the different options available in Menu bar?
How is the Immediate Window used in VB?
Explain the function of Properties Window?
Explain the function of Project Window?
Define IntelliSense? Mention its features?
Ten marks Questions:

What is IDE? Discuss the features of Visual Basic IDE?


Explain the different Windows available in Standard EXE project of VB?
Explain the important features of VB?
Explain briefly the usage of any five controls in the Toolbox?
Create a VB program to input two numbers add display their sum?
UNIT 3: PROGRAMMING IN VB

Two Mark Questions

Name the three special values in Visual Basics.


What is an Empty Value?
What is a Null Value?
Name any two Visual Basic functions for data type conversions.
Which function is used to find the data type of an argument?
What is a local variable?
What is a global variable?
Which keyword is used to preserve the value of a local variable?
What are the two types of constants?
How are system-defined and user-defined constants declared?
Name the three types of operators in Visual Basics.
Name any two arithmetic operators.
Name any two relational operators.
Name any two logical operators?
What is REM statement?
What are the decision structures available in Visual Basics?
Name the looping structures in Visual Basics?
What are entry-controlled loops?
What are exit-controlled loops?
What is an END statement?
21. What are user-defined data types?

22. Define array

23.What is multi-dimensional array?

24. Define a function 25.What is an event?

26. What is a general procedure?

27. Define event procedure 28.What is an argument?


29. How do you declare an array in Visual Basic?

30. How do you force a variable declaration?

Five Marks Questions

What are other similar functions like Is Null() function to check a variable’s data type? Explain.
What does VarType () do? Write its syntax.
Give an example to illustrate the usage of VarType () functions.
What is an REM statement? Write its syntax and an example.
What is If-Then-End If structure? Write its general form with an example.
What is If-Then-Else-End If structure? Write its general form.
What is Select Case? Write its general syntax.
Write the description and usage of the Do-loop statement.
Write the description and usage of the While-wend statement.
Write the description and usage of the For-Next statement.
Write the description and usage of the For Each-Next statement.
List any 4 different forms of End statement.
13. Explain user-defined data type with a syntax 14.what are multi-dimensional arrays? 15. Explain the
concept of dynamic arrays? 16. Briefly explain event procedure with syntax? 17. Differentiate between
general procedure and event procedure 18.what is a function? How is it declared and called? 19. What is
the difference between function and a procedure?

Ten Mark 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.

UNIT 4: FORM OBJECT AND CONTROLS

Two marks questions

1. Define a form object.


2. What is a menu?
3. What is the need of control array?
4. What are the advantages of control arrays?
5. What are events? Give an example.
6. What are methods? Give an example.
7. What are Intrinsic controls?
8. List the common properties of a command button.
9. Give the common events used in command button
10. Give any three events relatede to list box
11. What do you mean by OLE control?
12. List out some important microsoft common controls
13. What is a tool bar?
14. What are the advantagesof the tool bar?
15. Wat do you mean by MDI form?

Five marks questions

1. Give the naming conventions of any 3 controls.


2. Explain the form related events of visual basic.
3. Explain the form related methods of visual basics.
4. How are controls created and removed?
5. Explain loading and unloading of the forms.
6. Explain any 3 properties of a Form object.
7. Describe the basic properties of a textbox
8. Describe any three methods used in command button
9. Explain any three common properties of a control
10. Describe frame control with an example
11. Describe the checkbox control
12. Describe option button with an example
13. Differentiate between checkbox control and optionbutton control
14. Explain the salient features of listbox.
15. Explain the salient features of combobox.
16. Give the difference between data time picker control and timer control.
17. Describe the salient features of a toolbar
18. How is timer control used?
19. Describe the properties of scrollbar.
20. Explain the events and methods of a scroll bar
21. What are the advantagesof the tool bar? how is it differ from a menubar.

Ten marks questions

1. Explain the common dialog control in visual basic


2. How is a control array created at design time and run time?
3. Compare listbox and combobox
4. Give the difference between image box and picture box controls
5. What is menu? Explain the steps of creating a menu with a suitable example.
6. Explain the usage of list box and combo box with suitable examples.
7. What is an MDI form and what are its properties? explain with an example.
8. Outline a visual basic program for displaying the grade of the student in a text box based on then
marks of a student as follows:

9. Write a visual basic program to simulate a calculator.


10. Create an application program to accept employee information and display it using message box.
Give the design, properties and code.

UNIT 5: DATABASE CONNECTIVITY

Two Marks questions

1. What are the features of ADO Data Control?


2. Explain data aware controls?
3. List any three properties of ADO data control?
4. List any three events of ADO data control?
5. What is the function of data combo control?
6. How's the Data Grid control used in VB application?
7. Explain the different types of Record Sets?
8. What are the advantages of an ActiveX data object?
9. Explain the top level objects of an ADO object model.
10. What is a connection object?
11. Explain the Command Type property.
12. What is a Command object? Explain.
13. What are the most common methods used with the command object?
14. What is a RecordSet? Explain.
15. List some common properties of a Record Set object?
16. What is a field? Give some common properties of a field object.

Ten Marks Question

1. What are the differences b/w a Combo box and the Data Combo control? Explain with an example.
2. Differentiate b/w a List Box and a Data List control. Illustrate with an example.
3. Explain any three controls used in VB to manipulate data retrieved from tables.
4. Discuss the open method for an ADO connection.
5. Explain the open method for a Record Set.
6. Explain the execute method.
7. Write a VB program to print the discount based on the category.
8. Develop a VB program to display records from database using ADODC control.
9. Write the steps to add, delete, and search data using an ADO Control.
10. Design and code an application to accept the employee information and display it using Message
Box.
11. Write a VB program to accept data through a form and store the following in a database: student
No., name and marks. Also display student scoring marks more than fifty.

Você também pode gostar