Lists

Lists

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

list in python

list in python

10th - 12th Grade

15 Qs

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

AP CSP Unit 6

AP CSP Unit 6

10th - 12th Grade

20 Qs

Sorting Algorithms

Sorting Algorithms

12th Grade

20 Qs

Python 3

Python 3

6th - 12th Grade

20 Qs

ôn tập if - for - ds

ôn tập if - for - ds

10th Grade

11 Qs

Python Lists

Python Lists

11th Grade

20 Qs

3B - AP CSP

3B - AP CSP

9th - 12th Grade

20 Qs

Lists

Lists

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jeff Simmons

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can NOT be used on both strings and lists?

in

index

count

remove

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The slice is using default values

shopping_list2 is a copy of shopping_list1

If we change shopping_list2 it will not change shopping_list1

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations will create a new list?

len(list)

list.sort()

list1 + list2

random.shuffle(list)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these situations would require a sorted list?

Displaying a list of items in a restaurant menu

Calculating an average with a group of test scores

Printing the top 10 highest-grossing movies in order

Keeping track of sprites drawn at different heights on the screen

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The list of weekdays will end up empty

The list `week` will ONLY include "Sat" and "Sun"

The list of `weekdays` will include "Sat" and "Sun"

"Sat" and "Sun" will each be added twice to the `week` list

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?