Program Development - Python: Lists

Program Development - Python: Lists

8th - 10th Grade

22 Qs

quiz-placeholder

Similar activities

Componentes de una computadora

Componentes de una computadora

6th - 8th Grade

20 Qs

TIK VII YT, GC, VIDCOF

TIK VII YT, GC, VIDCOF

7th - 12th Grade

20 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

CPA Revision MCQ1

CPA Revision MCQ1

8th - 9th Grade

20 Qs

New Scratch

New Scratch

6th - 8th Grade

20 Qs

El Computador

El Computador

5th - 11th Grade

20 Qs

Informatika

Informatika

10th Grade

20 Qs

Program Development - Python: Lists

Program Development - Python: Lists

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Hard

Used 67+ times

FREE Resource

AI

Enhance your content in a minute

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

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What letter will be printed on the screen after running this code:

e
x
t
Nothing prints

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the position of the name "Robert" in the following list:

0
1
2
3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the following code, "city" is an example of a what?

List
Loop
Variable
Array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each item in a list has an "address" or index. The first index in a Python list is what?

0
1
a
A

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

['France', 'Wales', 'England']
France
['France', 'Wales', 'England']
Wales
France, Wales, England
Wales
France  Wales  England
France

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

['France', 'Wales', 'England']
Ireland
['France', 'Ireland', 'England']
['France', 'Ireland', 'Wales', 'England']
['Ireland', 'Wales', 'England']

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a list called "players", if you wanted to add a player called "Bob" to the list, which of the following examples of code would be correct?

players.add("Bob")
player.append("Bob")
players.append("Bob")
players.addend("Bob")

Create a free account and access millions of resources

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?