Search Header Logo

grade XI Recapitulation

Authored by Bhoomika Anand

Computers

11th - 12th Grade

grade XI Recapitulation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?