TN Online TestSamacheer Kalvi practice

12th Standard Computer Science — Lists, Tuples, Sets and Dictionary: Additional Online Practice Test

Share this chapter: Telegram

Pick how many questions you want and set a time limit, then start. You'll get your score at the end with the correct answer and an explanation for every question. Free, in Tamil and English — 15 questions available.

Set up your test

Time remaining00:00
Q1
Which of the following Python methods can be used to duplicate all items of a list into a new list without modifying the original list?
Q2
If a Python list is defined as MyList = [2, 10, 15, 20, 10], what will be the output of MyList.index(10)?
Q3
In Python, creating a tuple with a single element is called a "Singleton" tuple. Which of the following is the correct way to define a singleton tuple with the value 50?
Q4
Which of the following statement is true regarding the execution speed of iterating over Tuples compared to Lists in Python?
Q5
Consider the Python expression: S = [x**3 for x in range(1, 5) if x % 2 == 0]. What will be the final contents of the list S?
Q6
What will be the output when the following Python code is executed? S1 = {10, 20, 30} S2 = {20, 30, 40} print(S1 ^ S2)
Q7
Which Python list function removes all the elements of a list but retains the empty list structure itself?
Q8
What is the output of the following dictionary deletion operation? Dict = {'Reg_No': '1221', 'Name': 'Tamilselvi'} Dict.clear() print(Dict)
Q9
Which of the following set operations is correctly paired with its corresponding Python operator?
Q10
If a Python list is Numbers = [10, 20, 30, 40, 50], what will be the result of the slice operation Numbers[-3:-1]?
Q11
Which of the following statement is correct about dictionary keys in Python?
Q12
What will be stored in x after executing the following Python code? MyTuple = (10, 20, 30) x = MyTuple + (40,)
Q13
Which Python function can convert a List or a Tuple into a Set, thereby eliminating duplicate elements?
Q14
What is the correct output when the following Python code is run? list1 = [5] * 3 print(list1)
Q15
Consider the following dictionary comprehension: Dict = {x: x * x for x in range(1, 4)}. What is the value of Dict[3]?

More for this chapter

Book Back Questions12 textbook MCQs · solved Additional MCQs15 extra MCQs · solved Practice TestInteractive · instant score Book Back TestTest yourself on the textbook set Study NotesConcepts & methods Formula SheetAll key formulas

About this Lists, Tuples, Sets and Dictionary test

This free online practice test covers Lists, Tuples, Sets and Dictionary from the 12th Standard Computer Science (Samacheer Kalvi) syllabus. Choose the number of questions and an optional time limit, then answer and submit — everything is checked in your browser, with the correct answers and a worked explanation shown at the end. For the full solutions to every question in this set, see the solved MCQs page.

More chapters in Computer Science

View all
1 Function 2 Data Abstraction 3 Scoping 4 Algorithmic Strategies 5 Python -Variables and Operators 6 Control Structures 7 Python functions 8 Strings and String manipulation 10 Python Classes and objects 11 Database Concepts 12 Structured Query Language (SQL) 13 Python and CSV files 14 Importing C++ programs in Python. 15 Data manipulation through SQL 16 Data visualization using pyplot: line chart, pie chart and bar chart