WorksheetsNested Loops and Coding Adventure Quiz
Total questions: 15
Worksheet time: 8mins
Name
Class
Date
1.
What is a nested loop?
a)
A loop that runs only once
b)
A loop that breaks immediately
c)
A loop inside another loop
d)
A loop that skips iterations
2.
In the presentation's analogy, nested loops are compared to what?
a)
Stacking chairs
b)
Building blocks with smaller blocks inside
c)
Sorting numbers
d)
Drawing concentric circles
3.
What special action can the Crocodile character perform in this lesson?
a)
Collect bananas
b)
Move forward
c)
Turn or turnTo
d)
Jump
4.
When using a nested 'for' loop, how many times is the inner loop executed?
a)
Randomly
b)
Never
c)
Fully over and over again
d)
Once per outer loop iteration
5.
What is the primary purpose of nested loops in this lesson?
a)
To search every room on every floor
b)
To stop program execution
c)
To create complex animations
d)
To generate random numbers
6.
In the game described, how many crocodiles were used?
a)
Five
b)
Four
c)
Two
d)
Three
7.
What objects were part of Mr. Sonam's game?
a)
Planets, Stars
b)
Computers, Keyboards
c)
Monkey, Crocodiles, Bananas, Islands, Raft
d)
Cars, Trees, Boats
8.
What coding concept is the primary focus of this lesson?
a)
Nested loops
b)
Conditional statements
c)
Array manipulation
d)
Simple loops
9.
What challenge range was mentioned in the first slide?
a)
80-85
b)
70-75
c)
60-65
d)
50-55
10.
How does a nested loop typically work?
a)
Loops alternate execution
b)
Outer loop runs inside inner loop
c)
Both loops run simultaneously
d)
Inner loop runs once per outer loop iteration
11.
What platform were students asked to use for Activity 2?
a)
CodeMonkey
b)
Scratch
c)
JavaScript Console
d)
Python IDE
12.
What was the goal of using crocodiles in the lesson?
a)
To count numbers
b)
To catch fish
c)
To race
d)
To form a bridge on water
13.
In the lesson's example, what was the monkey trying to collect?
a)
Bananas
b)
Oranges
c)
Apples
d)
Coconuts
14.
What specific challenges were students asked to complete in Activity 2?
a)
Challenges 70-80
b)
Challenges 1-5
c)
Challenges 72 & 75
d)
Challenges 71-75
15.
What does the inner loop do in a nested loop structure?
a)
Runs completely for each iteration of the outer loop
b)
Skips iterations
c)
Stops the outer loop
d)
Modifies the outer loop
100 %
