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