Python List and If/Elif
Quiz
•
Computers, Mathematics, Education, Instructional Technology
•
7th Grade
•
Practice Problem
•
Medium
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which brackets are used to create Lists?
()
{}
[]
Answer explanation
Lists are created using square brackets and have commas separating the different data values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Spot the error in this program:
friends = Alice", "Bob","Liz"]
friends =
"Bob",
"Liz"]
Alice"
Answer explanation
friends = ["Alice", "Bob","Liz"]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Variable
Takes and input from a user.
Represents a particular value held in the memory.
Displays the results.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is String in Python?
Decimal numbers.
Whole numbers only
A sequence of characters. they can be letters, numbers, symbols, punctuation marks or spaces.
T/F
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is this the correct code for a list?
register = {"Sam", "Pheobe", Georgia", Richard"}
Yes
No
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of “grape” in the list
[“apple”, “grape”, “orange”, “watermelon”]?
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the position of the name "Robert" in the following list:
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Direct Variation
Quiz
•
7th Grade - University
25 questions
Unit 6: Test Practice
Quiz
•
7th - 8th Grade
25 questions
MATH - GRADE 8 - OBEDIENCE
Quiz
•
7th - 8th Grade
25 questions
AMC 8 2020 Drill 8 (2K13)
Quiz
•
6th - 8th Grade
25 questions
112-2 直角坐標平面
Quiz
•
7th Grade
25 questions
Spanish Final
Quiz
•
6th - 8th Grade
25 questions
6th Grade OST PREP
Quiz
•
6th Grade - University
25 questions
Midterm Review-Rational Numbers
Quiz
•
7th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
