For and While Loops in Python

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

16 questions
Show all answers
1.
FLASHCARD QUESTION
Front
The program above
Back
prints all the odd numbers between 1 and 20
2.
FLASHCARD QUESTION
Front
The equivalent of the above for loop using the while syntax would be
Back
3.
FLASHCARD QUESTION
Front
The above program prints
Back
Numbers 1 to 10 in reverse order
4.
FLASHCARD QUESTION
Front
Look at the following code, what will it generate? Options: 1,2,3,4,5,6,7,8,9,10,11,12, 0,1,2,3,4,5,6,7,8,9,10,11,12, 1,2,3,4,5,6,7,8,9,10,11,12,13, 0,1,2,3,4,5,6,7,8,9,10,11,12,13
Back
0,1,2,3,4,5,6,7,8,9,10,11,12
5.
FLASHCARD QUESTION
Front
Back
6.
FLASHCARD QUESTION
Front
What best describes what is printed by the following code? Options: Prints the numbers 0 through 6, Prints h e l l o w, Prints the phrase "hello world!" 7 times, Prints "hello w" 7 times
Back
Prints the numbers 0 through 6
7.
FLASHCARD QUESTION
Front
What best describes what is printed by the following code? Options: Prints the numbers 0 through 6, Prints h e l l o w, Prints the phrase "hello world!" 7 times, Prints "hello w" 7 times
Back
Prints the phrase "hello world!" 7 times
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Flashcard Review

Flashcard
•
9th Grade - University
16 questions
Loops Flashcard

Flashcard
•
9th - 12th Grade
13 questions
Loops in JavaScript

Flashcard
•
9th - 12th Grade
9 questions
Reading and Writing Files with Python Intro

Flashcard
•
9th - 12th Grade
10 questions
CODEHS Looping Unit 5 Review

Flashcard
•
9th - 12th Grade
12 questions
BJC AP CSP Unit 3 Exam Review (In-Class)

Flashcard
•
9th - 12th Grade
15 questions
Java - Flow of Control Flashcard

Flashcard
•
9th - 12th Grade
15 questions
Flashcard Review

Flashcard
•
9th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade