CS Python Fundamentals Flashcard 4 Practice
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the best definition of the term initialization?
Back
The process of setting a variable equal to a known value.
2.
FLASHCARD QUESTION
Front
In the following code, what is output?
Options:
1 2 3 4 5 6 7,
1 2 3 4 5 6,
1 3 5 7 9 11,
1 2 3 4 5 6
Back
1 2 3 4 5 6
3.
FLASHCARD QUESTION
Front
In the following code, c would be called a(an) ...
Back
loop control variable
4.
FLASHCARD QUESTION
Front
What would be printed by the following loop? Options: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20, 1 4 7 10 13 16 19, 4 7 10 13 16 19, 4 7 10 13 16 19 22
Back
4 7 10 13 16 19 22
5.
FLASHCARD QUESTION
Front
Which of the following is NOT true about for loops? They frequently use the range function, They allow the user to have control to stop the loop, They are used when you know in advance how many times a loop should run, They can execute multiple lines of indented code
Back
They allow the user to have control to stop the loop
6.
FLASHCARD QUESTION
Front
What is output by the following code?
for x in range(5):
print (x,end="")
Back
0 1 2 3 4
7.
FLASHCARD QUESTION
Front
What is output by the following code?
for x in range(10, 1, -3):
print(x, end=" ")
Back
10 7 4
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
10 questions
Strategies to Avoid Communication Breakdown
Flashcard
•
11th - 12th Grade
5 questions
Science Flashcard Bee (CLINCHER ROUND)
Flashcard
•
7th - 12th Grade
8 questions
PHOTOGRAPHY FINAL PROJECT
Flashcard
•
9th - 12th Grade
6 questions
SQL Views
Flashcard
•
KG - University
10 questions
Marketing Mix - Place and Distribution
Flashcard
•
10th Grade - University
11 questions
Português
Flashcard
•
KG - University
12 questions
DNA Replication and Protein Synthesis
Flashcard
•
9th - 12th Grade
6 questions
Unit 3.8 Market Structure
Flashcard
•
11th 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