Python List Quiz_10

Python List Quiz_10

11th Grade

50 Qs

quiz-placeholder

Similar activities

APCSP BJC Unit 5

APCSP BJC Unit 5

10th - 12th Grade

47 Qs

AP CSP Data Unit 5

AP CSP Data Unit 5

10th - 12th Grade

47 Qs

Jaringan Komputer

Jaringan Komputer

11th Grade

50 Qs

Computer Science Multiple Choice Review

Computer Science Multiple Choice Review

9th - 12th Grade

50 Qs

Yr11

Yr11

11th Grade

50 Qs

AP CSP Vocab Part 1

AP CSP Vocab Part 1

11th Grade

52 Qs

PLTW CSE Essentials Review

PLTW CSE Essentials Review

8th - 12th Grade

50 Qs

Code.org CSP Unit 5 Test Review

Code.org CSP Unit 5 Test Review

10th - 12th Grade

47 Qs

Python List Quiz_10

Python List Quiz_10

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Sajna Bhavi

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python syntax creates an empty list?

[]

()

{}

""

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the list fruits = ["apple", "banana", "cherry"], how do you access the first item?

fruits[1]

fruits[0]

fruits[2]

fruits[-1]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method adds an item to the end of a list?

append()

insert()

extend()

push()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you determine the number of items in a list?

len(list)

count(list)

size(list)

length(list)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will fruits[1:3] return when fruits = ["apple", "banana", "cherry", "date"]?

["banana", "cherry"]

["apple", "banana"]

["banana", "cherry", "date"]

["cherry", "date"]

6.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you remove an item from a specific index in a list?

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given fruits = ["apple", "banana", "cherry"], which command adds "orange" at the second position?

fruits.append("orange")

fruits.insert(1, "orange")

fruits[1] = "orange"

fruits.extend(["orange"])

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?