NEW
Font size
S
M
L
XL
WorksheetsNocti Computer Programming Review
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
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
2.
What data type would this information be?
a)
Decimal
b)
Currency
c)
Integer
d)
Number
3.
What data type would this information be?
a)
Boolean
b)
String
c)
Integer
d)
Decimal
4.
What data type would this information be?
a)
Boolean
b)
String
c)
Integer
d)
Decimal
5.
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
6.
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
7.
All tools on your form should be named appropriately?
a)
True
b)
False
8.
Visual Basic Studios is an example of _______________________ programming?
a)
Object-oriented
b)
Natural language
c)
Operands
d)
Procedural
9.
Which of the following is a relational operator that means “Less than or Equal to”?
a)
<=
b)
>=
c)
<>
d)
=<
10.
Classify the data type that must be held in each variable.
INT - for integer
DOUBLE - for double
STRING - for string
Q: LOCKER NUMBER
a)
DOUBLE
b)
STRING
c)
INT
Reset
