grade XI Recapitulation

grade XI Recapitulation

11th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

list in python

list in python

10th - 12th Grade

15 Qs

Objectives test

Objectives test

10th - 11th Grade

12 Qs

Python Data Structures

Python Data Structures

8th - 12th Grade

10 Qs

Python retrieval

Python retrieval

11th Grade

16 Qs

Python Lists

Python Lists

11th Grade

20 Qs

Lists In Python_1

Lists In Python_1

9th Grade - University

15 Qs

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

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

5th - 11th Grade

13 Qs

Python Review

Python Review

9th - 12th Grade

16 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?