CodeHS Python Unit 3 Review

CodeHS Python Unit 3 Review

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Bai Tap Bai 18 Tin hoc 10

Bai Tap Bai 18 Tin hoc 10

10th Grade

10 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Tin học 7

Tin học 7

7th Grade

15 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

CodeHS Python Unit 3 Review

CodeHS Python Unit 3 Review

Assessment

Quiz

Computers

7th - 12th Grade

Practice Problem

Medium

Created by

Elizabeth Houston

Used 31+ times

FREE Resource

About this resource

This quiz focuses on fundamental Python programming concepts, specifically covering basic syntax, data types, operators, and program execution. The content is appropriate for grades 9-12, representing an introductory computer science course where students are learning their first programming language. The questions assess core programming knowledge including print statement syntax, variable data types (strings, integers, floats), order of operations in mathematical expressions, modulo operations, exponentiation operators, and the purpose of code comments. Students need to understand how Python interprets different data types, particularly the distinction between numeric and string data, and how the input() function always returns string data regardless of what the user enters. They must also grasp operator precedence, the difference between concatenation and arithmetic operations, and recognize syntax errors that occur when attempting incompatible operations like adding integers to strings. Created by Elizabeth Houston, a Computers teacher in TW who teaches grades 7-12. This quiz serves as an excellent review tool for students completing their third unit of Python programming study, helping reinforce essential programming fundamentals before advancing to more complex topics. Teachers can effectively use this assessment as a formative evaluation to identify knowledge gaps, as homework to reinforce classroom learning, or as a warm-up activity to review previous concepts before introducing new material. The quiz format makes it ideal for quick comprehension checks and can help students build confidence with basic Python syntax and concepts. This assessment aligns with computer science standards including CSTA K-12 Computer Science Standards 3A-AP-13 (creating programs incorporating learned concepts) and 3A-AP-14 (observing intellectual property rights), as students demonstrate understanding of fundamental programming constructs and proper coding practices.

See more

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python code segment will display “Hello, world!” on the screen?

"Hello, world!"

print "Hello, world!"

print("Hello, world!")

display Hello, world!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python code display?

print("Hello")

print("World")

HelloWorld

Hello

World

Hello World

"Hello"

"World"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type is the following variable?

x = "Hi there"

boolean

integer

float

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python program print?

x = "I am"

y = 6

z = "feet tall"

print(x)

print(y)

print(z)

I am6feet tall

I am 6 feet tall

I am

6

feet tall

x

y

z

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of the variable x in the following Python program?

x = input("Enter a number from 1-10: ")

integer

float

string

The type cannot be determined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python program print?

x = 9 + 6 / 3 * 2 - 1

print(x)

12

9

14

20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators is used for exponentiation (exponents) in Python?

^

(( ))

**

%

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?