Python List and If/Elif
Quiz
•
Computers, Mathematics, Education, Instructional Technology
•
7th Grade
•
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Math Slope
Quiz
•
7th - 9th Grade
25 questions
PTS Kelas 7
Quiz
•
7th Grade
25 questions
Math Quiz on Tables and Properties
Quiz
•
3rd Grade - University
25 questions
Go Math Module 7 Review Inequalities
Quiz
•
6th - 8th Grade
25 questions
The Internet & the WWW - Review
Quiz
•
6th - 8th Grade
30 questions
Python
Quiz
•
6th - 8th Grade
25 questions
Final Exam Prep
Quiz
•
7th - 9th Grade
25 questions
Fun Quiz
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
