
list
Authored by Ms.Haseeba Computer
Computers
11th Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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]
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?