Search Header Logo

Creating & Altering Data Structures module review (Module 8)

Authored by Brendan Aydt

Computers

9th - 12th Grade

Used 102+ times

Creating & Altering Data Structures module review (Module 8)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What kind of data structure is "stuff" in the following declaration?

list

string

2d list

tuple

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What kind of data structure is "stuff" in the following declaration?

list

string

2d list

tuple

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a true statement?

Tuples are mutable, but lists are not.

Lists are mutable, but tuples are not.

Lists and tuples are both mutable.

Neither lists nor tuples are mutable.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of these lines of code will cause an error if sizes = (12, 12, 14, 10)?

1

2

3

4

5

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is printed by the following code?

azbzc

azbzcz

zabc

abcz

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of num after the following code is run?

0

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of num after the following code is run?

0

5

error

4

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?