
Module 1 - Introduction to Python
Authored by Shandy Roque
Instructional Technology
Professional Development
Used 2+ times

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 BLANKS QUESTION
1 min • 1 pt
fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]
How do you access the "orange"?
(a)
4.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]
print(fruit_list[2:5])
The output will be...
(a)
5.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
fruit_list = ["apple", "banana", "cherry", "orange", "kiwi", "melon", "mango"]
print(fruit_list[:4])
(a)
6.
FILL IN THE BLANKS 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?
(a)
7.
FILL IN THE BLANKS 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?
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?