Empowering Students with AI-Powered Assessments & Intelligent Learning
Tamil Nadu State Board · CLASS 12th · Computer Science

TN State Board 12th Computer Science Question Paper 2023

38 questions from this CLASS 12th Computer Science paper. The first 5 questions are solved free; log in as a CLASS 12th student to view all solutions.

🔒 Login / Register to Download PDF
Home / Previous Year Papers / CLASS 12th / Computer Science / TN State Board 12th Computer Science Question Paper 2023
Q1 mcq 1 mark
__________ members are accessible from outside the class.
  • A. Secured members
  • B. Public members
  • C. Private members
  • D. Protected members
Correct Answer: B — Solution

Public members are accessible from outside the class as they have no access restrictions. Private members (c) are accessible only within the class. Protected members (d) are restricted to the class and its subclasses. Secured (a) is not a standard access modifier keyword in object-oriented terminology.

Q2 mcq 1 mark
Which of the following is not a keyword in Python ?
  • A. continue
  • B. break
  • C. operator
  • D. while
Correct Answer: C — Solution

In Python, 'continue', 'break', and 'while' are reserved keywords used for control flow. 'operator' is not a reserved keyword in Python; it is the name of a standard library module.

Q3 mcq 1 mark
The small sections of code that are used to perform a particular task is called :
  • A. Pseudo code
  • B. Subroutines
  • C. Modules
  • D. Files
Correct Answer: B — Solution

Subroutines (also known as functions) are small, reusable sections of code designed to perform a specific task. Pseudo code is a high-level description of an algorithm, modules are files containing code, and files are data storage entities.

Q4 mcq 1 mark
The number of important control structures in Python :
  • A. 5
  • B. 3
  • C. 6
  • D. 4
Correct Answer: B — Solution

Python generally classifies control structures into 3 main types: Sequential, Selection (or Branching), and Iteration (or Looping).

Q5 mcq 1 mark
Class members are accessed through ________ operator.
  • A. #
  • B. &
  • C. %
  • D. .
Correct Answer: D — Solution

In Python (and many other object-oriented languages), the dot operator (.) is used to access the attributes and methods of a class object.

Q6 mcq 1 mark
The database Model which represents the Parent-Chil d relationship :
  • A. Hierarchical
  • B. Relational
  • C. Object
  • D. Network

Solution hidden

Log in to view solution →
Q7 mcq 1 mark
The operator which is used for concatenation ?
  • A. *
  • B. 1
  • C. =
  • D. &

Solution hidden

Log in to view solution →
Q8 mcq 1 mark
Importing C++ program in a Python program is called __________.
  • A. Interconnecting
  • B. Wrapping
  • C. Parsing
  • D. Downloading

Solution hidden

Log in to view solution →
Q9 mcq 1 mark
__________ command is used to remove a table from the d atabase.
  • A. DELETE ALL
  • B. DROP TABLE
  • C. ALTER TABLE
  • D. DELETE

Solution hidden

Log in to view solution →
Q10 mcq 1 mark
The function that returns the largest value of the selected column is :
  • A. HIGH ( )
  • B. MAX ( )
  • C. MAXIMUM ( )
  • D. LARGE ( )

Solution hidden

Log in to view solution →
Q11 mcq 1 mark
The datatype whose representation is known are called :
  • A. Concrete datatype
  • B. Built-in datatype
  • C. Abstract datatype
  • D. Derived datatype

Solution hidden

Log in to view solution →
Q12 mcq 1 mark
A Function which calls itself, is called as :
  • A. Lambda
  • B. Built-in
  • C. Return statement
  • D. Recursion

Solution hidden

Log in to view solution →
Q13 mcq 1 mark
The mode which is used when dealing with non-text files like image or exe files :
  • A. xls mode
  • B. Text mode
  • C. csv mode
  • D. Binary mode

Solution hidden

Log in to view solution →
Q14 mcq 1 mark
In dynamic programming, the technique of storing the previously calculated values is called :
  • A. Memoization
  • B. Saving value property
  • C. Mapping
  • D. Storing value property

Solution hidden

Log in to view solution →
Q15 mcq 1 mark
Let set A={3, 6, 9}, set B={1, 3, 9}. The result of the following snippet Print (set A ? set B)
  • A. {1}
  • B. {3, 6, 9, 1, 3, 9}
  • C. {1, 3, 6, 9}
  • D. {3, 9}

Solution hidden

Log in to view solution →
Q16 short answer 2 marks
What is a Tuple ? Give an example.

Solution hidden

Log in to view solution →
Q17 short answer 2 marks
What is a scope ?

Solution hidden

Log in to view solution →
Q18 short answer 2 marks
How will you delete a string in Python ?

Solution hidden

Log in to view solution →
Q19 short answer 2 marks
Write note on range ( ) in loop.

Solution hidden

Log in to view solution →
Q20 short answer 2 marks
What is class ?

Solution hidden

Log in to view solution →
Q21 short answer 2 marks
What is Data Manipulation Language ?

Solution hidden

Log in to view solution →
Q22 short answer 2 marks
Mention the default modes of the File.

Solution hidden

Log in to view solution →
Q23 short answer
23. List the general types of data visualization.

Solution hidden

Log in to view solution →
Q24 short answer
24. What will be output of the following Python code ? Squares=[x **2 for x in range(1,11)] print (squares)

Solution hidden

Log in to view solution →
Q25 short answer
25. Mention the characteristics of Interface.

Solution hidden

Log in to view solution →
Q26 short answer
26. What do you understand by Dynamic Programming ?

Solution hidden

Log in to view solution →
Q27 short answer
27. Explain Ternary operator with an example.

Solution hidden

Log in to view solution →
Q28 short answer
28. Write the syntax of while loop.

Solution hidden

Log in to view solution →
Q29 short answer
29. Differentiate - ceil ( ) and floor ( ) function.

Solution hidden

Log in to view solution →
Q30 short answer
30. What is the difference between csv reader ( ) method and DictReader ( ) class ?

Solution hidden

Log in to view solution →
Q31 short answer
31. Differentiate fetchone ( ) and fetchmany ( ).

Solution hidden

Log in to view solution →
Q32 short answer
32. Write a Python program to display the given pattern. C O M P U T E R C O M P U T E C O M P U T C O M P U C O M P C O M C O C

Solution hidden

Log in to view solution →
Q33 long answer
33. Write about the steps of Python program executing C ++ program using control statement.

Solution hidden

Log in to view solution →
Q34 long answer
34.(a)What is a List ? Why List, can be called as pairs ? Explain with suitable example. OR (b)Discuss about linear search algorithm.

Solution hidden

Log in to view solution →
Q35 long answer
35.(a)Discuss in details about Token in Python. OR (b)Explain the following built-in function. (i)id( ) (ii)chr( ) (iii)round( ) (iv)type( ) (v)pow( )

Solution hidden

Log in to view solution →
Q36 long answer
36.(a)What is Nested Tuple ? Explain with an example. OR (b)Explain the different types of relationship mapping.

Solution hidden

Log in to view solution →
Q37 long answer
37.(a)Write the syntax for getopt( ) and explain its arguments and return values. OR (b)Differentiate DBMS and RDBMS.

Solution hidden

Log in to view solution →
Q38 long answer
38.(a)Explain about differences between Histogram and Bar Graph. OR (b)Explain ‘continue’ statement with an example.

Solution hidden

Log in to view solution →