0% found this document useful (0 votes)
132 views

Five Marks Questions

This document contains questions about Visual Basic concepts, components, controls, projects, and programming. It includes questions ranging from 2 to 10 marks about topics like Visual Basic editions, IDE components, controls, events, procedures, functions, loops, arrays, databases, forms, and object-oriented programming concepts.

Uploaded by

sasikaladevi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views

Five Marks Questions

This document contains questions about Visual Basic concepts, components, controls, projects, and programming. It includes questions ranging from 2 to 10 marks about topics like Visual Basic editions, IDE components, controls, events, procedures, functions, loops, arrays, databases, forms, and object-oriented programming concepts.

Uploaded by

sasikaladevi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

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 related to list box
11. What do you mean by OLE control?
12. List out some important micro soft common controls
13. What is a tool bar?
14. What are the advantages of the tool bar?
15. What 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 option button control
14. Explain the salient features of list box.
15. Explain the salient features of combo box.
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 advantages of the tool bar? how is it differ from a menu bar.
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 list box and combo box
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 Record Set? 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.
Question Bank for Visual Basic
1. What reasons are there for creating custom interface?
2. What is an object model and how do they benefit s/w development?
3. What is universal data access?
4. What are the two properties of the text box that are used to bind it to a record set
object?
5. Identify the 3 types of property procedures & state when you would use them.
6. Identify the built in events for class modules & explain custom events.
7. Explain the process for using a class module in an application.
8. Explain early and late binding & the effect of each on the performance of an
application.
9. Explain how to create controls at run time.
10. Discuss control collection in V.B. including its properties, uses & how to create it.
11. Explain how to create a menu & menu item at run time?.
12. Explain the concept of validation.
13. What does the immediate window allow you to do while debugging?
14. How can setting the break when value is true option for a watch help you to debug your
code?
15. What are the 2 properties of the error object that can be useful in determining the cause at an
error within an error handler?
16. What are stored procedures & how they benefit your application?
17.What is a cursor ? What 2 locations can cursor exists?
18.Explain concept collection instead of array.
19.What is the difference between function call by value & call by reference?
20.What is the difference between class module & standard module?
21.Explain the following
i . C l i p b o a r d
i i . C o m
i i i . C o n t r o l a r r a y
i v . D i a l o g b o x
v . E v e n t d r i v e n
v i . E v e n t p r o c e d u r e
v i i . E v e n t t r a p p i n g
viii.Procedure call with argument
i x . M D I & S D I
x . V a l i d a t i o n r u l e
22.Explain any 5 data types.
23.Explain the concept of message box.
24.Explain the difference between check box & option button.
25.When do we use combo box & list box?
26.Explain any 3 format date & time function.
27.Explain the difference between lost focus, got focus & set focus.
28.Explain the declaration statement.

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.

You might also like