Teachers and Examiners (CBSESkillEduction) collaborated to create the List Manipulation in Python Class 11 MCQs. All the important Information are taken from the NCERT Textbook Computer Science (083) class 11.
List Manipulation in Python Class 11 MCQs
1. The data type list is an ordered sequence which is ________ and made up of one or more elements.
a. Mutable
b. Immutable
c. Both a) and b)
d. None of the above
2. Which statement from the list below will be create a new list?
a. new_l = [1, 2, 3, 4]
b. new_l = list()
c. Both a) and b)
d. None of the above
3. List can content __________.
a. Integer
b. Float
c. String & Tuple
d. All of the above
4. list are enclosed in square ________ and are separated by _________.
a. Brackets and comma
b. Brackets and dot
c. Curli Brackets and dot
d. None of the above
5. List elements may be of the following data types.
a. Different data types
b. Same data types
c. Both a) and b)
d. None of the above
6. In Python, lists are mutable. It means that ________.
a. The contents of the list can be changed after it has been created
b. The contents of the list can’t changed after it has been created
c. The list cannot store the number data type.
d. None of the above
7. What will be the output of the following python code
print(list("Python"))
a. (‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’)
b. [‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’]
c. (“P”, “y”, “t”, “h”, “o”, “n”)
d. [“P”, “y”, “t”, “h”, “o”, “n”]Show Answer ⟶
8. The data type list allows manipulation of its contents through ________.
a. Concatenation
b. Repetition
c. Membership
d. All of the above
9. Python allows us to join two or more lists using __________ operator.
a. Concatenation
b. Repetition
c. Membership
d. All of the above
10. What will be the output of the following python code
new_list = ['P','y','t','h','o','n']
print(len(new_list))
a. 6
b. 7
c. 8
d. 9
11. Example of concatenation operator _______.
a. –
b. +
c. /
d. *
12. If we try to concatenate a list with elements of some other data type, _________ occurs.
a. Runtime Error
b. Type Error
c. Result
d. None of the above
13. Python allows us to replicate a list using repetition operator depicted by symbol _________.
a. –
b. +
c. /
d. *
14. Like strings, the membership operators _________ checks if the element is present in the list and returns True, else returns False.
a. In
b. Out
c. Listin
d. None of the above
15. We can access each element of the list or traverse a list using a _______.
a. For loop
b. While loop
c. Both a) and b)
d. None of the above
16. _________ returns the length of the list passed as the argument.
a. len()
b. length()
c. leth()
d. None of the above
17. ________ creates an empty list if no argument is passed.
a. len()
b. list()
c. append()
d. extend()
18. ________ a single element passed as an argument at the end of the list.
a. append()
b. extend()
c. insert()
d. None of the above
19. Which of the following command is used to add an element in list?
a. new_list.add(5)
b. new_list.added(5)
c. new_list.append(5)
d. All of the above
20. _________ returns the number of times a given element appears in the list.
a. insert()
b. index()
c. count()
d. None of the above
21. _________ returns index of the first occurrence of the element in the list. If the element is not present, ValueError is generated.
a. insert()
b. index()
c. count()
d. None of the above
22. What will be the output of the following python code.
new_list1 = ["Welcome"]
new_list2 = ["to", "my"]
new_list3 = ["School"]
print(new_list1 + new_list2 + new_list3)
a. [‘Welcome’, ‘to’, ‘my’, ‘School’]
b. [‘Welcome’]
c. [‘Welcome’, ‘to’, ‘my’]
d. None of the above
23. ________ function removes the given element from the list. If the element is present multiple times, only the first occurrence is removed.
a. delete()
b. rem()
c. remove()
d. None of the above
24. _______ function returns the element whose index is passed as parameter to this function and also removes it from the list.
a. push()
b. remove()
c. pop()
d. None of the above
25. What will be the output of the following python code.
new_list = [9, 8, 7]
print(sum(new_list))
a. 22
b. 23
c. 24
d. 25
26. What will be the output of the following python code.
new_list = [9, 8, 7]
print(min(new_list))
a. 9
b. 8
c. 7
d. None of the above
27. ________ function reverses the order of elements in the given list.
a. return()
b. reverse()
c. rev()
d. None of the above
28. _______ function helps to sorts the elements of the given list.
a. acc()
b. sort()
c. sorted()
d. None of the above
29. What will be the output of the following python code.
new_list = "1234"
print(list(new_list))
a. [‘1’, ‘2’, ‘3’, ‘4’]
b. (‘1’, ‘2’, ‘3’, ‘4’)
c. {‘1’, ‘2’, ‘3’, ‘4’}
d. None of the above
30. What will be the output of the following python code.
new_list = "1234"
new_list = list(new_list)
print(type(new_list[2]))
a. Erron
b. class ‘str’
c. class ‘int’
d. None of the above
31. _________ function takes a list as parameter and creates a new list consisting of the same elements arranged in sorted order.
a. acc()
b. sort()
c. sorted()
d. None of the above
32. When a list appears as an element of another list, it is called a ________.
a. New list
b. Nested list
c. Multi List
d. None of the above
33. What will be the output of the following python code
new_list = ["Welcome", "to", "my", "School"]
print(max(new_list))
a. Welcome
b. to
c. my
d. School
34. What will be the output of the following python code.
new_list = [1, 2, 3, 4, [5, 6, 7]]
print(new_list[6])
a. 4
b. 5
c. 6
d. 7
35. What will be the output of the following python code.
new_list = ["Welcome", "to", "my", "School"]
print(new_list[-2][-2])
a. W
b. y
c. m
d. S
36. Which of the following is not belong to the list operation?
a. Slicing
b. Slicing
c. Concatenation
d. Dividing
37. What will be the output of the following python code.
new_list = ["Welcome", "to", "my", "School"]
print(new_list*2)
a. [‘Welcome’, ‘to’, ‘my’, ‘School’, ‘Welcome’, ‘to’, ‘my’, ‘School’]
b. [‘Welcome’, ‘to’, ‘my’, ‘School’]
c. [‘Welcome’]
d. None of the above
38. What will be the output of the following python code.
new_list = ("Welcome to my School")
print(new_list[13 : -1])
a. School
b. Welcome
c. Schoo
d. None of the above
39. What will be the output of the following python code.
new_list = [5, 8, 3]
new_list1 = [1, 2, 3]
print(new_list.append(new_list1))
a. [5, 8, 3, 1, 2, 3]
b. [1, 2, 3, 5, 8, 3]
c. None
d. None of the above
40. Which of the subsequent results in an empty list?
a. new_list = list(0)
b. new_list = list()
c. new_list = list(empty)
d. All of the above
Computer Science Class 11 MCQs
- Computer Systems and Organisation
- Introduction to problem solving
- Getting Started with Python
- Flow of Control statements in Python
- String in Python
- Lists in Python
- Tuples in Python
- List, Tuples and Dictionary in Python
- Society, Law and Ethics
Disclaimer: We have taken an effort to provide you with the accurate handout of “List Manipulation in Python Class 11 MCQs“. If you feel that there is any error or mistake, please contact me at anuraganand2017@gmail.com. The above CBSE study material present on our websites is for education purpose, not our copyrights. All the above content and Screenshot are taken from Computer Science Class 11 NCERT Textbook and CBSE Support Material which is present in CBSEACADEMIC website, This Textbook and Support Material are legally copyright by Central Board of Secondary Education. We are only providing a medium and helping the students to improve the performances in the examination.
Images and content shown above are the property of individual organizations and are used here for reference purposes only.
For more information, refer to the official CBSE textbooks available at cbseacademic.nic.in