CS8 - 3rd SW - ZLGA - CodeHS Basic Python
Flashcard
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

50 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Please answer the question in the image: Options: A, B, C, D
Back
C
2.
FLASHCARD QUESTION
Front
An infinite loop is :A loop runs infinite times when the condition-------------.
Back
never fails
3.
FLASHCARD QUESTION
Front
In programming, what is iteration/looping?
Back
The repetition of steps within a program
4.
FLASHCARD QUESTION
Front
How many times does the following program print the word ‘computer’:
word= "computer"
for num in range(1,6):
print(word)
Back
5
5.
FLASHCARD QUESTION
Front
Which of the following for loops would print the following numbers?
3
5
7
9
Options:
for i in range(3, 10, 2):
print(i)
for i in range(3, 9, 2):
print(i)
for i in range(9):
print(i)
for i in range(3,9):
print(i)
Back
for i in range(3, 10, 2):
print(i)
6.
FLASHCARD QUESTION
Front
Three of the for loops below will provide identical values for i. Which for loop will provide values that do not match the others?
Options: for i in range(0, 5):, for i in range(5):, for i in range(0, 5, 1):, for i in range(5, 0, 1):
Back
for i in range(5, 0, 1):
7.
FLASHCARD QUESTION
Front
What would be the output of the following code (assuming correct indentions):
for i in range(3):
print(5)
Back
5 5 5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
39 questions
Baroque Music Review
Flashcard
•
9th Grade
38 questions
Matter Review
Flashcard
•
9th Grade
49 questions
Science Exploration for Grade 8
Flashcard
•
8th Grade
43 questions
SEZIONI E ASSONOMETRIE
Flashcard
•
9th Grade
40 questions
Countryside Vocabulary
Flashcard
•
8th Grade
50 questions
sfgjnfjdfgtlereviewerfndfjksdgns
Flashcard
•
KG
40 questions
Clothing Vocabulary in German
Flashcard
•
6th - 8th Grade
38 questions
Spanish-English Vocabulary and Phrases
Flashcard
•
9th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade