The program above
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
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 Quizizz
15 questions
CodeHS 3.1 Boolean Expressions-4.2 For Loops Review

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

Flashcard
•
9th - 12th Grade
13 questions
AP Performance Task Rubric Review

Flashcard
•
9th - 12th Grade
11 questions
Sphero Block Coding

Flashcard
•
KG - 12th Grade
15 questions
Arduino Lesson 3: IF and IF-ELSE

Flashcard
•
9th - 12th Grade
11 questions
Intro to Python Unit 6: Test Review

Flashcard
•
9th - 12th Grade
9 questions
Unit 4 Lesson 1 While Loops

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

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University