Please answer the question in the image: Options: A, B, C, D
CS8 - 3rd SW - ZLGA - CodeHS Basic Python

Flashcard
•
Computers
•
8th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

50 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Similar Resources on Quizizz
50 questions
FC - IGCSE ICT - Chapter 2 - Input and Output Devices

Flashcard
•
8th Grade
44 questions
Wheeler-Google Sheets

Flashcard
•
6th - 8th Grade
47 questions
Europe Geography Physical Features

Flashcard
•
9th Grade
44 questions
DGM 22-23 Semester 1 Quick Review

Flashcard
•
10th Grade
36 questions
Unit 2: Web Development Review

Flashcard
•
9th Grade
45 questions
Python-conditional statement

Flashcard
•
8th Grade
45 questions
APCSP Semester Review

Flashcard
•
8th - 9th Grade
46 questions
FALL MP2 Exam Intro to CS (Coding in Python)

Flashcard
•
7th - 9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade