WorksheetsComputing Starters
Total questions: 22
Worksheet time: 11mins
How many times does the loop work?
10
15
20
25
How many times has the choice variable been used?
1
2
3
4
Which construct has bee used in the program?
Selection
Iteration
Sequencing
Displaying
Which comparison operator has been used?
Greater Than
Less Than
Equal To
Not equal too
Is the sub routine a procedure or a function?
Procedure
Function
What is a global variable
Variable that can only be used in the procedure / function its contained in?
Variable that can be used throughout the rest of the world
Variable that can be used anywhere within the program
Variable that can be used in any program
Does the Procedure have any arguments?
Yes
No
Which programming contruct, does the attached image represent?
Sequence
Selection
Iteration/Loop
Which programming contruct, does the attached image represent?
Sequence
Selection
Iteration/Loop
Which programming contruct, does the attached image represent?
Sequence
Selection
Iteration/Loop
Sequence is the order in which instructions occur and are processed
True
False
This code uses:
Sequence
Selection
Iteration
This code uses:
Sequence
Selection
Iteration
This code uses:
Sequence
Selection
Iteration
This code uses:
Sequence
Selection
Iteration
This code uses:
Sequence
Selection
Iteration
This code uses:
Sequence
Selection
Iteration
What type of programming construct is if...elif...else
Iteration
Sequence
Counting loop
Conditional loop
Selection
Which are the variables in this code?
num
count
i
range
What will this Python code output if you enter 3 when you see the ">>> Enter a number" prompt?
3 * 2
33
6
Syntax error
In Python, which key word would you use at the start of a conditional loop?
while
if
iteration
for
What key word would you use in Python to start a selection?
for
if
while
