Unit 3 Python TEST

Flashcard
•
Computers
•
11th - 12th Grade
•
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)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
CMP128 Java Ch. 04 Loops Pt. 2

Flashcard
•
University
20 questions
CodeHS Python Unit 3 Flashcard Review

Flashcard
•
9th - 12th Grade
15 questions
CSP Unit 5 Pre-Assessment: Lists, Loops, Traversals

Flashcard
•
11th - 12th Grade
10 questions
Ôn tập chủ đề F

Flashcard
•
KG
12 questions
Topic 1 C++ Programming

Flashcard
•
12th Grade
18 questions
Python Basics Review

Flashcard
•
10th Grade
13 questions
Python variables, expressions, and data types

Flashcard
•
9th - 12th Grade
13 questions
Python - Unit Test 2

Flashcard
•
9th Grade - University
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade