NEW
Font size
S
M
L
XL
WorksheetsVisual Basic Basics!
Total questions: 8
Worksheet time: 4mins
Name
Class
Date
1.
Which of these names would be most appropriate for a button that allows the user to submit the answer?
a)
Answer
b)
Button1
c)
SubmitBttn
d)
Button1.text
2.
What would be the best name for this control?
a)
Textbox1.text
b)
Textbox
c)
Name
d)
NameTxtbox
3.
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
4.
What data type would this information be?
a)
Decimal
b)
Currency
c)
Integer
d)
Number
5.
What data type would this information be?
a)
Boolean
b)
String
c)
Integer
d)
Decimal
6.
What data type would this information be?
a)
Boolean
b)
String
c)
Integer
d)
Decimal
7.
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
8.
How would you make the variable "Surname" equal to the information that they have put in the SurnameTxtbox?
a)
Dim Surname as string = SurnameTextbox
b)
Declare "Surname" as string = SurnameTextbox
c)
Dim SurnameTxtbox as string = Surname
d)
Dim Surname as string = SurnameTextbox.text
Reset
