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)
New menu
Screen menu
Pop Up Menu
All of these
Explanation
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)
Mouse
Mouse move
move
All of these
Explanation
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)
Portrait
Landscape
Lying
None of these
Explanation
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)
Print To
Print One
Print Form
None of these
Explanation
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)
.exe
.prg
.ppp
None of these
Explanation
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.
sqrt()
round()
abs()
None of these
Explanation
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
Inheritance
Polymorphism
Abstraction
Platform Independent
Explanation
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
Click the left mouse
Press the mouse button
Mouse is moved over the control
None of these
Explanation
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
Fox Pro
Oracle
MS-Access
All of these
Explanation
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
ADO
RDO
DAO
All of these
Explanation
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?
Caption
Nameset
Fore color
None of these
Explanation
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
sqrt()
round()
abs()
None of these
Explanation
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?
MS Access
SQL
DOS
None of these
Explanation
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?
Check box
Option box
Combo box
None of these
Explanation
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?
ADO
RDO
DAO
None of these
Explanation
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?
Multiline
Scrollbar
Max Length
List Index
Explanation
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.
Functions
Properties
Procedures
None of these
Explanation
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?
Msg. Box
Input Box
Text Box
Both A & B
Explanation
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)
Clear
Copy
Cut
Paste
Explanation
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?
Accept Return
Border Style
Name
None of these
Explanation
It is a standard programming practice to set the ‘Name’ property first so that the control can be easily referenced in the code.