TN Online TestSamacheer Kalvi practice

12th Standard Computer Science March 2024: MCQs with Answers

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

The 15 one-mark questions from the March 2024 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
Which of the following is used to describe the worst case of an algorithm ?
  • A. Big W
  • B. Big A
  • C. Big OCorrect
  • D. Big S
Explanation. Big O notation gives the upper bound of an algorithm's running time, so it describes the worst case.
Q2
The datatype whose representation is unknown are called as :
  • A. Concrete datatype
  • B. Built-in datatype
  • C. Abstract datatypeCorrect
  • D. Derived datatype
Explanation. An abstract datatype (ADT) shows only what operations can be done; its internal representation is hidden. A concrete datatype has a known representation.
Q3
Which key is pressed to execute Python Script ?
  • A. F1
  • B. F5Correct
  • C. F3
  • D. F2
Explanation. In Python IDLE, a script is run using Run > Run Module or by pressing the F5 key.
Q4
Which of the following defines what an object can do ?
  • A. InterfaceCorrect
  • B. Operating System
  • C. Interpreter
  • D. Compiler
Explanation. An interface is the set of actions that an object can do; the implementation carries out those actions.
Chapter: Function
Q5
Which of the following security technique that regulates who can view or use resources in a computing environment ?
  • A. Access controlCorrect
  • B. Password
  • C. Certification
  • D. Authentication
Explanation. Access control is the security technique that decides who can view or use resources in a computing environment.
Chapter: Scoping
Q6
Which of the following is the Slicing Operator ?
  • A. < >
  • B. { }
  • C. ( )
  • D. [ ]Correct
Explanation. Square brackets [ ] are the slicing operator, e.g. s[0:3] gives a substring.
Q7
In Python the process of creating an object is called as ________.
  • A. Initialize
  • B. Constructor
  • C. InstantiationCorrect
  • D. Destructor
Explanation. Creating an object (instance) of a class is called instantiation.
Q8
Pick the correct one to execute the given statement successfully.
if ________ : print(x, "is a leap year")
  • A. x/4=0
  • B. x%2=0
  • C. x%4=0
  • D. x%4==0Correct
Explanation. The condition must use the comparison operator ==; = is assignment and gives a syntax error. A leap year is divisible by 4, so x%4==0.
Q9
What symbol is used for SELECT statement ?
  • A. X
  • B. σCorrect
  • C. Ω
  • D. Π
Explanation. In relational algebra, SELECT is denoted by σ (sigma); PROJECT uses Π and Cartesian product uses X.
Q10
If List = [10, 20, 30, 40, 50] then List [2] = 35 will result :
  • A. [10, 20, 35, 40, 50]Correct
  • B. [35, 10, 20, 30, 40, 50]
  • C. [10, 35, 30, 40, 50]
  • D. [10, 20, 30, 40, 50, 35]
Explanation. Indexing starts at 0, so List[2] is 30; assigning 35 replaces it, giving [10, 20, 35, 40, 50].
Q11
A CSV file is also known as a ________.
  • A. String File
  • B. Flat FileCorrect
  • C. Random File
  • D. 3D File
Explanation. A CSV file stores tabular data as plain text records, so it is also called a flat file.
Q12
The most commonly used statement in SQL is :
  • A. execute
  • B. cursor
  • C. commit
  • D. selectCorrect
Explanation. The SELECT statement, used to retrieve data from tables, is the most commonly used SQL statement.
Q13
What is the output of the following snippet in Python ?
for x in range (5):
    if x==2:
        continue
    print(x, end=' ')
  • A. 0 1 3 4Correct
  • B. 0 1 2
  • C. 0 1 2 3 4
  • D. 0 1 2 3
Explanation. x takes values 0 to 4. When x is 2, continue skips the print, so the output is 0 1 3 4.
Q14
________ is a collection of resources assembled to create a single unified visual display.
  • A. Objects
  • B. Interface
  • C. Graphics
  • D. DashboardCorrect
Explanation. A dashboard gathers several resources such as charts and tables into one unified visual display.
Q15
The clause used to sort data in a database :
  • A. GROUP BY
  • B. SORT BY
  • C. SELECT
  • D. ORDER BYCorrect
Explanation. ORDER BY sorts the result in ascending or descending order; SQL has no SORT BY clause.
Take online test → All previous year papers

About this paper

These are the Part I one-mark multiple-choice questions from the March 2024 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

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