
Python List and If/Elif
Computers, Mathematics, Education, Instructional Technology
7th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
27 questions
G1. Mid-term II Revision
Quiz
•
1st Grade - University
25 questions
Ch. 9 Fraction Review
Quiz
•
KG - University
25 questions
solving problems multiplying polynomials C8
Quiz
•
7th Grade
25 questions
SUMMATIVE ASSESSMENT 3.1
Quiz
•
6th - 8th Grade
25 questions
Grouped Frequency, Histogram, Frequency Polygon Review
Quiz
•
7th Grade
25 questions
Computer 7 First Quarter Exam - Remedial
Quiz
•
7th Grade
27 questions
Analyzing Dot Plots
Quiz
•
6th - 7th Grade
30 questions
TIN 8_ĐỀ CƯƠNG GIỮA KỲ 2 2022
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade