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: 27/02/2021
12th Standard English Medium Computer Science Reduced Syllabus Two Mark important Questions With Answer Key - 2021(Public Exam )
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.
Write the syntax of ORDER by clause used in SELECT command.
2.
Define TCL.
3.
What is the use of title () function? Give example.
4.
Differentiate lower () and is lower ().
5.
if strl = "Welcome to learn python", then write the output for the following.
(i) print (strl [10 : 16])
(ii) print (strl [10 : 16: 4])
(iii) print (strl [10: 16: 2])
(iv) print (strl [: : 3])
6.
What has to be filled in the blank to get the following output
(i) Welcome python
(ii) Welcome to learn python From
(a) print ("Welcome" ____ "Python") strl = "Welcome"
(b) print (Strl ____ "to learn python")
7.
Write the general format of slice operation.
8.
Write a note on return statement syntax.
9.
What are called tuples?
10.
What are the methods used to parse the arguments to the variable length arguments?
11.
Write a program in python that illustrate the use of constructor.
12.
What will the output the following
for w in "school"?
If w = = '0':
continue
print (w)
13.
Write the syntax how break statement used in for loop.
14.
What will the output of the following program?
for i in range (1,9, 2):
print (i, end = ' ')
else:
print (")n. End of the loop")
15.
What are the two types of looping construct in python?
16.
Write a program in python to check if the accepted number even or odd.
a = int(input("Enter any number:"))
if a%2==0:
print (a, "is an even number")
else:
print (a, "is an odd number")
17.
What take the three models in which CSV file can be opened?
18.
Write the output.
A = {'A', 2, 4, 'D'}
B = {'A', 'B', 'C' 'D'}
print (A | B)
print (A & B)
print (A - B)
print (A ^ B)
19.
Write the syntax of defining tuple.
20.
Write the syntax of using for keyword to access all elements in the list. Pg 136 x 9.
21.
Write a note on Big omega asymptotic notation.
22.
What is best algorithm?
23.
What are the uses of logical operator? Name the operators.
24.
Name the tokens where the whitespace in necessary in python.
25.
Why the following statement is incorrect? Give reason.
26.
How will you know the python IDLE working in interactive mode?
27.
Write the output of the following program
Disp()
a:=10
Disp 1():
print a
Disp 1():
print a
Disp()
28.
Write the output of the following program
Entire Program
Disp():
a:=7
print a
Disp ()
29.
What is the use of LEGB rule?
30.
Write a pseudocode to depressant rational numbers using list.
31.
How the concrete level of data abstraction implemented?
32.
Construct on algorithm that arranges meetings between these two types so that they change their color to the third type. In the end, all should display the same color.
33.
Give an example of function definition parameter with type.
34.
35.
Write the command to populate record in a table. Give an example.
36.
Which method is used to connect a database? Give an example.
37.
What is the use of modules?
38.
Differentiate compiler and interpreter.
39.
How will you sort more than one column from a csv file?Give an example statement.
40.
What is CSV File?
41.
Write the difference between table constraint and column constraint?
42.
How will you create constructor in Python?
43.
What will be the value of x in following python code?
List 1 = [2, 4, 6[1, 3, 5]]
x = len (List 1)
44.
How will you delete a string in Python?
45.
Define control structure.
46.
Write note on break statement.
47.
What is searching? Write its types.
48.
What are the different operators that can be used in Python?
49.
What is Mapping?
50.
Differentiate interface and implementation.
1.
The ORDER BY clause is used as :
SELECT < column-name > [, < columnname >, .... ]
FROM < table-name >ORDER BY < column1 >,< column2 >, ... ASC| DESC ;
2.
Transactional Control Language (TCL) commands are used to manage transactions in the database. These are used to manage the changes made to the data in a table by DML statements.
3.
| title() | Returns a string in title case | >>>str1='education department' >>>print(str1.title()) Education Department |
4.
| lower() | Returns the exact copy of the string with all the letters in lowercase. |
>>> str1='SAVE EARTH' >>> print(str1.lower()) save eath |
| islower() | Returns True if the string is in lowercase. | >>> str1='welcome' >>> print (str1.islower()) True |
5.
(i) Learn
(ii) r
(iii) er
(iv) ceoenyo
6.
(a) +
(b) + =
7.
General format of slice operation:
str[start:end]
Where start is the beginning index and end is the last index value of a character in the string. Python takes the end value less than one from the actual index specified.
8.
Syntax of return :
return [expression list]
This statement can contain expression which gets evaluated and the value is returned. If there is no expression in the statement or the return statement itself is not present inside a function, then the function will return the None object.
9.
Non-keyword variable arguments are called tuples.
10.
In Variable Length arguments we can parse the arguments using two methods.
(i) Non keyword variable arguments
(ii) Keyword variable arguments
11.
Program to illustrate Constructor:
class Sample:
def _init_(self, num):
print("Constructor of class Sample...")
self.num=num
print("The value is :", num)
S = Sample(10)
Output:
constructor of class Sample..
The value is:10
12.
schl
13.
for var in sequence:
if condtion:

14.
Output:
1, 3, 5, 7
End of the loop
15.
Python provides two types of looping constructs:
(i) while loop
(ii) for loop
16.
Output:
Enter any number: 56
56 is an even number
Output 2:
Enter any number: 67
67 is an odd number
17.
Read 'r', write 'w' or append 'a'.
18.
Output:
{'A', 2, 4, 'D', 'B' ,'C'}
{'A', 'D'}
{2, 4}
{2, 4, 'B", C'}
19.
Syntax:
# Empty tuple
Tuple_Name = ()
# Tuple with n number elements
Tuple_Name = () (E1, E2, E2, ....... En)
# Elements of a tuple without parenthesis
Tuple_Name = E1, E2, E3 ..... En
20.
Syntax:
for index_var in list:
print (index_ var)
21.
Big Omega is the reverse Big O, if Big O is used to describe the upper bound (worst - case) of a asymptotic function, Big Omega is used to describe the lower bound (best-case).
22.
The best algorithm to solve a given problem is one that requires less space in memory and takes less time to execute its instructions to generate output.
23.
In python, Logical operators are used to perform logical operations on the given relational expressions. There are three logical operators they are and or not.
24.
Whitespace separation is necessary between tokens, identifiers or keywords.
25.
(i) The input () is usedto display the result of the program after execution.
(ii) Reason: The input () function helps to enter data at run time buy the user not to display the output.
26.
The prompt >>> indicates that Interpreter is ready to accept instructions. Therefore, the prompt on screen mean IDLE is working in interactive mode.
27.
The output of the program
10
10
28.
The output of the program
7
29.
The LEGB rule is used to decide the order in which the scopes are to be searched for scope resolution. The scopes are listed below in terms of hierarchy (highest to lowest).
30.
rational(n, d):
return [n, d]
numer(x):
return x[0]
denom(x):
return x[1]
31.
(i) To implement the concrete level of data abstraction, languages like Python provides a compound structure called Pair which is made up of list or Tuple.
(ii) The first way to implement pairs is with the List construct
32.
let rec monochromatize a b c :=
if a > 0 then
a, b, c:= a-1, b-1, c+2
else
a:=0, b:=0, c:= a + b + c
return c
33.
(requires: b > 0 )
(returns: a to the power of b)
let rec pow (a: int) (b: int) : int :=
if (b=0) then 1
else a * pow b (a-1 )
34.
35.
To populate the table "INSERT" command is passed to SQLite."execute" method executes the SQL command to perform some action.
Example:
Sql_command =" " INSERT INTO student (Rollno, Sname, Grade, Gender, Average, birth_date) values (NULL, "Akshay", "B", "M", "87.8", "2001-12-12");" " cursor.execute(sql_command)
36.
Create a connection using connect() method and pass the nanie of the database file.
Example:
#connecting to the database
connection = sqlite3.connect ("Academy.db")
#cursor
cursor = connection.cursor()
37.
Modular programming is a software design technique to split our code into separate parts. These parts are called modules. The focus for this separation should have modules with no or just few dependencies upon other modules.
38.
| S.No | Compiler | Interpreter |
|---|---|---|
| (i) | It takes an entire Program at a time. | It takes a single line of code or instruction at a time. |
| (ii) | Display all errors after compilation, all at the | Displays error of each line one by one. |
39.
To sort by more than one column you can use itemgetter with multiple indices:
operator.itemgetter
Example:
sortedlist = sorted (data, key = operator. itemgetter(1))
40.
A CSV file is a human readable text file where each line has a number of fields, separated by commas or some other delimiter.
41.
| Table Constraints | column constraints |
| Table constraint is apply to a group of one or more columns. | Column constraint can be apply only to individual columns. |
42.
(i) "Init" is a special function begin an end with double underscore in Python act as a Constructor .
(ii) Constructor function will automatically executed when an object is created.
General format of __init__ method
(Constructor function)
def __init__ (self, [args........])
<statements>
43.
4
44.
Python will not allow deleting a particular character in a string. Whereas you can remove entire string variable using del command.
Example :
>>> strl="How about you"
>>> print (str1)
How about you
>>> del str1
>>> print (str1)
Traceback (most recent call last):
File "
print (strl)
NameError : name 'str1' is not defined
45.
A program statement that causes a jump of control from one part of the program to another is called control structure or control statement.
46.
The break statement terminates the loop containing it. Control of the program flows to the statement immediately after the body of the loop.
47.
A searching algorithm is the step-by step procedure used to locate specific data among a collection of data. There are two types of searching are.
(i) Linear Search
(ii) Binary Search
48.
The different operators that can be used in python are
(i) Arithmetic operators
(ii) Relational or Comparative operator
(iii) Logical operators
(iv) Assignment operators
(v) Conditional operator
49.
The process of binding a variable name with an object is called mapping = (equal to sign) is used in programming languages to map the variable and object.
50.
| Interface | Implementation |
|---|---|
| Interface just defines what an object can do, but won't actually do it. | Implementation carriers out the instructions defined in the interface. |
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