
Unit 3 Python TEST
Authored by Tywania Griffin
Computers
11th - 12th Grade
Used 180+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
About
This Python unit test covers fundamental programming concepts essential for introductory computer science at the high school level, specifically grades 11-12. The quiz comprehensively assesses students' understanding of Python's core data types (integers, floats, and strings), arithmetic operations including order of operations and exponentiation, variable declaration and naming conventions, type conversion functions, and input/output operations. Students must demonstrate mastery of string concatenation, mathematical operators, the distinction between binary and unary operators, proper use of print statements, and debugging skills to identify syntax and runtime errors. The questions require students to trace through code execution, predict program output, and understand type coercion between strings and numeric types—all fundamental skills for computational thinking and programming logic. Created by Tywania Griffin, a Computers teacher in US who teaches grade 11-12. This assessment serves multiple instructional purposes, functioning effectively as a unit summative test, formative assessment tool, or review exercise for students mastering Python fundamentals. Teachers can deploy this quiz for end-of-unit evaluation, homework assignments, or warm-up activities to gauge student comprehension before advancing to more complex programming concepts like conditionals and loops. The varied question formats—from expression evaluation to error identification—provide comprehensive feedback on student understanding and help identify specific areas needing reinforcement. This quiz aligns with computer science education standards focusing on programming fundamentals, including CSTA K-12 Computer Science Standards 3A-AP-13 (creating prototypes), 3A-AP-14 (using lists and iteration), and 3A-DA-12 (creating computational models), ensuring students build the foundational programming skills necessary for advanced computer science coursework.
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the final result of the expression 4 + 5 * 3?
27
12
21
19
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the final result of the expression 7 / 2 + 6?
0
9.5
9
0.875
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the print statement below that will cause an error. Assume that num has the value 6, and name has the value Isabella.
print(name + “:” )
print(num)
print(name + ” wants ” + “num ” + “candies”)
print(name + “: ” + str(num))
print(name + “: ” + num)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the statements below will cause an error?
ans = “hi” * 8
ans = “hi” + 9
ans = “hi” + “hi” + “hi”
ans = (“a” * 4) + “b”
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following program print?
a = "hi"
b = 4
c = a * b
print(class(c))
<class 'str'>
<class 'int'>
<class 'float'>
The program crashes and doesn’t print anything.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose you have a variable defined a = "4". What is the variable type of a?
str
int
float
number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the option that correctly prints out the variable(s).
x = "codehs"
print(int(x))
num = 8
print("num")
name = "Alyx"
age = 32
print(name + "is " + age)
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
17 questions
Cuestionario de Certificación JS 2024
Quiz
•
12th Grade
18 questions
Hardware/Software
Quiz
•
9th Grade - University
20 questions
PAS AKM Informatika Fase E-Semester 1
Quiz
•
11th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
20 questions
Тривимірна графіка. Основи роботи в Blender
Quiz
•
12th Grade
15 questions
Javascript Quiz 2
Quiz
•
11th Grade
20 questions
Computer parts
Quiz
•
1st - 12th Grade
15 questions
QUIZZ ACCURATE V5 KELAS XI AKL
Quiz
•
9th - 12th 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