9.6.1 Extending Data Structures Quiz

9.6.1 Extending Data Structures Quiz

Assessment

Quiz

Mathematics

9th - 12th Grade

Medium

CCSS
HSF.IF.A.1, HSF.IF.A.2, HSF.BF.A.1

+1

Standards-aligned

Created by

Tommy Rankin

Used 357+ times

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

coffee = "kona"

tea = "mango"

smoothie = "raspberry"

coffee = "raspberry"

tea = "mango"

smoothie = "kona"

coffee = "kona"

tea = "kona"

smoothie = "kona"

coffee = ["kona", "mango", "raspberry"]

tea = ["kona", "mango", "raspberry"]

smoothie = ["kona", "mango", "raspberry"]

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

I only

II only

Both I and II

Neither I nor II

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does “packing” refer to in Python?

Creating a list

Initializing variables using values from a list

Storing multiple variables’ values by putting them in a collection, like a list or tuple

Cramming as many commands as possible onto a single line

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

red = "RED"

blue = "BLUE"

green = "GREEN"

red = "BLUE"

blue = "GREEN"

green = "RED"

red = ["BLUE", "GREEN", "RED"]

blue = ["BLUE", "GREEN", "RED"]

green = ["BLUE", "GREEN", "RED"]

red = "BLUE"

blue = "BLUE"

green = "BLUE"

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

board = [1, 2, 3] + [4, 5, 6] + [7, 8, 9]

board = [1, 2, 3]

board.append([4, 5, 6])

board.append([7, 8, 9])

board = [1, 2, 3, 4, 5, 6, 7, 8, 9]

board = []

board.append([1, 2, 3])

board.append([4, 5, 6])

board.append([7, 8, 9])

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

print(my_list[1])

print(my_list[1:2])

print(my_list[1][2])

print(my_list[2][3])

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does “unpacking” refer to in Python?

Creating a list

Initializing multiple variables at a time using a collection of values

Storing multiple variables’ values by putting them in a collection, like a list or tuple

Cramming as many commands as possible onto a single line

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?