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

Q.1 If pressing a command a new set of command come on screen,it is called (SBTE 2021)
-
A)
New menu
-
B)
Screen menu
-
C)
Pop Up Menu
-
D)
All of these
Discuss itExplanation
A pop-up menu or context menu appears to provide a specific set of commands related to the current interaction.
Q.2 The---- event occurs when the mouse pointer is moved across the screen? (SBTE 2021)
-
A)
Mouse
-
B)
Mouse move
-
C)
move
-
D)
All of these
Discuss itExplanation
In Visual Basic, the MouseMove event is triggered continuously as the mouse pointer moves over a control or form.
Q.3 Upright page is called (SBTE 2021)
-
A)
Portrait
-
B)
Landscape
-
C)
Lying
-
D)
None of these
Discuss itExplanation
Portrait orientation refers to a page that is taller than it is wide (vertical/upright).
Q.4 You can use visual basic's ---- method to print a copy of the current form as many times as the user specifies (SBTE 2021)
-
A)
Print To
-
B)
Print One
-
C)
Print Form
-
D)
None of these
Discuss itExplanation
The PrintForm method is used to send a visual representation of the current form to the default printer.
Q.5 Active technology allows you to create executable files with extension .com and --- (SBTE 2021)
-
A)
.exe
-
B)
.prg
-
C)
.ppp
-
D)
None of these
Discuss itExplanation
Executable files in the Windows environment generally carry the .exe or .com extensions.
Q.6 In VB, the _ is the function that computes the square root of a number.
-
A)
sqrt()
-
B)
round()
-
C)
abs()
-
D)
None of these
Discuss itExplanation
While the literal VB syntax is Sqr(), sqrt() is the standard mathematical function representation for square root used in many programming contexts.
Q.7 Which of the following is not a feature of object oriented programming
-
A)
Inheritance
-
B)
Polymorphism
-
C)
Abstraction
-
D)
Platform Independent
Discuss itExplanation
Platform independence is a language feature (like Java), whereas Inheritance, Polymorphism, and Abstraction are the core pillars of OOP.
Q.8 Mouse down event takes place when you
-
A)
Click the left mouse
-
B)
Press the mouse button
-
C)
Mouse is moved over the control
-
D)
None of these
Discuss itExplanation
The MouseDown event occurs the moment a user presses a mouse button, preceding the Click and MouseUp events.
Q.9 Which of the following is a example of data base
-
A)
Fox Pro
-
B)
Oracle
-
C)
MS-Access
-
D)
All of these
Discuss itExplanation
FoxPro, Oracle, and MS Access are all popular examples of Database Management Systems (DBMS).
Q.10 Which of the following various ways of access database
-
A)
ADO
-
B)
RDO
-
C)
DAO
-
D)
All of these
Discuss itExplanation
VB supports several data access technologies including ActiveX Data Objects (ADO), Remote Data Objects (RDO), and Data Access Objects (DAO).
Q.11 Which property is used to change name of the command button?
-
A)
Caption
-
B)
Nameset
-
C)
Fore color
-
D)
None of these
Discuss itExplanation
The Caption property determines the text that is physically displayed on the command button for the user to see.
Q.12 In VB ------ is the function that returns the absolute value of a number
-
A)
sqrt()
-
B)
round()
-
C)
abs()
-
D)
None of these
Discuss itExplanation
The Abs() function returns the absolute (non-negative) value of a given numeric expression.
Q.13 In DAO control which software is used to create Database?
-
A)
MS Access
-
B)
SQL
-
C)
DOS
-
D)
None of these
Discuss itExplanation
DAO was originally optimized to work with the Microsoft Jet Database Engine, which is the engine behind MS Access.
Q.14 In which control Multiple choice can be selected?
-
A)
Check box
-
B)
Option box
-
C)
Combo box
-
D)
None of these
Discuss itExplanation
Checkboxes are used to allow a user to select one or more independent options from a list.
Q.15 Which Data Control technique is used for connecting data bases at Remote location?
-
A)
ADO
-
B)
RDO
-
C)
DAO
-
D)
None of these
Discuss itExplanation
RDO (Remote Data Objects) was designed specifically for high-performance access to remote client/server databases via ODBC.
Q.16 Which of the following is not the property of a TextBox?
-
A)
Multiline
-
B)
Scrollbar
-
C)
Max Length
-
D)
List Index
Discuss itExplanation
ListIndex is a property associated with ListBox or ComboBox controls, used to identify the selected item, not TextBox.
Q.17 The ------ enable us to pass data between a program and a class.
-
A)
Functions
-
B)
Properties
-
C)
Procedures
-
D)
None of these
Discuss itExplanation
Properties act as the interface for a class, allowing the outside program to safely get or set internal data.
Q.18 Which function displayed a pop-up window?
-
A)
Msg. Box
-
B)
Input Box
-
C)
Text Box
-
D)
Both A & B
Discuss itExplanation
Both MsgBox (Message Box) and InputBox generate modal pop-up windows to display info or collect user input.
Q.19 Which method is used to remove items from a list? (Corrected Question Context)
-
A)
Clear
-
B)
Copy
-
C)
Cut
-
D)
Paste
Discuss itExplanation
The .Clear method is used in VB to remove all entries/items from a ListBox or ComboBox control.
Q.20 Which TextBox property should always be changed first?
-
A)
Accept Return
-
B)
Border Style
-
C)
Name
-
D)
None of these
Discuss itExplanation
It is a standard programming practice to set the 'Name' property first so that the control can be easily referenced in the code.
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 |