Search Header Logo

Rajski-List review

Authored by Ronald Rajski

Instructional Technology

9th Grade

Used 4+ times

Rajski-List review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

list=["apple", "cherry", "banana", "mango"]

print(list[-1])

apple

cherry

banana

mango

Answer explanation

-1 produces the last element of a list.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

list1 =[2,4,6,8,10]

Do the Math=

list1[2] * list1[4]

32

8

60

20

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

list=["apple", "cherry", "banana", "mango"]

print(list[1])

apple

cherry

banana

mango

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

list1 =[2,4,6,8,10]

Do the Math=

list1[1] + list1[-1]

0

12

14

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Print the second item in the fruits list.

fruits = ["apple", "banana", "cherry"]

print(fruits[2])

print(fruits[-1])

print(fruits[0])

print(fruits[1])

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A list uses the following brackets:

< >

[ ]

{ }

( )

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Change the value from "apple" to "kiwi", in the fruits list.

fruits = ["apple", "banana", "cherry"]

fruits[2] = "kiwi"

fruits[1] = "kiwi"

fruits[-1] = "kiwi"

fruits[0] = "kiwi"

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?

Discover more resources for Instructional Technology