Unit 3 Python TEST
Flashcard
•
Computers
•
11th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the final result of the expression 4 + 5 * 3?
Back
19
2.
FLASHCARD QUESTION
Front
What is the final result of the expression 7 / 2 + 6?
Back
9.5
3.
FLASHCARD QUESTION
Front
Choose the print statement below that will cause an error. Assume that num has the value 6, and name has the value Isabella.
Options:
print(name + “:” )
print(num)
print(name + ” wants ” + “num ” + “candies”)
print(name + “: ” + str(num))
print(name + “: ” + num)
Back
print(name + “: ” + num)
4.
FLASHCARD QUESTION
Front
Which one of the statements below will cause an error? ans = “hi” * 8, ans = “hi” + 9, ans = “hi” + “hi” + “hi”, ans = (“a” * 4) + “b”
Back
ans = “hi” + 9
5.
FLASHCARD QUESTION
Front
What does the following program print?
a = "hi"
b = 4
c = a * b
print(class(c))
Back
6.
FLASHCARD QUESTION
Front
Suppose you have a variable defined a = "4". What is the variable type of a?
Back
str
7.
FLASHCARD QUESTION
Front
Choose the option that correctly prints out the variable(s). Options: x = "codehs" print(int(x)), num = 8 print("num"), name = "Alyx" age = 32 print(name + "is " + age), language = "Python" print("I'm learning " + language)
Back
language = "Python" print("I'm learning " + language)
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
15 questions
Small Talk in Business Contexts
Flashcard
•
KG - University
15 questions
cars
Flashcard
•
KG - University
13 questions
Types and Components of Computer Systems
Flashcard
•
9th - 12th Grade
12 questions
Hazard Profiles and Tectonic Hazards Flashcard
Flashcard
•
11th Grade - University
13 questions
Money
Flashcard
•
9th - 12th Grade
15 questions
Basics of Computer Networks
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