12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications மின்னணு தரவு பரிமாற்றம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிக பாதுகாப்பு அமைப்புகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின்னணு செலுத்தல் முறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications மின் - வணிகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications திறந்த மூல கருத்துருக்கள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு வடமிடல் Sample Question Papers Study Material - QB365 Set A

Published on: 01/09/2020
12th Standard Computer Science English Medium Important 3 Mark Creative Questions (New Syllabus) 2020
Download Tamil Nadu 12th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
Which constraint helps to set a limit value placed for a field?
2.
Write the out put for the following statement.
strl = "Raja Raja Chozhan"
(i) print (strl. count ('Raja'))
(ii) print (strl. count ('R'))
(iii) print (strl. count ('A'))
(iv) print (strl. count ('a'))
(v) print (strl. count ('a', 0, 5))
(vi) print (strl. count ('a', 11))
3.
Write the output of the following statements.
strl = 'mammals'
(i) std. find ('ma')
(ii) std. find ('ma', 2)
(iii) std. find ('ma', 2, 4)
(iv) std. find ('ma', 2, 5)
4.
Write a program to accept a string and print it in reverse order.
5.
List the types of DBMS users.
6.
Write a python code to display the following plot.
7.
List the components of DBMS
8.
Explain how a connect to be made to a database (Academy through python SQlite3.
9.
When the variable - length arguments are used? Explain with an example.
10.
Read the following program. Answer the following question. Class sample:
x, y= 10, 20
s= sample ()
print (s. x + s. y)
1. What does sample denotes?
2. What does x, y denotes?
3. What does s denotes?
11.
Draw a flowchart that illustrate how looping construct gets executed.
12.
Draw a flowchart that illustrates the working of while loop.
13.
Write a python program to find total and average marks using class.
14.
What are the different ways of reading a CSV file using reader ( ) method?
15.
Write the equivalent python statement for the following
(i) C=A | B
(ii) C=A & B
(iii) C = A - B
(iv) C=A ^ B
16.
Read the following program and write the output according to the print statement mentioned
list = ['T', 'H', 'N', 'M']
del list [1]
(i) print (list)
del list [1:3]
(ii) print (list)
del list
(iii) print (list)
17.
What is dynamic programming? What are the steps involved in dynamic programming?
18.
Write the different factors in which the time efficiency of an algorithm its measured
19.
How will you define program blocks in python?
20.
Fill up the blanks to get the following output from Python code given.
Output:
Enter Number 1: 34
Enter Number 2: 70
The Sum = 104
Code:
X = \(\overset { (1) }{ \_ \_ \_ \_ \_ } \) (input ("Enter Number 1:"))
Y = \(\overset { (2) }{ \_ \_ \_ \_ \_ } \) (\(\overset { (3) }{ \_ \_ \_ \_ \_ } \) ("Enter Number 2 :"))
\(\overset { (4) }{ \_ \_ \_ \_ \_ } \) ("The sum =", \(\overset { (5) }{ \_ \_ \_ \_ \_ } \))
21.
How will you ensure the principle of data encapsulation in object - oriented programming?
22.
Write a note on Data Abstraction.
23.
Write an algorithm to check whether the entered number is even or odd.
1.
Check Constraint: This constraint helps to set a limit value placed for a field. When we define a check constraint on a single column, it allows only the restricted values on that field. Example showing check constraint in the student table:
CREATE TABLE Student
(
Admno integer NOT NULL PRIMARY KEY
Name char(20) NOT NULL,
Gender char(1),
Age integer (CHECK<=19), ⟶ Check Constraint
Place char(10),
);
In the above example the check constraint is set to Age field where the value of Age must be less than or equal to 19.
2.
(i) 2
(ii) 2
(iii) 0
(iv) 5
(v) 2
(vi) 1
3.
(i) 0
(ii) 3
(iii) -1
(iv) 3
4.
str1 = input ("Enter a string:")
Index=-1
while index >= -(lentstrl1)):
print ("Subscript[",index,"] :" + str1 [index])
index +=-1
Output:
Enter a string: welcome
Subscript [ -1 ] : e
Subscript [ -2 ] : m
Subscript [ -3 ] : 0
Subscript [ -4 ] : c
Subscript [ -5 ] : I
Subscript [ -6 ] : e
Subscript [ -7 ] : w
5.
(i) Database Administrators(DBA)
(ii) Application or software developers
(iii) End User
(iv) Database designers
6.
Program:
import matplotlib.pyplot as plt
pIt.plot([1, 2, 3, 4]) ,
plt.show ( )
Output:
7.
The Database Management System can be divided into five major components as follows:
(i) Hardware
(ii) Software
(iii) Data
(iv) Procedures / Methods
(v) Database Access Languages
8.
# Python code to demonstrate table creation and insertions with SQL
# importing module
import sqlite3
# connecting to the database
connection = sqlite3.connect ("Academy.db")
# cursor
cursor = connection.cursor ( )
9.
(i) Syntax - Variable-Length Arguments:
def function_name(*args):
function_body
return_statement
(ii) Example:
def printnos (*nos):
for n in nos:
print(n)
return
# now invoking theprintnos() function
print ('Printing two values')
printnos (1,2)
print ('Printing three values')
printnos (10,20,30)
Output:
Printing two values
1
2
Printing three values
10
20
30
10.
1. It denotes class name
2. x, y is a class variables of the class
3. S is an object created to access the members of the class
11.

12.

13.
class Student:
mark1, mark2, mark3 = 45, 91, 71
#class variable
#class method
def process(self):
sum = Student.mark1 + Student.mark2 + Student.mark3
avg = sum/3
print("Total Marks = ", sum)
print("Average Marks = ", avg)
return
S=Student()
S.process()
Output:
Total marks = 207
Average Marks = 69.0
14.
(i) CSV file - data with default delimiter comma (,)
(ii) CSV file - data with Space at the beginning
(ill) CSV file - data with quotes
(iv) CSV file - data with quotes
15.
(i) C = A.union (B)
(ii) C = A.intersection (B)
(iii) C = A.difference (B)
(iv) C = A.symetric _ difference (B)
16.
Output:
(i) ['T', 'N', 'M']
(ii) ['T'
(iii) Error
17.
Dynamic programming is an algorithmic design method that can be used when the solution to a problem can be viewed as the result of a sequence of decisions. Dynamic Programming approach is similar to divide and conquer.
(i) The given problem will be divided into smaller overlapping sub-problems.
(ii) An optimum solution for the given problem can be achieved by using result of smaller sub-problem.
(iii) Dynamic algorithms uses Memoization.
18.
The execution time that you measure in this case would depend on a number of factors such as:
(i) Speed of the machine
(ii) Compiler and other system Software tools
(iii) Operating System
(iv) Programming language used
(v) Volume of data required
19.
(i) Python uses whitespace such as spaces and tabs to define program blocks whereas other languages like C, C++, java use curly braces { } to indicate blocks of codes for class, functions or body of the loops and block of selection command.
(ii) The number of whitespaces (spaces and tabs) in the indentation is not fixed, but all statements within the block must be indented with same amount spaces.
20.
(1) int
(2) int
(3) input
(4) print
(5) x + y
21.
Public members (generally methods declared in a class) are accessible from outside the class. The object of the same class is required to invoke a public method. This arrangement of private instance variables and public methods ensures the principle of data encapsulation.
22.
(i) Data abstraction is supported by defining an abstract data type (ADT) which is a collection of constructors and selectors.
(ii) Constructors create an object, bundling together different pieces of information, while selectors extract individual pieces of information from the object.
23.
(requires: x>= 0)
let rec even x :=
x=0II odd (x-I)
return 'even'
(requires: x > = 0)
let odd x :=
x< >0 && even (x-I)
return 'odd'
12th Standard Syllabus & Materials
12th Standard
TN 12th Computer Applications களப்பெயர் முறைமை (DNS) Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications வலையமைப்பு எடுத்துக்காட்டுகள் மற்றும் நெறிமுறைகள் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications கணினி வலையமைப்பு ஓர் அறிமுகம் Sample Question Papers Study Material - QB365 Set A
NEW12th Standard
TN 12th Computer Applications PHP-உடன் MySQL-ஐ இணைத்தல் Sample Question Papers Study Material - QB365 Set A
Tamilnadu Stateboard 12th Standard Subjects

Maths

Chemistry

Physics

Biology

Computer Science

Business Maths and Statistics

Economics

Commerce

Accountancy

History

Computer Applications

Biology

Computer Technology

Computer Applications

Computer Science

Business Maths and Statistics

Commerce

Economics

Maths

Chemistry

Physics

Computer Technology

History

Accountancy

Tamil

English

French
Tamilnadu Stateboard Standards