Module review--Data Structures (Module 9)

Module review--Data Structures (Module 9)

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What kind of data structure is info in the following declaration? Options: Tuple, Dictionary, List, 2D list

Media Image

Back

Dictionary

2.

FLASHCARD QUESTION

Front

What kind of data structure is info in the following declaration? Options: Tuple, Dictionary, List, 2D list

Media Image

Back

List

3.

FLASHCARD QUESTION

Front

What is the output of this program? Options: 2, 4, 6, 8, 10, 12; 2, 8, 4, 10, 6, 12; 2, 4, 6; 2, 8

Media Image

Back

2, 4, 6, 8, 10, 12

4.

FLASHCARD QUESTION

Front

Which of the following code blocks will create this 2D list?

Media Image

Back

Media Image

5.

FLASHCARD QUESTION

Front

What will the value of my_list after the following code is executed?

Media Image

Back

Media Image

6.

FLASHCARD QUESTION

Front

Which of the following list comprehensions will create the same list as the for loop below?

Media Image

Back

Media Image

7.

FLASHCARD QUESTION

Front

What does “packing” refer to in Python?

Back

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

Create a free account and access millions of resources

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?