Creating and Altering Data Structure

Creating and Altering Data Structure

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

PYTHON PROGRAMMING

PYTHON PROGRAMMING

11th - 12th Grade

15 Qs

Unit 9 Test Review

Unit 9 Test Review

9th - 12th Grade

10 Qs

Python Functions

Python Functions

12th Grade

15 Qs

Python Lists

Python Lists

11th Grade

20 Qs

list in python

list in python

10th - 12th Grade

15 Qs

Creating and Altering Data Structure

Creating and Altering Data Structure

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Adam Dennison

Used 38+ times

FREE Resource

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

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?