colors = ["red", "orange", "yellow", "green", "blue", "indigo", "violet"]
Choose the answer that will output True.
Module 1 - Introduction to Python
Quiz
•
Instructional Technology
•
Professional Development
•
Hard
Shandy Roque
Used 2+ times
FREE Resource
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?
11 questions
Exploring Python For Loops
Quiz
•
Professional Development
9 questions
Photo rights
Quiz
•
Professional Development
14 questions
Evaluación Bimestral- 4to. Bach.
Quiz
•
4th Grade - Professio...
10 questions
.NET & Angular - Test
Quiz
•
Professional Development
10 questions
Google Classroom for Students_Quiz
Quiz
•
Professional Development
10 questions
Câu hỏi kiến thức về sorted(), reverse, reversed(), enumerate()
Quiz
•
Professional Development
10 questions
Summer Fun Quiz for Teachers
Quiz
•
Professional Development
14 questions
Inglês
Quiz
•
Professional Development
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade