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?