Lists

Lists

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Python List Basics

Python List Basics

12th Grade

14 Qs

Python - List and Tuples

Python - List and Tuples

11th - 12th Grade

20 Qs

List Manipulations

List Manipulations

11th Grade

20 Qs

Strategi Algoritmik dan Pemrograman - Informatika XI

Strategi Algoritmik dan Pemrograman - Informatika XI

11th Grade

15 Qs

Javascript Lists Lecture Knowledge Check

Javascript Lists Lecture Knowledge Check

9th - 12th Grade

11 Qs

Python list starter

Python list starter

10th Grade - University

12 Qs

Computer Science LISTS

Computer Science LISTS

12th Grade

18 Qs

Kuis Python 1

Kuis Python 1

11th Grade

15 Qs

Lists

Lists

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jeff Simmons

Used 2+ 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?