wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Event Driven VB

Total questions: 14

Worksheet time: 9mins

Name
Class
Date
1.

More than one radio button in a set can be selected at a time.

a)

FALSE

b)

TRUE

2.

Comments affect the way an application runs.

a)

FALSE

b)

TRUE

3.

The visual basic control that allows users to enter a value is a:

a)

Textbox

b)

Label

c)

Button

d)

GroupBox

4.
Which While statement is equivalent to Until num < 100? 
a)
(A)  While num <= 100 
b)
(B) While num > 100 
c)
(c) While num >= 100 
d)
(d) (A)  There is no equivalent While statement. 
5.

______________ is the control which we click to perform some action.

a)

Command Button

b)

Label Box

c)

Text Box

d)

Picture Box

6.
What would be the best name for this control? 
a)
Textbox1.text
b)
Textbox
c)
Name
d)
NameTxtbox
7.
What is a variable? 
a)
A value that can change depending on the conditions or information passed through the program
b)
The label of a control
c)
An IF statement
d)
None of these answers
8.
How would you declare a variable for the age of someone? 
a)
DECLARE Age as decimal
b)
DIM Age as integer
c)
DIM Age as decimal
d)
DECLARE Age as integer
9.
A………. displays a list of items from which user can select one or more items  
a)
A. Combo box
b)
B. List box
c)
C. Check box
d)
D.  Scroll bar
10.
. ………….. Combines the features of the text box and list box   
a)
A. Picture box 
b)
B. Check box
c)
C. Option button
d)
D. Combo box 
11.

A check box allows you to...

a)

Select one or more answers

b)

Select only one answer

c)

Select at least 2 answers

12.

Where can you change the text colour of a label?

a)

Control Box

b)

Tool Box

c)

Properties Box

d)

Windows Box

13.

What is the correct way to make a group box visible in code?

a)

groupbox.text = Visible

b)

groupbox.visible = True

c)

groupbox.invisible = false

d)

groupbox.visible.true

14.

Which of these is not an advantage of a group box?

a)

It allows you to re-position all controls inside it.

b)

You can make all controls inside the groupbox invisible

c)

You can use two or more groups of radio buttons by embedding each group in a separate groupbox

d)

It will automatically change all the control names inside the group box