Welcome To CSE Study247 , Today I am provide you VISUAL BASIC 6.0 MCQ-3. That is very useful for Computer Science Students.
Q.1 RDO Stands for
A)
Remote data open
B)
Remote data object
C)
Remote direct object
D)
None of these
Discuss it
Explanation
RDO stands for Remote Data Object, which is a legacy COM interface used to access data in remote databases, specifically designed for SQL Server and Oracle.
View Solution
Q.2 An object data type can store
A)
1 byte
B)
2 byte
C)
4 byte
D)
8 byte
Discuss it
Explanation
In programming environments like Visual Basic 6.0, an object variable is stored as a 4-byte address that refers to the actual object.
View Solution
Q.3 The ---- is one of the most important controls as it is used to execute commands.
A)
command button
B)
radio
C)
Label
D)
None of these
Discuss it
Explanation
The Command Button is a fundamental UI control used to initiate an action or execute a block of code when clicked.
View Solution
Q.4 The most common event associated with the command button is the ------ event
A)
Click
B)
Double click
C)
Change
D)
None of these
Discuss it
Explanation
The Click event is the primary event for a command button, triggered when the user presses and releases the button.
View Solution
Q.5 The is one of the controls that is used to handle graphics
A)
Picture Box
B)
Combo
C)
Label
D)
None of these
Discuss it
Explanation
A Picture Box control is specifically designed to display images and can also serve as a container for other controls.
View Solution
Q.6 In Picture box You can also load the picture at runtime using the ---- method.
A)
Picture Box
B)
Load Picture
C)
Resize
D)
None of these
Discuss it
Explanation
The LoadPicture function is used to load a graphic file (such as .bmp or .jpg) into a PictureBox control during the execution of the program.
View Solution
Q.7 The variables that Does not change the value during execution of program is
A)
Numeric
B)
String
C)
Constant
D)
None of these
Discuss it
Explanation
A Constant is a meaningful name that takes the place of a number or string that does not change throughout the life of the program.
View Solution
Q.8 The function procedure are _____ by default,
A)
Public
B)
Protected
C)
Private
D)
None of these
Discuss it
Explanation
In Visual Basic, procedures (Sub and Function) are Public by default, meaning they can be accessed from any other part of the project.
View Solution
Q.9 ADO Stands for
A)
Active data object
B)
Active x data object
C)
Active x data open
D)
None of these
Discuss it
Explanation
ADO stands for ActiveX Data Objects, which is a Microsoft technology that allows developers to access data from various sources.
View Solution
Q.10 By default the textbox control can hold text as
A)
Multiple Lines
B)
Password Character
C)
Single Lines
D)
None of these
Discuss it
Explanation
By default, a TextBox control is set to display a single line of text unless the MultiLine property is manually changed to True.
View Solution
Q.11 The variable can be a declared by _ statement.
A)
dim
B)
var
C)
$
D)
None of these
Discuss it
Explanation
In Visual Basic and ASP, the 'Dim' (short for Dimension) statement is used to declare variables and allocate storage space.
View Solution
Q.12 Following are the arithmetic operator.
A)
mod
C)
>
D)
None of these
Discuss it
Explanation
The 'Mod' operator is an arithmetic operator that divides two numbers and returns only the remainder.
View Solution
”Q.13
A)
”OR”
B)
”and”
C)
”>=”
D)
”None
View Solution
Q.14 Following are the logical operator
A)
+
B)
or
C)
/
D)
None of these
Discuss it
Explanation
The 'or' operator is a logical operator used to perform a logical disjunction between two boolean expressions.
View Solution
Q.15 IIS is a _____
A)
Markup Language
B)
Web server
C)
Operating system
D)
Scripting Language
Discuss it
Explanation
IIS stands for Internet Information Services, which is a web server software created by Microsoft for use with the Windows NT family.
View Solution
Q.16 We can preserve the value of a local variable by making the variable ____
A)
Private
B)
Public
C)
Static
D)
Implicit
Discuss it
Explanation
A 'Static' variable remains in memory and retains its value even after the procedure in which it was declared has finished.
View Solution
Q.17 Object is a
A)
Instances of object
B)
Instances of class
C)
Both A & B
D)
None of these
Discuss it
Explanation
An object is a specific instance of a class, containing the properties and methods defined by that class.
View Solution
Q.18 HTML Stands for
A)
Hyper text markup language
B)
High text markup language
C)
Hyper text markdown language
D)
None of these
Discuss it
Explanation
HTML stands for HyperText Markup Language, the standard language used to create and design documents on the World Wide Web.
View Solution
Q.19 ------ do not return a value.
A)
Sub procedure
B)
Function procedure
C)
Property procedure
D)
None of these
Discuss it
Explanation
A Sub procedure performs a task but does not return a value to the calling code, whereas a Function does return a value.
View Solution
Q.20 ------ is used to take decision.
A)
While loop
B)
if condition
C)
for loop
D)
None of these
Discuss it
Explanation
The 'if...then' statement is a decision-making structure that executes code only if a specific condition is met.
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