Lists

Lists

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

TJBL XI TKJ

TJBL XI TKJ

11th Grade

20 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Clase de Computación: Excel

Clase de Computación: Excel

11th Grade

12 Qs

Pengenalan Aplikasi Blender

Pengenalan Aplikasi Blender

11th Grade

13 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Lists

Lists

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Jeff Simmons

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?