

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
7 questions
Ice Breaker: What would it be, what would you be?
Presentation
•
10th Grade
8 questions
Chapter 1: Robot Year 6
Presentation
•
10th Grade
6 questions
ΜΗΧΑΝΕΣ ΑΝΑΖΗΤΗΣΗΣ - ΠΩΣ ΛΕΙΤΟΥΡΓΟΥΝ
Presentation
•
10th Grade
9 questions
MATERI II : Integrasi Konten Aplikasi Perkantoran
Presentation
•
9th Grade
8 questions
HTTP and its History
Presentation
•
9th Grade
9 questions
Year 10 ICT Effects of ICT
Presentation
•
10th Grade
8 questions
Semicolons
Presentation
•
10th Grade
8 questions
Chapter 9-Creating Presentations
Presentation
•
10th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade