Unit 3 Python TEST
Quiz
•
Computers
•
11th - 12th Grade
•
Practice Problem
•
Medium
Tywania Griffin
Used 180+ times
FREE Resource
About this resource
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.
See more
Enhance your content in a minute
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)
Create a free account and access millions of resources
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
0 questions
Functions Quiz
Quiz
•
0 questions
Function Notation and Evaluating Functions
Quiz
•
0 questions
Week 15, Friday Daily Review Quizizz
Quiz
•
0 questions
Functions and Notation Quiz
Quiz
•
0 questions
Function and Function Notation
Quiz
•
0 questions
Algebra 1 Semester TEST (December 2018)
Quiz
•
0 questions
College Alg Chapter 2 Intro
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
