Lists review (Python)
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
ALBERTO HILARIO
Used 14+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code
8
13
It gives an error
6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What line of code will generate an error?
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this code?
5
6
7
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of this code?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these examples show the correct way to write a list?
fruit = apple, banana, pear, cherry
fruit=['apple','banana','pear','cherry']
fruit = ('apple', 'banana', 'pear', 'cherry')
fruit=['apple'+'banana'+'pear'+'cherry']
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variables does this list contain?
OneD = ['Niall','Zayn','Liam','Harry','Louis']
Integer
Float
String
Boolean
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands will print all the items of this list:
fruits = ["apple", "banana", "pear", "strawberry"]
print(fruit)
print(fruits)
print("fruits")
print[fruits]
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
9 questions
Rounding Numbers in Python
Quiz
•
University
10 questions
Quiz-AIML
Quiz
•
University
10 questions
Post Test #4 - Python Fundamental #3
Quiz
•
University
10 questions
DL Refresher
Quiz
•
KG - Professional Dev...
13 questions
SAS PG2 - Reading Raw Data Files
Quiz
•
University
10 questions
Data Analytics using Python - Quiz 1
Quiz
•
University
10 questions
Post Test #3 - Python Fundamental #2
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
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
