TN Online TestSamacheer Kalvi practice

12th Standard Computer Science March 2026: MCQs with Answers

15 MCQs 70 marks 180 minutes Paper code 9072
Share this chapter: Telegram

The 15 one-mark questions from the March 2026 12th Standard Computer Science public exam, in paper order, with the correct option marked and a short explanation.

Answer key at a glance

Take online test →
Q1
The function which cause side effects to the arguments passed are called __________.
  • A. Dynamic function
  • B. Impure functionCorrect
  • C. Pure function
  • D. Partial function
Explanation. An impure function may change its arguments or other outside state, i.e. it causes side effects; a pure function has no side effects.
Chapter: Function
Q2
The datatype whose representation is known are called __________.
  • A. Concrete datatypeCorrect
  • B. Built in datatype
  • C. Abstract datatype
  • D. Derived datatype
Explanation. A concrete data type is one whose representation (implementation) is known; an abstract data type hides its representation.
Q3
Which members are accessible from outside the class?
  • A. Secured members
  • B. Public membersCorrect
  • C. Private members
  • D. Protected members
Explanation. Public members can be accessed from anywhere, including outside the class; private and protected members are restricted.
Chapter: Scoping
Q4
Two main measures for the efficiency of an algorithm are __________.
  • A. Time and SpaceCorrect
  • B. Processor and Memory
  • C. Complexity and Time
  • D. Data and Space
Explanation. The efficiency of an algorithm is measured by its time complexity and space complexity.
Q5
Which key is used to execute Python Script?
  • A. F5Correct
  • B. F1
  • C. F10
  • D. F2
Explanation. In Python IDLE, a script is run using Run > Run Module or the F5 key.
Q6
Which of the following is the output of the given Python code if the value of a is 52?
x="even" if a%2==0 else "odd"
print(x)
  • A. error
  • B. evenCorrect
  • C. no output
  • D. odd
Explanation. 52 % 2 is 0, so the condition is true and the conditional expression assigns "even" to x, which is printed.
Q7
A function which calls itself is called as:
  • A. Lambda
  • B. Built in
  • C. Return
  • D. RecursionCorrect
Explanation. A function that calls itself is a recursive function (recursion).
Q8
Which of the following operator is used for concatenation?
  • A. *
  • B. +Correct
  • C. =
  • D. &
Explanation. In Python the + operator joins (concatenates) two strings; * repeats a string.
Q9
If mylist=[10, 20, 30, 40] then mylist.append(35) will result:
  • A. [10, 35, 20, 30, 40]
  • B. [10, 20, 30, 40, 35]Correct
  • C. [35, 10, 20, 30, 40]
  • D. [10, 20, 30, 35, 40]
Explanation. append() adds the element at the end of the list, giving [10, 20, 30, 40, 35].
Q10
Which of the following is the private class variable?
  • A. $$num
  • B. __numCorrect
  • C. ++num
  • D. ##num
Explanation. In Python a variable name prefixed with a double underscore (__num) is treated as private.
Q11
Who is called Father of Relational Database from the following?
  • A. Edgar Frank CoddCorrect
  • B. Chris Date
  • C. Chand
  • D. Hugh Darween
Explanation. Edgar Frank Codd proposed the relational model of data in 1970 and is called the father of relational database.
Q12
__________ command is used to change the structure of the table.
  • A. MODIFY
  • B. SELECT
  • C. ALTERCorrect
  • D. ORDER BY
Explanation. ALTER TABLE is a DDL command used to add, modify or drop columns, i.e. to change the table structure.
Q13
The expansion of CRLF is:
  • A. Control Router and Line Feed
  • B. Carriage Return and Line FeedCorrect
  • C. Control Return and Line Feed
  • D. Carriage Return and Form Feed
Explanation. CRLF stands for Carriage Return and Line Feed, the line terminator used in CSV files.
Q14
A framework for interfacing Python and C++ is:
  • A. Cython
  • B. Ctypes
  • C. BoostCorrect
  • D. SWIG
Explanation. Boost (Boost.Python) is the C++ framework for interfacing Python and C++; Ctypes, SWIG and Cython are other interfacing tools.
Q15
__________ function returns the largest value of the selected column.
  • A. HIGH()
  • B. MAX()Correct
  • C. MAXIMUM()
  • D. LARGE()
Explanation. The SQL aggregate function MAX() returns the largest value in the selected column.
Take online test → All previous year papers

About this paper

These are the Part I one-mark multiple-choice questions from the March 2026 12th Standard Computer Science public examination conducted by the Tamil Nadu Directorate of Government Examinations. The answers and explanations are prepared by TN Online Test for revision. Each question links to the textbook chapter it comes from, so you can go back to that chapter's notes and MCQs.

Other years

2025 · March 2025 2024 · March 2024 2023 · March 2023 2022 · May 2022 2021 · Supplementary 2021 2020 · March 2020