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