

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
6 questions
MAC 2 | Lesson 5-7 | Wrap it Up
Presentation
•
KG
10 questions
Parallel Structure
Presentation
•
9th - 10th Grade
7 questions
ICT 10 3RD QUARTER REVIEW
Presentation
•
10th Grade
10 questions
Introduction to Rotations
Presentation
•
8th - 10th Grade
10 questions
Slope given a Graph
Presentation
•
9th Grade
9 questions
Q3 WEEK 2 DAY 2-3 CSS
Presentation
•
9th Grade
9 questions
Semicolons
Presentation
•
8th - 9th Grade
10 questions
Thesis Statements
Presentation
•
9th - 10th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
10 questions
Fire Prevention
Quiz
•
9th - 12th Grade
24 questions
BIOLOGY STAAR REVIEW
Quiz
•
9th Grade
50 questions
STAAR English 2 Review
Quiz
•
10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
30 questions
English 1 STAAR Review
Quiz
•
9th Grade
46 questions
Linear and Exponential Function Key Features
Quiz
•
9th Grade