Search Header Logo

Module 1 - Introduction to Python

Authored by Shandy Roque

Instructional Technology

Professional Development

Used 2+ times

Module 1 - Introduction to Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

colors = ["red", "orange", "yellow", "green", "blue", "indigo", "violet"]

Choose the answer that will output True.

colors[1] == red

colors[0] == "red"

colors[-1] == "red"

colors[2] == "red"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

colors = ["red", "orange", "yellow", "green", "blue", "indigo", "violet"]

Choose the answer that will output False.

colors[0] == red

colors[-1] == "violet"

len(colors) == 7

len(colors) == 6

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]

How do you access the "orange"?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]

print(fruit_list[2:5])

The output will be...

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]

print(fruit_list[:4])

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]

We need more fruits in the list. Can you please add "strawberry" in the list?

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]

I am allergic to kiwi. Maybe we can just replace this with papaya?

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?