MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Visual Basic
Quiz 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
………. is a collection of Objects
A. Class
B. Group
C. Project
D. Form
Q.2
………… method is used to delete items from a list box.
A. Remove
B. Clear
C. Remove item
D. Delete
Q.3
To repeat the statement again and again we use …….
A. for Loop
B. if
C. if else
D. else if
Q.4
……….. is an action recognized by a form or the control.
A. Property
B. Method
C. Event
D. Procedure
Q.5
A ………. is a tool you use to create objects on a Visual Basic form.
A. Control
B. Object
C. Event
D. Property
Q.6
An ………..is a type of user interface element you create on a Visual Basic form by using a toolbox control.
A. Control
B. Object
C. Event
D. Property
Q.7
……….. is a meaningful name that takes the place of a number or string.
A. Variable
B. Event
C. Constant
D. Datatype
Q.8
The body of a for…Next loop in Visual Basic will terminate once the condition is false.
TRUE
FALSE
Q.9
When you press the button load event will trigger.
TRUE
FALSE
Q.10
TextBox is used to take input and edit the text.
TRUE
FALSE
Q.11
Using RadioButton you can select multiple options.
TRUE
FALSE
Q.12
THIS PROGRAM WILL GIVE OUTPUT AS Dim i, n, m As Single i = Val(TextBox1.Text) n = Val(TextBox2.Text) For m = i To n Dim a As Integer a = i * m ListBox1.Items.Add(i & "*" & m & "=" & a) Next End Sub End Class
multiplication table
prime or not
factors of given number
sum of n numbers
Q.13
Visual Basic is a tool that allows you to develop application in…………
A. Real time
B. Graphical User Interface
C. Menu Driven
D. None Of These
Q.14
. ………….. Combines the features of the text box and list box
A. Picture box
B. Check box
C. Option button
D. Combo box
Q.15
………… is an example for control
A. Toolbox
B. Event
C. Method
D. Code editor
Q.16
A Boolean datatype can store……….bytes.
A. 2 byte
B. 4 byte
C. 6 byte
D. 8 byte
Q.17
Classify the data type that must be held in each variable.INT - for integerDOUBLE - for doubleSTRING - for stringQ: LOCKER NUMBER
DOUBLE
STRING
INT
Q.18
What data type would you use to return a value of true or false?
String
Integer
Real
Boolean
Q.19
This is a blank form that shows automatically when starting a Visual Basic program.
Menu Bar
Toolbox
Properties window
Windows form object
Q.20
Which of the following is a relational operator that means “Less than or Equal to”?
<=
>=
<>
=<
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page