For and While Loops in Python

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

28 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
26 questions
Python Functions Review Flashcard

Flashcard
•
9th - 12th Grade
21 questions
Java Loops

Flashcard
•
KG
21 questions
C.P. - Flashcard #2 - Review

Flashcard
•
9th - 12th Grade
22 questions
Unit 9 Flashcard 1

Flashcard
•
9th - 12th Grade
22 questions
Unit 9 Flashcard 1

Flashcard
•
9th - 12th Grade
20 questions
CodeHS Python Unit 3 Flashcard Review

Flashcard
•
9th - 12th Grade
16 questions
For and While Loops in Python

Flashcard
•
9th - 12th Grade
23 questions
Python - Conditional Statements

Flashcard
•
9th - 11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade