

Nested Loops
Presentation
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Medium
Timothy Dickinson
Used 39+ times
FREE Resource
2 Slides • 8 Questions
1
Computer Science
Nested Loops

2
Multiple Choice
What is a loop called when it sits inside another loop?
Double loop
Child loop
Nested loop
Underling loop
3
Multiple Choice
True or False?
"Only FOR loops can be nested"
True
False
4
WHILE loops can be nested too!
...and not just loops can be nested! Think about IF statements!
5
Multiple Choice
In what order does code process information if it has a nested loop under another loop?
- The first loop iterates until it's finished
- The nested loop iterates once
- The first loop repeats itself and iterates until finished
- The nested loop once more
- The first loop iterates once
- The nested loop iterates until it's finished
- The first loop iterates once more
- The nested loop repeats itself and iterates until finished
- The first loop iterates once
- The nested loop iterates once
- The first loop repeats once more
- The nested loop once once more
- The first loop iterates until it's finished
- The nested loop iterates until it's finished
- Code finishes
6
Multiple Choice
<- What does this code do:
It will print:
one 1 on row 1
one 2 on row 2
one 3 on row 3
one 4 on row 4
It will print:
four 1s on row 1
three 2s on row 2
two 3s on row 3
one 4 on row 4
It will print:
four 1s on row 1
four 2s on row 2
four 3s on row 3
four 4s on row 4
It will print:
one 1 on row 1
two 2s on row 2
three 3s on row 3
four 4s on row 4
7
Multiple Select
Which of these are correct?
8
Multiple Choice
What does end="" do?
It appendeds printed items sit on the same line
It makes all printed data types go on their own lines
It does nothing. It's an error
It finishes the code
9
Multiple Select
<- What is this code missing?
Line 1
Missing colon
Line 2
Missing 'for'
Line 3
Missing equals sign
Line 3
Missing colon
10
Multiple Choice
True or False?
"If a list that has lists inside it, each item in those lists count as a single iteration"
True
False
Computer Science
Nested Loops

Show answer
Auto Play
Slide 1 / 10
SLIDE
Similar Resources on Wayground
8 questions
Generations of Computers
Presentation
•
10th Grade
6 questions
Media & Multimedia
Presentation
•
10th - 11th Grade
10 questions
Inscribed Angles (Quadrilaterals)
Presentation
•
10th Grade
9 questions
If/Unless - Zero, First and Second Conditional
Presentation
•
9th Grade
9 questions
Writing in Standard Form
Presentation
•
9th Grade
10 questions
Plant Tissue
Presentation
•
9th - 10th Grade
9 questions
Notions sur les graphes
Presentation
•
KG
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade