Search Header Logo

Creating and Altering Data Structure

Authored by Adam Dennison

Computers

9th - 12th Grade

Used 53+ times

Creating and Altering Data Structure
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following data structures is immutable?

Tuple

List

Dictionary

2d List

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does this program print?

[48, 56, 64, 65, [60, 61, 62]]

[48, 56, 60, 61, 62, 64, 65]

[48, 56, 64, 65, 60, 61, 62]

The program will error.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

How many times does this program print That's a large class!?

0

1

4

6

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What would the following program print to the screen when run?

Media Image
Media Image
Media Image

700donB

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Given the following list:my_list = ["s", "Z", "e", "c", "c", "e", "r", "h", "e", "p", "t"]which program below would give the following output:

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which values entered into ‘my_list’ would print a value of ‘-1’ after the program has run?

5, -10, 6

-10, -5, 6

-5, 10, 6

-5, 0, 10, 6

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following programs would produce the following output:

1. honey 2. bread 3. jelly 4. plates

Media Image
Media Image
Media Image
Media Image

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?