Search Header Logo

CodeHS Python Unit 8 Review

Authored by Katy Fleming

Business

9th - 12th Grade

Used 50+ times

CodeHS Python Unit 8 Review
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

5 mins • 1 pt

Which of the following data structures is immutable?

Tuple

List

Dictionary

2D List

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What does this program print?

[48, 56, 64, 65, [60, 61, 62]]

[48, 56, 60, 61, 62, 64, 65]

[48, 56, 64, 65, 60, 61, 62]

The program will error.

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

How many times does this program print "That's a large class!?"

0

1

4

6

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

What would the following program print to the screen when run?

7

0

0

d

n

o

B

0

0

7

B

o

n

d

B

o

n

d

0

0

7

700donB

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Given the following list:

my_list = ["s", "Z", "e", "c", "c", "e", "r", "h", "e", "p", "t"]

which program below would give the following output:

s

e

c

r

e

t

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Which values entered into ‘my_list’ would print a value of ‘-1’ after the program has run?

5, -10, 6

-10, -5, 6

-5, 10, 6

-5, 0, 10, 6

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following programs would produce the following output:

1. honey

2. bread

3. jelly

4. plates

Media Image
Media Image
Media Image
Media Image

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?