Search Header Logo

Quick LIsts Recap

Authored by Dave Gwilt

Computers

8th Grade

Used 66+ times

Quick LIsts Recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be printed?

x = [3, 4, 7, 9]

print( x[1] )

3

4

7

9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be printed?

x = [3, 4, 7, 9]

x.pop(3)

print( x )

[4, 7, 9]

[3, 7, 9]

[3, 4, 9]

[3, 4, 7]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be printed?

x = [3, 4, 7]

x.append(1)

print( x )

[1, 3, 4, 7]

[3, 4, 7, 1]

[31, 41, 71]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be printed?

x = [3, 4, 7]

x.append(1)

x.sort()

print( x )

[1, 3, 4, 7]

[3, 4, 7, 1]

[31, 41, 71]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the missing word so that [ 4, 6, 8, 10 ] is printed?

x = [2, 4, 6, 8, 10]

x.____(2)

print(x)

pop

remove

append

sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the missing word so that [ 2, 4, 8, 10 ] is printed?

x = [2, 4, 6, 8, 10]

x.____(2)

print(x)

pop

remove

append

sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the missing word so that [ 2, 4, 6, 8, 10 ] is printed?

x = [2, 4, 6, 8]

x.____(10)

print(x)

pop

remove

append

sort

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?