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: 09/03/2020
12th Standard Computer Science English Medium All Chapter Book Back and Creative Two Mark Question 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.
Explain the following SQL TCL commands.
(i) Commit
(ii) Roll back
(iii) Save point
2.
What is the use of WAMP?
3.
Write a note on the function center ().
4.
How will you manipulate the strings?
5.
Differentiate data and information.
6.
What is database?
7.
Write the syntax of variable - length arguments.
8.
What is meant by block in python?
9.
What is pip?
10.
Write note or Box plot.
11.
Write the placeholders which supported by SQlite3 module Execute.
12.
What is the reason behind defining a SQL command with triple quotes?
13.
Write the syntax and example of
(i) os.system ( )
(ii) getopt ( )
14.
Differentiate static typed language and dynamic typed language.
15.
Differentiate python class function and ordinary function.
16.
Write the syntax for the following
(i) Creating objects
(ii) Accessing class members
17.
Draw the flowchart that illustrates the working of continue statement in python.
18.
Write a program in python to check if the accepted number us even or odd (use alternate method of if-else).
19.
What is called modification?
20.
Why CSV file is known as flat file?
21.
Write the syntax of using for keyword to access all elements in the list. Pg 136 x 9.
22.
Name the four collections of data types in python programming language.
23.
What does analysis of an algorithm deals with?
24.
What is algorithmic solution?
25.
Write the description of the following Escape sequence character.
(i) \n
(ii) \t
26.
Assume the value of a = 100 and b = 75. Evaluate the following expression.
(i) a==b
(ii) a!=b
(iii) a//b
(iv) a>=b
27.
Write the output of the following program
a:=10
Disp():
a:=7
print a
Disp 1():
print a
28.
Define variable.
29.
Write a note on pair datatype
30.
Give an example of implementing an ADT
31.
Give an example of impure function.
32.
What is recursive function?
33.
34.
List the general types of data visualization.
35.
Write the command to populate record in a table. Give an example.
36.
Mention the users who uses the Database.
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.
Mention the default modes of the File.
41.
What is the difference between SQL and MYSQL?
42.
Write a query that selects all students whose age is less than 18 in order wise.
43.
What is normalization?
44.
What is the difference between Hierarchical and Network data model?
45.
46.
What is instantiation?
47.
Differentiate del with remove( ) function of List.
48.
What will be the value of x in following python code?
List 1 = [2, 4, 6[1, 3, 5]]
x = len (List 1)
49.
50.
What is String?
51.
How to set the limit for recursive function? Give an example.
52.
Write the different types of function.
53.
Write is the syntax of if..else statement.
54.
List the control structures in Python.
55.
Define Pseudo code.
56.
What is an Algorithm?
57.
What is a literal? Explain the types of literals?
58.
What are the different modes that can be used to test Python Program?
59.
What do you mean by Namespaces?
60.
Why scope should be used for variable. State the reason.
61.
62.
Differentiate constructors and selectors.
63.
Define Function with respect to Programming language.
64.
What is a subroutine?
1.
(i) Commit: Saves any transaction into the database permanently.
(ii) Roll back: Restores the database to last commit state.
(iii) Save point: Temporarily save a transaction so that you can rollback.
2.
WAMP stands for "Windows, Apache, MySQL and PHP" It is often used for web development and internal testing, but may be also be used to serve live websites.
3.
| center (width, fillchar) | Returns a string with the original string centered to a total of width columns and filled with fillchar in columns that do not have characters |
>>> strl="Welcome" >>> print(strl center(15,'*')) ****Welcome**** |
4.
(i) Once you define a string, python allocate an index value for its each character.
(ii) These index values are otherwise called as subscript which are used to access and manipulate the strings. The subscript can be positive or negative integer numbers.
5.
(i) Data are raw facts stored in a computer. A data may contain any character, text, word or a number.
(ii) Information is formatted data, which allows to be utilized in a significant way.
6.
(i) Database is a repository collection of related data organized in a way that data can be easily accessed, managed and updated.
(ii) Database can be a soft ware or hardware based, with one sole purpose of storing data.
7.
def function_name(*args):
function_body
return_statement
8.
A block is one or more lines of code, grouped together so that they are treated as one big sequence of statements while execution.
9.
Matplotlib installed using pip. Pip is a management software for installing python packages.
10.
Box plot: The box plot is a standardized way of displaying the distribution of data based on the five number summary: minimum, first quartile, median, third quartile, and maximum.
11.
Execute (sql[, parameters]) :
(i) Executes a single SQL statement. The SQL statement may be parameterized (i.e. placeholders instead of SQL literals).
(ii) The SQlite3 module supports two kinds of placeholders: question marks? ("qmark style") and named placeholders: name ("named style").
12.
The reason behind the triple quotes is sometime the values in the table might contain single or double quotes.
13.
(i) os.system ('g++' + <varaiable_name1>'-<mode>' + <Variable_name2>
(ii) <opts>,<args>
14.
(i) A static typed language like C++ requires the programmer to explicitly tell the computer what "data type" each data value is going to use.
(ii) A dynamic typed language like Python, doesn't require the data type to be given explicitly for the data. Python manipulate the variable based on the type of value.
15.
Python class function or method is very similar to ordinary function with a small difference. The class method must have the first argument named as self.
16.
(i) Object - name = class_name ()
(ll) Object - name = class_member
17.

18.
a = int (input("Enter any number :"))
x="even" if a%2==0 else "odd"
print (a, "is",x)
Output 1:
Enter any number 3
3 is odd
Output 2:
Enter any number: 22
22 is even
19.
Making some changes in the data of the existing file or adding more data is called modification.
20.
A CSV is known as flat file because files in the CSV format can be imported to and exported from programs that store data in tables, such as Microsoft Excel or OpenOfficeCalc
21.
Syntax:
for index_var in list:
print (index_ var)
22.
Python programming language has four collections of data types such as List, Tuples, Set and Dictionary.
23.
(i) Analysis of an algorithm usually deals with the running and execution time of various operations involved.
(ii) The running time of an operation is calculated as how many programming instructions is executed per operation
24.
An algorithm that yields expected output for a valid input is called an algorithmic solution
25.
(i) New line
(ii) Tab
26.
(i) False
(ii) true
(iii) 1
(iv) true.
27.
The output of the program
7
10
28.
Variable are addresses (references, or pointers, to an object in memory
29.
(i) A pair is a compound data type that holds two other pieces of data. The two ways of representing the pair data type.
(ii) The first way is using List construct and the second way to implement pairs is with the tuple construct.
30.
(i) There can be different ways to implement an ADT, for example, the, List ADT can be implemented using singly linked list or doubly linked list.
(ii) Similarly, stack ADT and Queue ADT can be implemented using lists
31.
let y: = 0
(int) inc (int) x
y: =y+x;
return (y)
32.
A function definition which call itself is called recursive function.
33.
34.
(i) Charts
(ii) Tables
(iii) Graphs
(iv) Maps
(v) Infographics
(vi) Dashboards
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.
Users of database can be human users or programmers, other programs or applications.
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.
The default is reading in text mode. In this mode, while reading from the file the data would be in the format of strings.
41.
| SQL | MYSQL |
| Structured Query Language is a language used for accessing database | MySQL is a database | accessing databases. management system, like SQL Server, Oracle, Informix,postgres,etc. |
| SQL is a DBMS | MySQL is a RDBMS |
42.
SELECT * FROM Student WHERE Age <= 18 ORDER BY Name;
43.
Database normalization was first proposed by Dr.Edgar F Codd as an integral part of RDBMS in order to reduce data redundancy and improve data integrity. These rules are known as E FCodd Rules.
44.
| Hierarichal data Model | Network data model |
| In Hierarchical model, a child record has only one parent node | In a Network model, a child may have many parent nodes, |
| It Hierarchical model, data is represented as a simple tree like structure form. | It represents the data in many-to-many lationships. |
45.
46.
Once a class is created, next to create an object or instance of that class. This process of creating object is called as "Class Instantiation".
47.
| del function | remove () function | |
| (i) | del statement is used to delete elements whose index is known. | move( ) function is used to delete elements of a list if its index is unknown. |
| (ii) | The del statement can also be used to delete entire list. | The remove ( ) function can be used to delete one or more elements if the index value is not known. |
48.
4
49.
50.
(i) String is a data type in python, which is used to handle array of characters.
(ii) String is a sequence of Unicode characters that may be a combination of letters, numbers, or special symbols enclosed within single, double or even triple quotes.
(iii) Example :
Welcome to learning Python"
"Welcome to learning Python"
""Welcome to learning Python""
51.
(i) Python stops calling recursive function after 1000 calls by default.
(ii) So, it also allows you to change the limit using sys.setrecursionlimit (limit_value).
Example:
import sys
sys.setrecursionlimit(3000)
def fact(n):
if n == 0:
return 1
else:
return n * fact(n-1)
print(fact (2000))
52.
(i) User defined functions.
(ii) Built in functions.
(iii) Lambda functions.
(iv) Recursion functions.
53.
Syntax:
if < condition >:
statements-block 1
else:
statements-block 2
54.
There are three important control Structures
(i) Sequential
(ii) Alternative or Branching
(iii) Iterative or Looping
55.
Pseudo code is an informal way of Programming language syntax.
56.
An algorithm is a finite set of instructions to accomplish a particular task. It is a step-by-step procedure for solving a given problem.
57.
Literal is a raw data given in a variable or constant. In Python, there are various types of literals.
1) Numeric Literals:
Numeric Literals consists of digits and are immutable.
2) String Literals:
In Python a string literal is a sequence of characters surrounded by quotes.
3) Boolean Literals:
A Boolean literal can have any of the two values: True or False.
58.
(i) In Python, programs can be written in two namely Interactive mode and script mode.
(ii) Interactive mode allows us to write codes in Python command prompt (>>>).
(iii) Script mode is used to create and edit python source file.
59.
Namespaces are containers for mapping names of variables to objects.
Example : a : =5
Here the variable 'a' is mapped to the value '5.
60.
Scope should be used for a variable because; it limits a variables scope to a single definition. That is the variables are visible only to that part of the code. Essentially, variables are addresses to an object in memory. When you assign a variable with := to an instance (object), you're binding (or mapping) the variable to that instance. Multiple variables can be mapped to the same instance.
61.
62.
| S.No | Constructors | Selectors |
| (i) |
Constructors are functions that build the abstract data type. |
Selectors are functions that retrieve information from the data type. |
| (ii) | Constructors create an object, bundling together different pieces of information. | Selectors extract individual pieces of information from the object |
63.
A function is a unit of code that is often defined within a greater code structure. Specifically, a function contains a set of code that works on many kinds of inputs, like variables, expressions and produces a concrete output.
64.
(i) Subroutines are the basic building blocks of computer programs. Subroutines are small sections of code that are used to perform a particular task that can be used repeatedly.
(ii) In Programming languages these subroutines are called as Functions.
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