
Python CSP2 Final
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

128 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
5
2.
FLASHCARD QUESTION
Front
What will the following lines of code print? Options: A, B
C, A
C, Nothing, it will return an error.
Back
A
C
3.
FLASHCARD QUESTION
Front
What are the two main types of loops that we have learned about in Python? Options: IF Function & Variables, FOR and WHILE Loops, Forever and Fixed Loop, Data Types and Numbers
Back
FOR and WHILE Loops
4.
FLASHCARD QUESTION
Front
What type of loop is used when you DO NOT know how many times you want to repeat something?
Back
A WHILE Loop
5.
FLASHCARD QUESTION
Front
What would amount equal in this piece of code:
amount = 2 + 5 * 2
Back
12
6.
FLASHCARD QUESTION
Front
What will be printed after running this FOR loop:
for number in range(6):
print(number)
Back
The numbers 0 - 5
7.
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
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?