Creating & Altering Data Structures module review (Module 8)

Creating & Altering Data Structures module review (Module 8)

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Python-Checkpoint revision

Python-Checkpoint revision

9th - 12th Grade

21 Qs

Chapter 12 - Think Python - Understanding Tuples and Iterators

Chapter 12 - Think Python - Understanding Tuples and Iterators

9th Grade

15 Qs

List Operations Review

List Operations Review

11th Grade

20 Qs

DBMS

DBMS

12th Grade

20 Qs

Class 12 revision for PT1

Class 12 revision for PT1

12th Grade

20 Qs

Computer Science Tuples

Computer Science Tuples

11th - 12th Grade

15 Qs

computer science

computer science

11th Grade

13 Qs

CodeHS U8 L

CodeHS U8 L

10th - 12th Grade

12 Qs

Creating & Altering Data Structures module review (Module 8)

Creating & Altering Data Structures module review (Module 8)

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Brendan Aydt

Used 101+ times

FREE Resource

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

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?