Every Book Back multiple-choice question from Lists, Tuples, Sets and Dictionary (12th Standard Computer Science, Samacheer Kalvi) — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.
Q1
Pick odd one in connection with collection data type
- A. List
- B. Tuple
- C. Dictionary
- D. LoopCorrect
Explanation. List, Tuple, and Dictionary are Python collection data types used to store multiple values, whereas Loop is a control structure used for iteration.
Q2
Let list1=[2, 4, 6, 8, 10], then print(list1[-2]) will result in
- A. 10
- B. 8Correct
- C. 4
- D. 6
Explanation. In Python, negative indexing starts from the end of the list with -1. Therefore, index -2 refers to the second element from the right, which is 8.
Q3
Which of the following function is used to count the number of elements in a list?
- A. count()
- B. find()
- C. len()Correct
- D. index()
Explanation. The len() function in Python is used to find the length of a list, which is the total number of elements contained in it.
Q4
If List=[10, 20, 30, 40, 50] then List[2]=35 will result
- A. [35, 10, 20, 30, 40, 50]
- B. [10, 20, 30, 40, 50, 35]
- C. [10, 20, 35, 40, 50]Correct
- D. [10, 35, 30, 40, 50]
Explanation. Lists in Python are mutable. Assigning a value of 35 to index 2 replaces the existing element at that position, which is 30, resulting in [10, 20, 35, 40, 50].
Q5
If List=[10, 20, 30, 40, 50] then List.append(32) will result
- A. [32, 10, 20, 30, 40, 50]
- B. [10, 20, 30, 40, 50, 32]Correct
- C. [10, 20, 32, 40, 50]
- D. [10, 20, 30, 40, 50]
Explanation. The append() method adds a single element to the end of an existing list. Therefore, List.append(32) appends 32 to the end, giving [10, 20, 30, 40, 50, 32].
Q6
Which of the following Python function can be used to add more than one element within an existing list?
- A. append()
- B. append_more()
- C. extend()Correct
- D. more()
Explanation. The extend() function in Python is used to append multiple elements specified within a square bracket to an existing list.
Q7
What will be the result of the following Python code?
S=[x**2 for x in range(5)]
print(S)
- A. [0, 1, 2, 4, 5]
- B. [0, 1, 4, 9, 16]Correct
- C. [0, 1, 4, 9, 25]
- D. [1, 4, 9, 16, 25]
Explanation. The range(5) function generates integers from 0 to 4. S is created using list comprehension which squares each integer in range(5), resulting in [0, 1, 4, 9, 16].
Q8
What is the use of type() function in python?
- A. To create a Tuple
- B. To know the type of an element in tuple.
- C. To know the data type of python object.Correct
- D. To create a list.
Explanation. The type() function is a built-in function in Python used to determine and return the data type of any specified Python object.
Q9
Which of the following statement is not correct?
- A. A list is mutable
- B. A tuple is immutable.
- C. The append() function is used to add an element.
- D. The extend() function is used in tuple to add elements in a list.Correct
Explanation. Tuples are immutable sequences and do not support modifying methods like extend() to add elements.
Q10
Let setA = {3,6,9}, setB = {1,3,9}. What will be the result of the following snippet?
print(setA|setB)
- A. {3,6,9,1,3,9}
- B. {3,9}
- C. {1}
- D. {1,3,6,9}Correct
Explanation. The | operator represents the union of two sets, which combines all elements from both sets and automatically removes any duplicate values.
Q11
Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets?
- A. Symmetric differenceCorrect
- B. Difference
- C. Intersection
- D. Union
Explanation. Symmetric difference includes all elements from both sets except for those that are common to both sets.
Q12
The keys in Python dictionary are specified by
- A. =
- B. ;
- C. +
- D. :Correct
Explanation. In a Python dictionary, a colon (:) is used to separate each key from its associated value.
About these Lists, Tuples, Sets and Dictionary questions
These are the Book Back multiple-choice questions for Lists, Tuples, Sets and Dictionary from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Science syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.
Frequently asked questions
How many MCQs are there in Lists, Tuples, Sets and Dictionary?
This chapter has 12 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.
Are these 12th Standard Computer Science MCQs free to practise online?
Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.
Where can I find the Lists, Tuples, Sets and Dictionary book-back answers?
The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.