NEW
Font size
Worksheets8525 AQA GCSE 3.1.1 Pseudo-code
Total questions: 14
Worksheet time: 14mins
It should not use any specific programming language
In pseudo-code, what does the keyword IF represent?
To provide a response if a statement is not met
To provide a response if a statement is met
A loop with a condition set at the start
Used in a question as part of the decision process
In pseudo-code, what does the keyword ELSE represent?
To provide a response if a statement is not met
To provide a response if a statement is met
A loop with a condition set at the start
Used in a question as part of the decision process
In pseudo-code, what does the keyword OUTPUT represent?
Used to create a counting loop
To display a response on screen to the user
A loop with a condition set at the start
Requires an entry from the user in response to a question
In pseudo-code, what does the keyword WHILE represent?
To provide a response if a statement is not met
To provide a response if a statement is met
A loop with a condition set at the start
Used in a question as part of the decision process
In pseudo-code, what does the keyword INPUT represent?
Used to create a counting loop
To display a response on screen to the user
A loop with a condition set at the start
Requires an entry from the user in response to a question
In pseudo-code, what does the keyword FOR represent?
Used to create a counting loop
To display a response on screen to the user
A loop with a condition set at the start
Requires an entry from the user in response to a question
What will be the output of the following Pseudo code?
int p=4, q=7, r=10
p = q mod r
q = q + p
r = r + q
print p, q and r
7 14 24
7 11 17
7 14 21
4 11 17
Predict the output of the following pseudo code?
integer a = 2, b = 50
a = a + b
b = a - b
print a
print b
-2 52
2 50
52 2
52 -48
In pseudo-code, what will the keyword ENDWHILE be used for?
To mark the end of a selection sub-section of the algorithm.
To mark the end of a conditional iteration sub-section of the algorithm.
To mark the end of a counting iteration sub-section of the algorithm.
To mark the end of a user input sub-section of the algorithm.
Which symbol is used to represent a comment in AQA pseudo-code?
//
?
#
*
Which symbol is used to represent assignment in AQA Pseudo-code?
←
<
/
→
What does emboldened pseudo-code represent?
Incorrect words
Keywords/operators
Ordinary words
Algorithm statements
Which number will AQA Pseudo-code start with for indexing of arrays and strings?
0
1
