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

Q.1 DAO introduced in?
Version 2.0
Version 3.0
Version 4.0
None of these
Explanation
Data Access Objects (DAO) was first introduced in Visual Basic 3.0 to provide an interface for accessing and manipulating databases using the Jet engine.
Q.2 In VB, The —- function converts all the characters of a string to capital letters.
str()
Ucase()
val ()
None of these
Explanation
The UCase() function in Visual Basic is used to convert all lowercase characters in a specified string to uppercase.
Q.3 In VB, The _ is the function that converts a number to a string.
str()
Ucase()
val ()
None of these
Explanation
The Str() function is used to convert a numeric value into a string representation, often adding a leading space for the sign of the number.
Q.4 In VB, We can use Public or Dim statement to declare an array.
True
False
Both
None of these
Explanation
In Visual Basic, arrays can be declared using ‘Dim’ for local or module-level scope, or ‘Public’ for global scope within a project.
Q.5 Application in VB is created in a Area called?
Window
Form
Label
None of these
Explanation
A Form is the primary container or window in Visual Basic where you design the user interface and place various controls.
Q.6 Which of the following is not a Database technique in VB?
RDO
ADO
DAO
VDU
Explanation
RDO, ADO, and DAO are all data access technologies in VB. VDU (Visual Display Unit) is a hardware term referring to a monitor.
Q.7 In VB, _ is used to enter the more than one value in a single variable having same data types.
Array
Dim
structure
None of these
Explanation
An array is a data structure that allows you to store a fixed-size sequential collection of elements of the same data type under a single variable name.
Q.8 The code that is used in a sub procedure to stop execution of a program is:
Exit
End with
End sub
End
Explanation
The ‘End Sub’ statement marks the conclusion of a Sub procedure, effectively stopping the execution of the code within that specific block.
Q.9 The text property of a text box behaves like a:
String
Numeric
Variant
Function
Explanation
The ‘Text’ property of a TextBox control always returns and accepts data as a String data type in Visual Basic.
Q.10 ADO is ActiveX-based, it can work in different platforms and different programming languages.
True
False
Both
None of these
Explanation
ActiveX Data Objects (ADO) is designed to be a language-independent and cross-platform framework for accessing various data sources.
Q.11 In VB —– is called integrated because we can access virtually all of the development tools?
IDE
Menu Bar
Tool Box
None of these
Explanation
IDE stands for Integrated Development Environment, which consolidates tools like the code editor, debugger, and GUI designer into a single application.
Q.12 —– Property is used to display text when you keep your mouse cursor on that control?
Enabled
Text
Tool Tip Text
None of these
Explanation
The ToolTipText property provides a small pop-up box with descriptive text when the user hovers the mouse pointer over a control.
Q.13 The —- is shown under or below the Project Explorer window?
Properties Window
Project Explorer
Menu bar
None of these
Explanation
In the standard Visual Basic IDE layout, the Properties Window is typically positioned directly below the Project Explorer window.
Q.14 Extension of Active Server Page is?
.htm
.server
.asp
None of these
Explanation
Active Server Pages (ASP) use the ‘.asp’ file extension for server-side scripted web pages.
Q.15 SDI Means?
Single Document input
Single Document interface
system document interface
None of these
Explanation
SDI (Single Document Interface) is a type of user interface where each window handles only one document or task, as opposed to MDI (Multiple Document Interface).