CS8 - 3rd SW - ZLGA - CodeHS Basic Python
Flashcard
•
Computers
•
8th Grade
•
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
50 questions
Unit-5 Chemical Reactions (G-7) Flashcards
Flashcard
•
7th Grade
52 questions
Socialization Concepts
Flashcard
•
9th Grade
37 questions
Grade 11 CAT
Flashcard
•
11th Grade
33 questions
School and Subject
Flashcard
•
7th Grade
35 questions
Time Management Strategies
Flashcard
•
10th Grade
50 questions
English-Vietnamese Flashcards
Flashcard
•
9th - 12th Grade
49 questions
REVIEWER FOR PREFINALS in MATHEMATICS 8
Flashcard
•
8th Grade
38 questions
Vocabulary Flashcards
Flashcard
•
7th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade