Python LIST
Quiz
•
Professional Development
•
Professional Development
•
Hard
Vijayakumar R
Used 98+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of Following code?
List = ['spam', 2.0, 5, [10, 20]]
print(List[2])
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of Following code?
cheeses = ['Cheddar', 'Edam', 'Gouda']
numbers = [42, 123]
print(cheeses, numbers)
['Cheddar', 'Edam', 'Gouda'] [42, 123]
[42, 123] ['Cheddar', 'Edam', 'Gouda']
Compilation Error
No output
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is output of the following Code (Execute in Intrepreter)
cheeses = ['Cheddar', 'Edam', 'Gouda']
'Edam' in cheeses
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, list is mutable
True
False
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following commands will create a list?
list1 = list()
list1 = []
list1 = list([1, 2, 3])
list1 = new List()
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the following code?
list = [1,2,3,4,5,6,7,8,9,10]
print(list[1:2])
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the following code?
list = [1,2,3,4,5,6,7,8,9,10]
print(list[2:1])
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
15 questions
PreTest Day 3 Raker PTO, COP, Adm SVC (CSSD)
Quiz
•
Professional Development
15 questions
PELAYANAN PUBLIK LATSAR CPNS BULUKUMBA
Quiz
•
Professional Development
10 questions
Gerenciamiento Exámen 1.2
Quiz
•
Professional Development
10 questions
IBEX A-ISB
Quiz
•
Professional Development
15 questions
Classroom Assessment
Quiz
•
Professional Development
10 questions
PRODUCTIVITY
Quiz
•
Professional Development
15 questions
Resume & CV Recap
Quiz
•
Professional Development
10 questions
ADMINISTRATIVE MANAGEMENT THEORY
Quiz
•
Professional Development
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
