Creating & Altering Data Structures module review (Module 8)

Creating & Altering Data Structures module review (Module 8)

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

tuple

2.

FLASHCARD QUESTION

Front

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

Back

list

3.

FLASHCARD QUESTION

Front

Which of the following is a true statement?
Options:
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.

Back

Lists are mutable, but tuples are not.

4.

FLASHCARD QUESTION

Front

Which of these lines of code will cause an error if sizes = (12, 12, 14, 10)? Options: 1, 2, 3, 4, 5

Back

3

5.

FLASHCARD QUESTION

Front

What is printed by the following code? Options: azbzc, azbzcz, zabc, abcz

Back

azbzc

6.

FLASHCARD QUESTION

Front

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

Back

4

7.

FLASHCARD QUESTION

Front

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

Back

4

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?