Python List Quiz_10

Python List Quiz_10

11th Grade

•

50 Qs

quiz-placeholder

Similar activities

13S Basic hardware + operating systems

13S Basic hardware + operating systems

9th Grade - University

•

45 Qs

Motherboard Parts Quiz

Motherboard Parts Quiz

11th Grade

•

51 Qs

Java Fundamentals

Java Fundamentals

10th - 12th Grade

•

47 Qs

#2 CIW Data Analyst - Certification Prep

#2 CIW Data Analyst - Certification Prep

9th Grade - University

•

54 Qs

iMedia R093 Mix Up#2

iMedia R093 Mix Up#2

9th - 12th Grade

•

45 Qs

Solon Microsoft Excel Quiz

Solon Microsoft Excel Quiz

9th - 12th Grade

•

50 Qs

Computer Basics

Computer Basics

9th - 12th Grade

•

52 Qs

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

AQA 8525 GCSE CS 3.2.10 Subroutines & 3.2.11 Robust & Secure

10th - 11th Grade

•

50 Qs

Python List Quiz_10

Python List Quiz_10

Assessment

Quiz

•

Computers

•

11th Grade

•

Practice Problem

•

Medium

Created by

Sajna Bhavi

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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"])

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?