List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
a. Mutable

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

Show Answer ⟶
c. Both a) and b)

3. List can content __________.
a. Integer
b. Float
c. String & Tuple
d. All of the above 

Show Answer ⟶
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

Show Answer ⟶
a. Brackets and comma

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
a. Different data types

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

Show Answer ⟶
a. The contents of the list can be changed after it has been created

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 ⟶

b. [‘P’, ‘y’, ‘t’, ‘h’, ‘o’, ‘n’]

8. The data type list allows manipulation of its contents through ________.
a. Concatenation
b. Repetition
c. Membership
d. All of the above 

Show Answer ⟶
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

Show Answer ⟶
a. Concatenation

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
a. 6

11. Example of concatenation operator _______.
a. –
b. + 
c. /
d. *

Show Answer ⟶
b. +

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

Show Answer ⟶
b. Type Error

13. Python allows us to replicate a list using repetition operator depicted by symbol _________.
a. –
b. +
c. /
d. * 

Show Answer ⟶
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

Show Answer ⟶
a. In

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
c. Both a) and b)

16. _________ returns the length of the list passed as the argument.
a. len() 
b. length()
c. leth()
d. None of the above

Show Answer ⟶
a. len()

17. ________ creates an empty list if no argument is passed.
a. len()
b. list() 
c. append()
d. extend()

Show Answer ⟶
b. list()

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

Show Answer ⟶
a. append()

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

Show Answer ⟶
c. new_list.append(5)

List Manipulation in Python Class 11 MCQs

20. _________ returns the number of times a given element appears in the list.
a. insert()
b. index()
c. count() 
d. None of the above

Show Answer ⟶
c. count()

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

Show Answer ⟶
b. index()

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

Show Answer ⟶
a. [‘Welcome’, ‘to’, ‘my’, ‘School’]

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

Show Answer ⟶
c. remove()

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

Show Answer ⟶
c. pop()

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
c. 24

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

Show Answer ⟶
c. 7

27. ________ function reverses the order of elements in the given list.
a. return()
b. reverse() 
c. rev()
d. None of the above

Show Answer ⟶
b. reverse()

List Manipulation in Python Class 11 MCQs

28. _______ function helps to sorts the elements of the given list.
a. acc()
b. sort() 
c. sorted()
d. None of the above

Show Answer ⟶
b. sort()

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

Show Answer ⟶
a. [‘1’, ‘2’, ‘3’, ‘4’]

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
b. class ‘str’

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

Show Answer ⟶
c. sorted()

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

Show Answer ⟶
b. Nested list

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
b. to

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

Show Answer ⟶
a. 4

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
c. m

36. Which of the following is not belong to the list operation?
a. Slicing
b. Slicing
c. Concatenation
d. Dividing 

Show Answer ⟶
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

Show Answer ⟶
a. [‘Welcome’, ‘to’, ‘my’, ‘School’, ‘Welcome’, ‘to’, ‘my’, ‘School’]

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

Show Answer ⟶
c. Schoo

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

Show Answer ⟶
c. None

List Manipulation in Python Class 11 MCQs

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

Show Answer ⟶
a. new_list = list(0)
omputer Science Class 11 Notes
Computer Science Class 11 MCQ
Computer Science Class 11 NCERT Solutions

Computer Science Class 11 Practical Questions and Answers

Leave a Comment

error: Content is protected !!