Tip

Tap
a student's name
below to see what they need help with
Quizalize logo
placeholder image to represent content

Nested Selection & Iteration

Quiz by GCSE Computer Science Teacher 4

GCSE (AQA)
Computer Science
English National Curriculum

Feel free to use or edit the questions

includes Teacher and Student dashboards

Measures 1 skill from
GCSE (AQA)
Computer Science
English National Curriculum
3.2.2.c
Use nested selection and nested iteration structures.

Track each student's skills and progress in your Mastery dashboards

Q 1/10
Score 0
What is meant by nested selection?
60
One selection below another selection statement, which increases the conditions
One iteration below another iteration, another which increases the conditions
One iteration within another iteration, which increases the conditions
One selection within another selection statement, which increases the conditions

10 questions

Q.What is meant by nested selection?
1
60 sec
3.2.2.c
Q.What is meant by nested iteration?
2
60 sec
3.2.2.c
Q.What is this program is doing?
3
60 sec
3.2.2.c
Q.Which is the correct code for a nested loop to show all the times table?
4
60 sec
3.2.2.c
Q.Why do we need separate variables for i and j? FOR i <-- 1 TO 10 FOR j <-- 1 to 10 OUTPUT j * i ENDFOR ENDFOR
5
30 sec
3.2.2.c
Q.What code will add two values together for every number from 1 to 10?
6
120 sec
3.2.2.c
Q.What code has created a nested iteration to check whether the user still wants to play the game, and whether they have inputted their name with at least one character?
7
120 sec
3.2.2.c
Q.Which program will check if someone is less than 18 and if they're, check whether they're a child or teenager?
8
120 sec
3.2.2.c
Q.Why do you need to be careful using nested selection or iteration?
9
60 sec
3.2.2.c
Q.How many times in total will hello be output?
10
60 sec
3.2.2.c

Give this quiz to my class