Welcome To CSE Study247 , Today I am provide you VISUAL BASIC 6.0 MCQ-9 . That is very useful for Computer Science Students.

Q.1 Controls are -------
-
A)
Code
-
B)
Part of the menus
-
C)
Rules
-
D)
Objects
Discuss itExplanation
In Visual Basic, controls like buttons, labels, and textboxes are objects that have properties, methods, and events.
Q.2 Which is an example of Visual basic object?
-
A)
ASP.NET
-
B)
ADO.NET
-
C)
Control objects
-
D)
All of these
Discuss itExplanation
Visual Basic interacts with various object-oriented frameworks and components, including web technologies, data access layers, and UI controls.
Q.3 Which of the following is a example of to access local database
-
A)
DAO
-
B)
RDO
-
C)
ADC
-
D)
All of these
Discuss itExplanation
DAO (Data Access Objects) was specifically designed for the Jet engine to access local databases like Microsoft Access.
Q.4 RDO was designed to give access to
-
A)
Only Local database
-
B)
Only Remote database
-
C)
Both Remote & Local
-
D)
All of these
Discuss itExplanation
RDO (Remote Data Objects) was designed as a thin layer over ODBC to provide high-performance access to remote client/server databases.
Q.5 Cancel Button property belongs to which object?
-
A)
Button
-
B)
Form
-
C)
Label
-
D)
None of these
Discuss itExplanation
The CancelButton is a property of the Form object that allows a specific button to be triggered when the user presses the Esc key.
Q.6 The Tick Event is found only in which object?
-
A)
Button
-
B)
Form
-
C)
Timer
-
D)
None of these
Discuss itExplanation
The Timer control uses the Tick event to execute code at specified time intervals.
Q.7 MS-access or oracle is the example of ----- software.
-
A)
Back end
-
B)
Front end
-
C)
Both
-
D)
None of these
Discuss itExplanation
Databases like MS Access and Oracle serve as the 'Back end' where data is stored and managed, while the UI is the 'Front end'.
Q.8 RDO is introduced in
-
A)
Version 2.0
-
B)
Version 3.0
-
C)
Version 4.0
-
D)
None of these
Discuss itExplanation
Remote Data Objects (RDO) were first introduced in Visual Basic 4.0 to improve remote database connectivity.
Q.9 Which of the following Database based on the active x technology ?
-
A)
ADO
-
B)
RDO
-
C)
DAO
-
D)
None of these
Discuss itExplanation
ADO (ActiveX Data Objects) is the primary data access technology based on Microsoft's ActiveX/COM framework.
Q.10 The Activated event is found only in which object?
-
A)
Form
-
B)
Button
-
C)
TextBox
-
D)
None of these
Discuss itExplanation
The Activated event is specific to the Form object; it occurs when the form becomes the active window.
Q.11 In ---- box we can edit in run time
-
A)
list and combo
-
B)
Button
-
C)
TextBox
-
D)
None of these
Discuss itExplanation
A TextBox control is used to display information or accept input/editing from the user during runtime.
Q.12 Which is a valid statement for declaring a variable?
-
A)
Const Form as Integer
-
B)
Dim Form as Integer
-
C)
Dim MyForm as Integer
-
D)
None of these
Discuss itExplanation
'Dim' is the keyword used to declare variables in Visual Basic, and 'MyForm' is a valid user-defined name.
Q.13 What is the use of OLE
-
A)
we can link to the other application
-
B)
we can remove the other application
-
C)
we can adjust the application
-
D)
None of these
Discuss itExplanation
OLE (Object Linking and Embedding) allows applications to share data and functionality by linking or embedding objects from one app into another.
”Q.14
-
A)
”==”
-
B)
”&”
-
C)
”>=”
-
D)
”None
Q.15 Which of the following is a type of API
-
A)
ODBC
-
B)
OLE
-
C)
JDBC
-
D)
All of these
Discuss itExplanation
ODBC, OLE, and JDBC are all Application Programming Interfaces (APIs) designed to facilitate communication between software components and databases.
Related Link
| S.NO | SETS | VISIT |
| 1 | SET-1 | Click |
| 2 | SET-2 | Click |
| 3 | SET-3 | Click |
| 4 | SET-4 | Click |
| 5 | SET-5 | Click |
| 6 | SET-6 | Click |
| 7 | SET-7 | Click |
| 8 | SET-8 | Click |
| 9 | SET-9 | Click |
| 10 | SET-10 | Click |