Program Development - Python: Lists

Program Development - Python: Lists

8th - 10th Grade

22 Qs

quiz-placeholder

Similar activities

kiểm tra tin 8

kiểm tra tin 8

8th Grade

20 Qs

Tech Trivia, Part III

Tech Trivia, Part III

7th - 12th Grade

20 Qs

ptscod

ptscod

8th Grade

20 Qs

Yr 11 ICT quiz 1 Networks & Security

Yr 11 ICT quiz 1 Networks & Security

10th - 11th Grade

20 Qs

KJD X

KJD X

10th Grade

20 Qs

RALAT SINTAKS

RALAT SINTAKS

3rd - 9th Grade

20 Qs

ตอบปัญหาCoding ม.ปลาย

ตอบปัญหาCoding ม.ปลาย

9th - 12th Grade

20 Qs

Grade 10 TLE ICT Final Unit Test 1

Grade 10 TLE ICT Final Unit Test 1

10th Grade

20 Qs

Program Development - Python: Lists

Program Development - Python: Lists

Assessment

Quiz

Computers

8th - 10th Grade

Medium

Used 66+ 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers