Search Header Logo

CodeHS Python Conditionals Quiz Reveiw

Authored by Katy Fleming

Computers

9th - 12th Grade

Used 1+ times

CodeHS Python Conditionals Quiz Reveiw
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will print to the screen when the following program is run?

  1. 5

  1. True

  1. <class ‘int’>

  1. <class ‘bool’>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program?

  1. 0

5

True

Nothing will print

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this program print?

Must be yellow

Must be blue
I like purple
Blue is the best

Must be blue

Blue is the best

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following program print when run?

Issue Driver’s License

Almost eligible for Driver’s License

No requirements met

Nothing will print

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this program print?

You are below average height

You are above average height

You are average height

You are below average height
You are above average height

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you round the number held in the variable pi to 3.14?

pi = 3.14159265

  1. round(pi)

  1. round(pi, 3)

  1. round(3, pi)

  1. round(pi, 2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of this program?

0

5

True

Nothing will print

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?