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
Similar Resources on Wayground
50 questions
Civics District Test #3 Review 2.8 2.9 1.8 3.3

Flashcard
•
7th Grade
36 questions
Introduction to Python programming

Flashcard
•
6th - 8th Grade
53 questions
Programming (Python) Final

Flashcard
•
9th Grade
41 questions
Unit 5: Control Structures Review

Flashcard
•
9th Grade
42 questions
Author's purpose - Informational Text & Features

Flashcard
•
7th Grade
48 questions
PMA Quarter 2 Review 24

Flashcard
•
7th Grade
40 questions
Digital Citizenship Post-test

Flashcard
•
6th - 8th Grade
50 questions
CIVICS PMA 2 REVIEW- Time to Blast Off!

Flashcard
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
10 questions
Networking Devices and Their Functions

Interactive video
•
5th - 8th Grade
20 questions
Binary Numbers Quiz

Quiz
•
6th - 8th Grade