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

Q.1 When you have a loop within a loop, then you have created a —— ?
if condition
while loop
nested
next
Explanation
In programming, nesting occurs when one control structure (like a loop or if-statement) is placed inside another of the same type.
Q.2 Which of the following company developed OLE DB?
Microsoft
IBM
Oracle
None of these
Explanation
OLE DB (Object Linking and Embedding, Database) is a set of private and public interfaces developed by Microsoft for accessing data from different sources.
Q.3 OLE DB was developed in which year?
1992
1994
1996
None of these
Explanation
Microsoft released the first version of OLE DB in 1996 as a successor to ODBC for broader data access.
Q.4 Which is NOT a main component of the Visual Studio IDE?
Solution Explorer
Tool Box
Start Menu
Designer Window
Explanation
The Start Menu is a component of the Windows Operating System, whereas the others are specific windows within the Visual Studio environment.
Q.5 Which of the following is NOT part of the classic VB IDE? (Per SBTE Key)
Code Editor Window
Properties Window
Intermediate Window
Form Layout Window
Explanation
While the Intermediate Window exists for debugging, core design components typically include the Code Editor, Properties, and Form Layout windows.
Q.6 In Visual Basic, the While loop is ended by which keyword?
stop
next
wend
nested
Explanation
The traditional ‘While’ loop in classic Visual Basic uses the ‘Wend’ (While End) keyword to close the loop block.
Q.7 In which structure do we check the condition first, and if true, execute the statement?
do while
if condition
while
nested
Explanation
A ‘While’ loop is an entry-controlled loop, meaning the condition is evaluated before any code inside the loop is executed.
Q.8 —— is one of the common properties of a control.
Appearance
Value
Autosize
None of these
Explanation
The Appearance property is common to almost all visual controls in VB, determining if the control has a 3D or flat look.
Q.9 Who is known as the Father of HTML?
Tim David
Robert
Tim Berners-Lee
None of these
Explanation
Tim Berners-Lee invented the World Wide Web and created the first version of HTML while working at CERN.
Q.10 When was HTML 1.0 released?
1987
1990
1993
None of these
Explanation
HTML 1.0 was the first release of the HyperText Markup Language, introduced in 1993.
Q.11 Visual suffixed software (like Visual Basic) is designed for which operating system? (SBTE 2021)
Dos
Windows
Both A & B
None of these
Explanation
Microsoft’s ‘Visual’ line of programming tools was specifically created to develop Graphical User Interface (GUI) applications for the Windows OS.
Q.12 In event-driven programming, the program flow is controlled by?
Module
Objects
Events
None of these
Explanation
Event-driven programming is a paradigm where the flow of the program is determined by user actions (clicks, key presses) or messages from other programs.
Q.13 Visual Basic is an extension of which language? (SBTE 2021)
Basic
CoBoL
PASCAL
None of these
Explanation
Visual Basic was derived from BASIC (Beginner’s All-purpose Symbolic Instruction Code) to allow for easier GUI development.
Q.14 In Visual Basic, changes to the project structure are reflected in the?
Project explorer window
Explorer window
Project window
All of these
Explanation
The Project Explorer window displays a hierarchical list of the projects and all the items (forms, modules) contained in each project.
Q.15 The 'Select All' command is typically found in which menu?
File Menu
Edit Menu
Query Menu
None of these
Explanation
In almost all Windows-based software, commands for selecting, cutting, copying, and pasting are located in the Edit Menu.
Q.16 ASP stands for _______ (SBTE 2019)
Active Single Page
Activated Service Procedure
Active Server Page
None of the above
Explanation
Active Server Pages (ASP) is Microsoft’s first server-side script engine for dynamically generated web pages.
Q.17 DAO is a shorthand notation for _______ (SBTE 2019)
Date Access Object
Data Access Object
Direct Access Object
None of the above
Explanation
Data Access Objects (DAO) is an object-oriented interface that allows users to connect to local or remote databases.
Q.18 Which of the following is NOT a pillar/feature of Object-Oriented Programming? (SBTE 2019)
Inheritance
Polymorphism
Abstraction
Platform Independent
Explanation
Inheritance, Polymorphism, and Abstraction are core OOP concepts. ‘Platform Independent’ is a characteristic of a language’s runtime environment (like Java).
Q.19 A 'Mouse down' event takes place when you: (SBTE 2019)
Click the left mouse
Press the mouse button
Mouse is moved over the control
All of the above
Explanation
The MouseDown event is triggered the moment any mouse button is pressed down, before it is released.
Q.20 ———— is the extension used for a class module in Visual Basic. (SBTE 2019)
.cls
.cla
.clss
None of the above
Explanation
In Visual Basic, Class modules are saved with a .cls extension, while standard modules use .bas.