grade XI Recapitulation

grade XI Recapitulation

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Lists

Python Lists

9th - 12th Grade

15 Qs

Python - lists,loops,basics

Python - lists,loops,basics

9th - 11th Grade

20 Qs

نادي البرمجة ضواحي القدس م4

نادي البرمجة ضواحي القدس م4

5th - 11th Grade

13 Qs

Python Lists

Python Lists

11th Grade

20 Qs

list in python

list in python

12th Grade

20 Qs

Strings, Lists & Tuples

Strings, Lists & Tuples

9th - 12th Grade

20 Qs

Python Lists

Python Lists

10th - 12th Grade

15 Qs

Lists In Python_1

Lists In Python_1

9th Grade - University

15 Qs

grade XI Recapitulation

grade XI Recapitulation

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

Bhoomika Anand

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the index number for 'Spain'?

['England','Brazil','Spain','France']

0

1

2

3

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which code would i use to add an item to a list?

variable.add()

variable.append()

append.variable()

add.variable()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What sort of loop is this?

Count Controlled

Condition Controlled

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the program below?


mariana_islands = ['Guam', 'Saipan', 'Tinian', 'Rota']

cmni = mariana_islands[1:]

len(cmni)

1

2

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would this code do?

Remove the name "Felipe" from the list

Remove the first copy of "John" from the list

Remove the name "Felipe" from the list and print it out to the shell

An error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. A list is ------------------------------ data type

sequence

selection

iteration

None of hese

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?