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 ——-
Code
Part of the menus
Rules
Objects
Explanation
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?
ASP.NET
ADO.NET
Control objects
All of these
Explanation
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
DAO
RDO
ADC
All of these
Explanation
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
Only Local database
Only Remote database
Both Remote & Local
All of these
Explanation
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?
Button
Form
Label
None of these
Explanation
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?
Button
Form
Timer
None of these
Explanation
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.
Back end
Front end
Both
None of these
Explanation
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
Version 2.0
Version 3.0
Version 4.0
None of these
Explanation
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 ?
ADO
RDO
DAO
None of these
Explanation
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?
Form
Button
TextBox
None of these
Explanation
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
list and combo
Button
TextBox
None of these
Explanation
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?
Const Form as Integer
Dim Form as Integer
Dim MyForm as Integer
None of these
Explanation
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
we can link to the other application
we can remove the other application
we can adjust the application
None of these
Explanation
OLE (Object Linking and Embedding) allows applications to share data and functionality by linking or embedding objects from one app into another.
Q.14 which symbol is used to concatenate two string?
==
&
=
None of these
Explanation
In Visual Basic, the ampersand (&) symbol is used to join or concatenate two or more strings together.
Q.15 Which of the following is a type of API
ODBC
OLE
JDBC
All of these
Explanation
ODBC, OLE, and JDBC are all Application Programming Interfaces (APIs) designed to facilitate communication between software components and databases.