NEW
Font size
S
M
L
XL
WorksheetsProgramming
Total questions: 10
Worksheet time: 8mins
Name
Class
Date
1.
What is the variable name?
'Dim Name as String'
'Dim Name as String'
a)
Name
b)
String
c)
Dim
d)
As
2.
What is a selection construct?
a)
A type of Loop
b)
A name for a variable
c)
A type of programming
d)
Programming that gives you a choice
3.
An IF statement can have IF statements inside of it
a)
True
b)
False
4.
What is the Data Type
Dim Age As String
Dim Age As String
a)
Age
b)
String
5.
An ___ is a type of Selection Statement
a)
Do Until
b)
Loop
c)
IF
d)
Variable
6.
A ____ is a memory address that can hold information
a)
Integer
b)
Double
c)
String
d)
Variable
7.
A _____ can hold letters and number
a)
Integer
b)
String
8.
A DO WHILE loop will
a)
Loop around once
b)
ALWAYS runs the first iteration of the loop before checking the condition, loops until the condition is met
c)
Keep looping until the false condition is met
d)
Save Variables
9.
What needs to go in to check the age is more than 5
IF ______ Then
Console.Writeline ("You are older than 5")
IF ______ Then
Console.Writeline ("You are older than 5")
a)
Age > 5
b)
Age < 5
c)
Age is more than 5
d)
Age = 5
10.
What is the correct way to start a Case statement about someones age
a)
End Select
b)
Case Statement Age
c)
Select Case Age
d)
Select Statement Age
Reset
