Font size
WorksheetsVisualBasic Level 3
Total questions: 23
Worksheet time: 13mins
How would you declare a 'Age' variable ?
DECLARE Age as decimal
DIM Age as integer
DIM age as decimal
DECLARE Age as integer
What is the output of this flowchart if the time is 6:30 a.m?
Take subway and reach school.
Take bus and reach school.
Take subway, get the bus and reach school.
It can hold whole numbers or Fractional numbers.
(a)
Which of the following is a valid name for a variable?
Two_One
2One
Two One
Two.One
Which of the following is a relational operator that means “Less than or Equal to”?
<=
>=
<>
=<
________________ can accept input from the user.
Label Box
Picture Box
Command Box
Text Box
The Len( ) function returns the Length of a word/string.
TRUE
FALSE
If score >= 25 or score < 10 Then .... would be true for the following values of score. (Select All that applies)
10
25
26
11
-10
______________ is the control which we click to perform some action.
Button
Label Box
Text Box
Picture Box
……….. is like a container/storage which holds a number or string.
A. Variable
B. Event
C. Constant
D. Datatype
What is selection?
Selecting a random variable in python
Also called a decision, one of the three basic logic structures in programming. If statements
Iteration, repeating a line of code within a loop
Casting
What does the ' allow you to do?
Repeat code
Comment on code
Print code
End code
A binary variable, having two possible values called “true” and “false.”.
String
Integer
Float
Boolean
It is traditionally a sequence of characters, either as a literal constant or as some kind of variable.
Integer
Float
Dim
String
