
ncert Python Lists
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Deepti Gupta
Used 1+ times
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type of a list in Python?
String sequence
Unordered sequence
Ordered sequence
Immutable sequence
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid way to create a list in Python?
list1 = <1, 2, 3>
list1 = {1, 2, 3}
list1 = [1, 2, 3]
list1 = (1, 2, 3)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list named 'list1'?
list1[1]
list1[0]
list1.first()
list1.get(0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of list1 = [1, 2, 3]; list1 + [4, 5]?
[4, 5, 1, 2, 3]
[1, 2, 3, 4, 5, 6]
[1, 2, 3, [4, 5]]
[1, 2, 3, 4, 5]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for concatenating two lists in Python?
/
-
+
*
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'append()' method do in a list?
Removes an element
Sorts the list
Adds an element at a specific index
Adds an element to the end of the list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of list1 = [1, 2, 3]; list1 * 2?
[1, 2, 3, 1, 2, 3]
[2, 4, 6]
[1, 2, 3, 2, 4, 6]
[1, 2, 3, 1, 2]
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
17 questions
ICT Service Solutions 2
Quiz
•
8th - 12th Grade
15 questions
Cuestionario sobre seguridad en línea
Quiz
•
2nd Grade - University
10 questions
E-Tech Lesson 1
Quiz
•
11th Grade
10 questions
TIN 10 - BÀI 4
Quiz
•
10th - 11th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
10 questions
Spoljna memorija - HDD
Quiz
•
9th - 11th 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
