list

Quiz
•
Computers
•
11th Grade
•
Medium
Ms.Haseeba Computer
Used 13+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following program:
list1 = ["python", "list", 1952, 2323, 432]
print(list1[1:4])
["python","list",1952,2323]
[1952,2323,432]
["list",1952,2323]
["list",1952,2323,432]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following program:
list1 = ["python", "list", 1952, 2323, 432]
print(list1[-5])
list
1952
432
python
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following code-
a,b=[3,1,2],[5,4,6]
print(a+b)
[3,1,2]+[5,4,6]
(3,1,2,5,4,6)
[3,1,2,5,4,6]
[54,6,3,1,2]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following code-
list1=[1, 3, 2]
list1 * 2
[1,3,2][1,3,2]
[1,3,2]*2
[1,3,2,1,3,2]
( [1,3,2] )([1,3,2])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
theList=[1, 2, [1.1, 2.2]]
print(len(theList))
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following program:
data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]
print(data[1][0][0])
2
5
1
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following program:
a=[2,3]
a.append(7)
print(a))
(2,3)
[2,7]
[2,3,7]
[7,2,3]
Similar Resources on Wayground
12 questions
Python Loops

Quiz
•
9th - 11th Grade
12 questions
Python list starter

Quiz
•
10th Grade - University
11 questions
Cascading Style Sheets

Quiz
•
8th - 12th Grade
9 questions
class11 dict ,list and loops

Quiz
•
11th Grade
10 questions
Python List Functions Quiz

Quiz
•
11th Grade
5 questions
challenge-1

Quiz
•
11th Grade
10 questions
list quizes

Quiz
•
11th Grade - University
9 questions
065. Extra Help

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade