wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

AQA GCSE Computer Science - 3.2.2 Programming Concepts

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.
Which is not a type of iteration?
a)
IF...ENDIF Loop
b)
REPEAT...UNTIL Loop
c)
WHILE...ENDWHILE Loop
d)
FOR...ENDFOR Loop
2.
What kind of iteration are WHILE...ENDWHILE loops?
a)
Indefinite
b)
Definite
c)
Categorical
d)
Uncategorical
3.
In pseudocode, what symbol is used when assigning a value to a variable?
a)
An arrow
b)
An equals sign
c)
Two equals signs
d)
A dash
4.
What is robust code?
a)
Code that will not crash from an unexpected user input
b)
code that is secure and cannot be hacked
c)
code that does not contain any errors
d)
code that can continue running all the time 
5.
What is one main benefit of having a constant variable?
a)
Only one line of code needs to be changed when changing the value of the constant
b)
constants never cause an error
c)
constants are in use for the entire time the code is being run
d)
constants make code run smoother 
6.
When does a WHILE...ENDWHILE loop end? 
a)
When the loop condition becomes false
b)
Once the target has been met
c)
Once the loop has been performed a set amount of times
d)
Once the program has finished running 
7.
What is concatenation?
a)
The joining of two strings
b)
the addition of two integers
c)
the declaring of a variable
d)
the changing of a value assigned to a variable 
8.
What is an iterative statement?
a)
A statement that repeats something
b)
A statement that chooses something
c)
A statement that does a function
d)
A statement that takes an input
9.
In pseudocode, what do you use to write something to the user? 
a)
OUTPUT
b)
print()
c)
ECHO
d)
WRITE
10.
How many types of iteration in pseudocode are there? 
a)
3
b)
2
c)
4
d)
5
11.
What is a nested loop?
a)
A loop within a loop
b)
Multiple loops in the same program
c)
A definite loop
d)
An indefinite loop
12.
When does a FOR...ENDFOR loop end? 
a)
When the loop has happened a set number of times
b)
When a condition is true
c)
When a condition becomes false
d)
When the program ends
13.
What data structure does an indefinite loop require to stop working? 
a)
Boolean
b)
Integer
c)
String
d)
Float
14.
Which is an example of an array?
a)
[1, 2, 3]
b)
list (1,23)
c)
4
d)
true
15.
Which of these is a definite iteration?
a)
FOR…ENDFOR Loop
b)
WHILE…ENDWHILE Loop
c)
REPEAT…UNTIL Loop
d)
IF…ENDIF Loop
16.
When is the REPEAT...UNTIL loop tested? 
a)
At the end of the loop
b)
At the start of the loop
c)
In the middle of the loop
d)
It doesn't get tested
17.
When is the WHILE...ENDWHILE loop tested?
a)
At the start of the loop
b)
At the end of the loop
c)
In the middle of the loop
d)
It doesn't get tested
18.
What is the process that involves removing unnecessary details from a problem in order to solve it?
a)
Abstraction
b)
Filtration
c)
Decomplication
d)
Decomposition
19.
Which of the following is the most efficient?
a)
Insertion Sort
b)
Bubble Sort
c)
Merge Sort
d)
Fast Sort
20.
Which of the following is the most efficient?
a)
Binary Search
b)
Linear Search
c)
Jump Search
d)
Fibonacci Search