### 12th Standard EM Computer Science Study material & Free Online Practice Tests - View Model Question Papers with Solutions for Class 12 Session 2019 - 2020 TN Stateboard [ Chapter , Marks , Book Back, Creative & Term Based Questions Papers - Syllabus, Study Materials, MCQ's Practice Tests etc..]

#### 12th Standard Computer Science English Medium Model 5 Mark Creative Questions (New Syllabus 2020) - by Shalini - Madurai - View & Read

• 1)

Explain the representation of Abstract datatype using rational numbers.

• 2)

Explain the concept accesscontrol.

• 3)

Write a note on Efficiency of an algorithm

• 4)

Write a program in python to display he following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5

• 5)

Write a python program to find Fibonacci series of n terms using recursion.

#### 12th Standard Computer Science English Medium Model 5 Mark Book Back Questions (New Syllabus 2020) - by Shalini - Madurai - View & Read

• 1)

Identify in the following program
let rec gcd a b :=
if b <> 0 then gcd b (a mod b) else return a
i) Name of the function
ii) Identify the statement which tells it is a recursive function
iii) Name of the argument variable
iv) Statement which invoke the function recursively
v) Statement which terminates the recursion

• 2)

How will you facilitate data abstraction. Explain it with suitable example

• 3)

Write any Five Characteristics of Modules

• 4)

What is Binary search? Discuss with example

• 5)

Describe in detail the procedure Script mode programming

#### 12th Standard Computer Science English Medium Sample 5 Mark Creative Questions (New Syllabus 2020) - by Shalini - Madurai - View & Read

• 1)

Explain the concept accesscontrol.

• 2)

Differentiate Algorithm and program

• 3)

Write a program in python to display the following output.
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

• 4)

Write a program in python to display he following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5

• 5)

Explain different types arguments used in python with an example.

#### 12th Standard Computer Science English Medium Sample 5 Mark Book Back Questions (New Syllabus 2020) - by Shalini - Madurai - View & Read

• 1)

What are called Parameters and write a note on
(i) Parameter without Type
(ii) Parameter with Type

• 2)

What is a List? Why List can be called as Pairs. Explain with suitable example

• 3)

Explain the types of scopes for variable or LEGB rule with example.

• 4)

• 5)

Explain input() and print() functions with examples.

#### 12th Standard Computer Science English Medium Important 5 Mark Creative Questions (New Syllabus 2020) - by Shalini - Madurai - View & Read

• 1)

Explain the concept accesscontrol.

• 2)

Differentiate Algorithm and program

• 3)

Write a program in python to display the following output.
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5

• 4)

Write a program in python to display the following output.
(i) 5 5 5 5 5
4 4 4 4
3 3 3
2 2
1
(ii) 1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

• 5)

Write a python program to find HCF of two numbers using recursion.

#### 12th Standard Computer Science English Medium Important 5 Mark Book Back Questions (New Syllabus 2020) - by Shalini - Madurai - View & Read

• 1)

Explain with example Pure and impure functions.

• 2)

What is a List? Why List can be called as Pairs. Explain with suitable example

• 3)

Write any five benefits in using modular programming.

• 4)

Explain the characteristics of an algorithm.

• 5)

Discuss in detail about Tokens in Python

#### 12th Standard Computer Science English Medium Model 3 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Explain the syntax of function definitions

• 2)

Write a note on Data Abstraction

• 3)

Write a note on access modifiers of a class.

• 4)

Write a pseudo code for bubble sort

• 5)

Fill in the blanks.
>>> city = $\overset { (1) }{ \_ \_ \_ \_ \_ }$ (" Enter your City ")
Enter your city $\overset { (2) }{ \_ \_ \_ \_ \_ }$
>>> print ("I am from", $\overset { (3) }{ \_ \_ \_ \_ \_ }$)
I am from Chennai

#### 12th Standard Computer Science English Medium Model 3 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Mention the characteristics of Interface.

• 2)

Differentiate Concrete data type and abstract datatype

• 3)

Define Enclosed scope with an example

• 4)

What are the factors that influence time and space complexity

• 5)

Write short notes on Escape sequences with examples.

#### 12th Standard Computer Science English Medium Sample 3 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Write an algorithm to check whether the entered number is even or odd.

• 2)

Write a note on Data Abstraction

• 3)

How will you ensure the principle of data encapsulation in object - oriented programming?

• 4)

Write a pseudo code for Binary'search

• 5)

Write a pseudo code for Insertion sort

#### 12th Standard Computer Science English Medium Sample 3 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

What is the side effect of impure function. Give example.

• 2)

What are the different ways to access the elements of a list. Give example

• 3)

Define Enclosed scope with an example

• 4)

What are the factors that influence time and space complexity

• 5)

Write short notes on Escape sequences with examples.

#### 12th Standard Computer Science English Medium Important 3 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Write an algorithm to check whether the entered number is even or odd.

• 2)

Write a note on Data Abstraction

• 3)

How will you ensure the principle of data encapsulation in object - oriented programming?

• 4)

Write the different factors in which the time efficiency of an algorithm its measured

• 5)

Write the steps to do dynamic programming.

#### 12th Standard Computer Science English Medium Important 3 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

What is the side effect of impure function. Give example.

• 2)

What are the different ways to access the elements of a list. Give example

• 3)

Define Enclosed scope with an example

• 4)

Discuss about Algorithmic complexity and its types

• 5)

What are the assignment operators that can be used in Python?

#### 12th Standard Computer Science English Medium Model 2 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Give an example of pure function

• 2)

From the statement PI : = Presont), What does PI and person referred.

• 3)

What is the use ofLEGB rule?

• 4)

What is algorithmic solution?

• 5)

Write a note on Big omega asymptotic notation

#### 12th Standard Computer Science English Medium Model 2 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Write the inference you get from X:=(78).

• 2)

Differentiate constructors and selectors.

• 3)

What do you mean by Namespaces?

• 4)

Who is an Algorist?

• 5)

What is a literal? Explain the types of literals ?

#### 12th Standard Computer Science English Medium Sample 2 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Give an example of function definition parameter with type

• 2)

How the concrete level of data abstraction implemented?

• 3)

What is the use ofLEGB rule?

• 4)

What in algorithmic strategy? Give an example.

• 5)

What are asymptotic notations?

#### 12th Standard Computer Science English Medium Sample 2 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Write the inference you get from X:=(78).

• 2)

What is a Pair? Give an example.

• 3)

What is Mapping?

• 4)

What is Sorting?

• 5)

What is a literal? Explain the types of literals ?

#### 12th Standard Computer Science English Medium Important 2 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Give an example of pure function

• 2)

Write a pseudocode to depressant rational numbers using list.

• 3)

What is the use ofLEGB rule?

• 4)

What in algorithmic strategy? Give an example.

• 5)

What are asymptotic notations?

#### 12th Standard Computer Science English Medium Important 2 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Write the inference you get from X:=(78).

• 2)

What is Mapping?

• 3)

What is Sorting?

• 4)

Write short notes on Exponent data?

• 5)

Write note on range () in loop

#### 12th Standard Computer Science English Medium Model 1 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

The function definition is introduced by the keyword

• 2)

Explicitly_________the types can help with debugging.

• 3)

Which of the following is a type for objects whose behavior is defined by a set of value and a set of operations?

• 4)

Which of the following extract the information of the object?

• 5)

Which of the following defines a data abstraction by grouping related data items?

#### 12th Standard Computer Science English Medium Model 1 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Which of the following defines what an object can do?

• 2)

Which of the following is a compound structure?

• 3)

Which of the following security technique that regulates who canuse resources in a computing environment?

• 4)

Two main measures for the efficiency of an algorithm are

• 5)

Which of the following is not a stable sorting algorithm?

#### 12th Standard Computer Science English Medium  Sample 1 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Which of the following are the values which are passed to a function definition?

• 2)

Which of the following is an example of impure function?

• 3)

A_________ combines the external interface with an implementation of the interface

• 4)

How many ways to implement an ADT?

• 5)

List can also be called as

#### 12th Standard Computer Science English Medium Sample 1 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Which of the following is a unit of code that is often defined within a greater code structure?

• 2)

The data type whose representation is known are called

• 3)

Which of the following allow to name the various parts of a multi-item object?

• 4)

The process of subdividing a computer program into separate sub-programs is called

• 5)

Which of the following is not a stable sorting algorithm?

#### 12th Standard Computer Science English Medium Important 1 Mark Creative Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Which of the following are the values which are passed to a function definition?

• 2)

A_________ combines the external interface with an implementation of the interface

• 3)

Which of the following is a type for objects whose behavior is defined by a set of value and a set of operations?

• 4)

Which of the following replicate how we think about the world?

• 5)

Which of the following is contracted by placing expressions within square brackets separated by commas?

#### 12th Standard Computer Science English Medium Important 1 Mark Book Back Questions (New Syllabus) 2020 - by Shalini - Madurai - View & Read

• 1)

Which of the following is a distinct syntactic block?

• 2)

Which of the following is a compound structure?

• 3)

Which of the following is used in programming languages to map the variable and object?

• 4)

Which of the following members of a class can be handled only from within the class?

• 5)

From the following sorting algorithms which has the lowest worst case complexity?

#### 12th Standard Computer Science English Medium All Chapter Book Back and Creative One Mark Question 2020 - by Shalini - Madurai - View & Read

• 1)

Which of the following is a unit of code that is often defined within a greater code structure?

• 2)

Which of the following carries out the instructions defined in the interface?

• 3)

In which type of function the return type is solely depends on its argument passed?

• 4)

Explicitly_________the types can help with debugging.

• 5)

Which of the following functions that build the abstract data type ?

#### 12th Standard Computer Science English Medium All Chapter Book Back and Creative Two Mark Question 2020 - by Shalini - Madurai - View & Read

• 1)

What is a subroutine?

• 2)

Define Function with respect to Programming language.

• 3)

What is recursive function?

• 4)

Give an example of impure function.

• 5)

Differentiate constructors and selectors.

#### 12th Standard Computer Science English Medium All Chapter Book Back and Creative Three Mark Question 2020 - by Shalini - Madurai - View & Read

• 1)

What is the side effect of impure function. Give example.

• 2)

Differentiate pure and impure function.

• 3)

Explain the syntax of function definitions

• 4)

Write an algorithm to check whether the entered number is even or odd.

• 5)

Which strategy is used for program designing? Define that Strategy.

#### 12th Standard Computer Science English Medium All Chapter Book Back and Creative Five Mark Question 2020 - by Shalini - Madurai - View & Read

• 1)

What are called Parameters and write a note on
(i) Parameter without Type
(ii) Parameter with Type

• 2)

Explain with an example interface and implementation.

• 3)

How will you facilitate data abstraction. Explain it with suitable example

• 4)

How will you access the multi-item. Explain with example.

• 5)

Explain the representation of Abstract datatype using rational numbers.

#### 12th Computer Science - Data Visualization Using Pyplot: Line Chart, Pie Chart and Bar Chart - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

Define: Data Visualization.

• 2)

List the general types of data visualization.

• 3)

List the types of Visualizations in Matplotlib.

• 4)

How will you install Matplotlib?

• 5)

Write the difference between the following functions: plt.plot([1,2,3,4]), plt.plot([1,2,3,4], [1,4,9,16]).

#### 12th Computer Science - Data Manipulation Through SQL - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

Mention the users who uses the Database.

• 2)

Which method is used to connect a database? Give an example.

• 3)

What is the advantage of declaring a column as “INTEGER PRIMARY KEY”

• 4)

Write the command to populate record in a table. Give an example.

• 5)

Which method is used to fetch all rows from the database table?

#### 12th Computer Science - Importing C++ Programs in Python - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is the theoretical difference between Scripting language and other programming language?

• 2)

Differentiate compiler and interpreter

• 3)

Write the expansion of (i) SWIG (ii) MinGW

• 4)

What is the use of modules?

• 5)

What is the use of cd command. Give an example.

#### 12th Computer Science - Python and CSV Files - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is CSV File?

• 2)

Mention the two ways to read a CSV file using Python.

• 3)

Mention the default modes of the File.

• 4)

What is use of next() function?

• 5)

How will you sort more than one column from a csv file?Give an example statement.

#### 12th Computer Science - Structured Query Language - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

Write a query that selects all students whose age is less than 18 in order wise.

• 2)

Differentiate Unique and Primary Key constraint

• 3)

Write the difference between table constraint and column constraint?

• 4)

Which component of SQL lets insert values in tables and which lets to create a table?

• 5)

What is the difference between SQL and MySQL?

#### 12th Computer Science Database Concepts - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

Mention few examples of a database.

• 2)

List some examples of RDBMS.

• 3)

What is data consistency?

• 4)

What is the difference between Hierarchical and Network data model?

• 5)

What is normalization?

#### 12th Computer Science - Python Classes and Objects - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is class?

• 2)

What is instantiation?

• 3)

What is the output of the following program?
class Sample:
__num=10
def disp(self):
print(self.__num)
S=Sample()
S.disp()
print(S.__num)

• 4)

How will you create constructor in Python?

• 5)

What is the purpose of Destructor?

#### 12th Computer Science Lists, Tuples, Sets and Dictionary - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is List in Python?

• 2)

How will you access the list elements in reverse order?

• 3)

What will be the value of x in following python code?
List1=[2,4,6[1,3,5]]
x=len(List1)

• 4)

Differentiate del with remove( ) function of List.

• 5)

Write the syntax of creating a Tuple with n number of elements.

#### 12th Computer Science Strings and String Manipulations - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is String?

• 2)

Do you modify a string in Python?

• 3)

How will you delete a string in Python?

• 4)

What will be the output of the following python code?
str1 = “School”
print(str1*3)

• 5)

What is slicing?

#### 12th Computer Science Python Functions - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is function?

• 2)

Write the different types of function.

• 3)

What are the main advantages of function?

• 4)

What is meant by scope of variable? Mention its types.

• 5)

Define global scope.

#### 12th Computer Science Function - Two Marks Study Materials - by 8682895000 - View & Read

• 1)

What is a subroutine?

• 2)

Define Function with respect to Programming language.

• 3)

Write the inference you get from X:=(78).

• 4)

Differentiate interface and implementation

• 5)

Which of the following is a normal function definition and which is recursive function definition
i) let rec sum x y:
return x + y
ii) let disp :
print ‘welcome’
iii) let rec sum num:
if (num!=0) then return num + sum (num-1)
else
return num

#### 12th Computer Science - Full Portion Five Marks Questions - by 8682895000 - View & Read

• 1)

Identify in the following program
let rec gcd a b :=
if b <> 0 then gcd b (a mod b) else return a
i) Name of the function
ii) Identify the statement which tells it is a recursive function
iii) Name of the argument variable
iv) Statement which invoke the function recursively
v) Statement which terminates the recursion

• 2)

Explain with example Pure and impure functions.

• 3)

What is a List? Why List can be called as Pairs. Explain with suitable example

• 4)

Explain the representation of Abstract datatype using rational numbers.

• 5)

Write any five benefits in using modular programming.

#### 12th Computer Science - Full Portion Three Marks Question Paper - by 8682895000 - View & Read

• 1)

Why strlen is called pure function?

• 2)

Wha happens if you modify a variable outside the function? Give an example

• 3)

Explain the syntax of function definitions

• 4)

Which strategy is used for program designing? Define that Strategy.

• 5)

What are the different ways to access the elements of a list. Give example

#### 12th Computer Science - Full Portion Two Marks Question Paper - by 8682895000 - View & Read

• 1)

Define Function with respect to Programming language.

• 2)

Differentiate interface and implementation

• 3)

Differentiate constructors and selectors.

• 4)

What is a List? Give an example.

• 5)

What is Mapping?

#### 12th Computer Science - Public Exam Model Question Paper 2019 - 2020 - by Shalini - Madurai - View & Read

• 1)

In object oriented programs, how the object is processed and executed is__________

• 2)

Which of the following allow to name the various parts of a multi-item object?

• 3)

Fill up the blank in assign a variable with________to an object.

• 4)

Time complexity of bubble sort in best case is

• 5)

The program segment' executed based on the test of the condition are called _______

#### 12th Computer Science - Data Visualization Using Pyplot: Line Chart, Pie Chart and Bar Chart Model Question Paper 1 - by 8682895000 - View & Read

• 1)

To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
Python –m pip install –U pip

• 2)

a. import matplotlib.pyplot as plt
b. plt.plot(3,2)
c. plt.show()
Identify the output for the above coding

• 3)

Which kind of data encoded visually communicate a quantitative message

• 4)

The numerical data is encoded using

• 5)

Which of the following is a management software for installing python package?

#### 12th Computer Science - Data Manipulation Through SQL Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which of the following executes the SQL command to perform some action?

• 2)

Which of the following function retrieves the average of a selected column of rows in a table?

• 3)

The most commonly used statement in SQL is

• 4)

Which method has a major role in working with python?

• 5)

Which of the following statement in SQL is used to retrieve or fetch data from a table in a database?

#### 12th Computer Science - Importing C++ Programs in Python Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which of the following is a software design technique to split your code into separate parts?

• 2)

The module which allows you to interface with the Windows operating system is

• 3)

Which of the following is not a compiled statically typed language?

• 4)

Which of the following is a scripting language?

• 5)

Which of the following interface used for interfacing with C programs?

#### 12th Computer Science - Python and CSV Files Model Question Paper 1 - by 8682895000 - View & Read

• 1)

The command used to skip a row in a CSV file is

• 2)

Which of the following is a string used to terminate lines produced by writer()method of csv module?

• 3)

Making some changes in the data of the existing file or adding more data is called

• 4)

Which of the following can protect if the data itself contains commas in CSV file?

• 5)

Fields containing line breaks denoted by

#### 12th Computer Science - Structured Query Language Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which commands provide definitions for creating table structure, deleting relations, and modifying relation schemas.

• 2)

The clause used to sort data in a database

• 3)

Which of the following is a collection of data entries?

• 4)

Which component of SQL includes commands to insert) delete and modify tables in database?

• 5)

TCL stands for

#### 12th Computer Science - Database Concepts Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which of the following is an RDBMS?

• 2)

What symbol is used for SELECT statement?

• 3)

Which of the following is an organized collection of data, which can be stared and a cersed through computer system

• 4)

Which of the following can be a software or hardware based, with one sole purpose of storiing data?

• 5)

Which of the following divides the data in such a way that repetition of data is minimum in the database?

#### 12th Computer Science - Python Classes and Objects Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Functions defined inside a class:

• 2)

Which of the following is the private class variable?

• 3)

Which of the following called as instances of a class or class variable?

• 4)

Which of the operator used to accessing members of the class?

• 5)

Which position of the argument named self in python class method?

#### 12th Computer Science - Lists, Tuples, Sets and Dictionary Model Question Paper 1 - by 8682895000 - View & Read

• 1)

If List=[17,23,41,10] then List.append(32) will result

• 2)

Which of the following Python function can be used to add more than one element within an existing list?

• 3)

The keys in Python, dictionary is specified by

• 4)

In list, the negative index number begin with

• 5)

Which of the following operator can be used to alter the range of elements in the list?

#### 12th Computer Science - Strings and String Manipulations Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Defining strings within triple quotes allows creating:

• 2)

Strings in python:

• 3)

Which of the following formatting character is used to print exponential notation in upper case?

• 4)

String index values are also called as

• 5)

Which of the following is used to access and manipulate the strings

#### 12th Computer Science - Python Functions Model Question Paper 1 - by 8682895000 - View & Read

• 1)

While defining a function which of the following symbol is used.

• 2)

In which arguments the correct positional order is passed to a function?

• 3)

Which of the following keyword is used to define the function testpython(): ?

• 4)

Which of the following provides better modularity for your python application

• 5)

Which of the following statement exits a function?

#### 12th Computer Science - Control Structures Model Question Paper 1 - by 8682895000 - View & Read

• 1)

The condition in the if statement should be in the form of

• 2)

Which is the most comfortable loop?

• 3)

The following statements is an example of
Print ("ONE")
Print ("Four")

• 4)

What can be learned through alternative or branching statement?

• 5)

How many types of alternative or branching statements does python provides?

#### 12th Computer Science - Python - Variables and Operators Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which of the following is not a token ?

• 2)

Which operator is also called as Comparative operator?

• 3)

Which of the following is not Logical operator?

• 4)

In Python, How many ways programs can be written?

• 5)

In Python, the script mode programs can be stored with the extension.

#### 12th Computer Science - Algorithmic Strategies Model Question Paper 1 - by 8682895000 - View & Read

• 1)

From the following sorting algorithms which algorithm needs the minimum number of swaps?

• 2)

Which of the following is not a stable sorting algorithm?

• 3)

Time complexity of bubble sort in best case is

• 4)

Which of the following is not an example of data structures?

• 5)

Which of the following is an example of data structures?

#### 12th Computer Science - Scoping Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which scope refers to variables defined in current function?

• 2)

The process of subdividing a computer program into separate sub-programs is called

• 3)

Which of the following members of a class can be handled only from within the class?

• 4)

Which of the following keeps track of all these mappings with namespaces?

• 5)

How the names are mapped with objects in programming language?

#### 12th Computer Science - Data Abstraction Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which of the following functions that retrieve information from the data type?

• 2)

Which of the following allow to name the various parts of a multi-item object?

• 3)

Which of the following is constructed by placing expressions within square brackets?

• 4)

The process of providing only the essentials and hiding the details is known as

• 5)

To facilitate data abstraction, How many types of functions are created?

#### 12th Computer Science - Function Model Question Paper 1 - by 8682895000 - View & Read

• 1)

Which of the following is a unit of code that is often defined within a greater code structure?

• 2)

Which of the following are mandatory to write the type annotations in the function definition?

• 3)

Which of the following carries out the instructions defined in the interface?

• 4)

The function definition is introduced by the keyword

• 5)

The recursive function is defined using the keyword

#### 12th Computer Science - Data Visualization Using Pyplot: Line Chart, Pie Chart and Bar Chart Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Identify the package manager for Python packages, or modules.

• 2)

To install matplotlib, the following function will be typed in your command prompt. What does “-U”represents?
Python –m pip install –U pip

• 3)

a. import matplotlib.pyplot as plt
b. plt.plot(3,2)
c. plt.show()
Identify the output for the above coding

• 4)

Which of the following is the representation of information in a graphic format?

• 5)

Which of the following is a collection of resources assembled to create a single unified visual display?

#### 12th Computer Science - Data Manipulation Through SQL Model Question Paper - by Shalini - Madurai - View & Read

• 1)

SQLite falls under which database system?

• 2)

Which of the following is a control structure used to traverse and fetch the records of the database?

• 3)

The SQlite command opens the already created database is

• 4)

Which sqlite method is used to fetch all rows from the database table?

• 5)

Which SQlite keyword is used to extract only those records that fulfill a specified condition?

#### 12th Computer Science - Importing C++ Programs in Python Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Which of the following is not a scripting language?

• 2)

The module which allows you to interface with the Windows operating system is

• 3)

getopt() will return an empty array if there is no error in splitting strings to

• 4)

Which of the following is not general purpose language?

• 5)

Which of the following is not a compiled statically typed language?

#### 12th Computer Science - Python and CSV Files Model Question Paper - by Shalini - Madurai - View & Read

• 1)

A CSV file is also known as a ….

• 2)

Which of the following is a string used to terminate lines produced by writer()method of csv module?

• 3)

CSV means

• 4)

Which of the following built-in function Python has to open a file?

• 5)

While reading CSV file in text mode, the data would be in the format

#### 12th Computer Science - Structured Query Language Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Which command lets to change the structure of the table?

• 2)

The command to delete a table is

• 3)

Which of the following is a standard programming language to access and manipulate database?

• 4)

Which of the following is a collection of data entries?

• 5)

Which of the following processing skills of SQL provides commands for defining relation schemes?

#### 12th Computer Science - Database Concepts Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Who is called Father of Relational Database from the following?

• 2)

Which of the following is an RDBMS?

• 3)

Who developed ER model?

• 4)

Which of the following a data contain?

• 5)

In which of the following data organized in a way that, it can be easily accessed, managed and updated?

#### 12th Computer Science - Python Classes and Objects Model Question Paper - by Shalini - Madurai - View & Read

• 1)

A private class variable is prefixed with

• 2)

Which of the following method is used as destructor?

• 3)

Which of the following is the private class variable?

• 4)

Functions of the class are called as

• 5)

Which of the following is valid syntax for crating objects?

#### 12th Computer Science - Lists, Tuples, Sets and Dictionary Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Which of the following function is used to count the number of elements in a list?

• 2)

What is the use of type() function in python?

• 3)

Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets?

• 4)

In list, the negative index number begin with

• 5)

a = ['A', 2, 3, [4,5,6]] is an example of

#### 12th Computer Science - Strings and String Manipulations Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Strings in python:

• 2)

Which of the following is the slicing operator?

• 3)

Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

• 4)

String index values are also called as

• 5)

Which of the following is used to access and manipulate the strings

#### 12th Computer Science - Python Functions Model Question Paper - by Shalini - Madurai - View & Read

• 1)

Which of the following keyword is used to define the function testpython(): ?

• 2)

What will be the output if the return has no argument?

• 3)

Non-keyword variable arguments are called

• 4)

Which of the following statement causes your function to exit?

• 5)

A _ with local scope can be accessed only within the block

#### 12th Computer Science - Control Structures Model Question Paper - by Shalini - Madurai - View & Read

• 1)

The condition in the if statement should be in the form of

• 2)

Which is the most comfortable loop?

• 3)

Which amongst this is not a jump statement ?

• 4)

Which of the following is used to alter the control flow of the process depending on the state of the process?

• 5)

How many important control structures in python?

#### 12th Computer Science - Python - Variables and Operators Model Question Paper - by Shalini - Madurai - View & Read

• 1)

The Python prompt indicates that Interpreter is ready to accept instruction.

• 2)

Which of the following is not a Keyword in Python ?

• 3)

Which of the following is not Logical operator?

• 4)

In Python, How many ways programs can be written?

• 5)

In Python, the script mode programs can be stored with the extension.

#### 12th Computer Science - Algorithmic Strategies Model Question Paper - by Shalini - Madurai - View & Read

• 1)

The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi is called?

• 2)

The Θ notation in asymptotic evaluation represents

• 3)

If a problem can be broken into subproblems which are reused several times, the problem possesses which property?

• 4)

Which of the following is not a characteristic of an algorithm?

• 5)

Which of the following is not an example of data structures?

#### 12th Computer Science - Scoping Model Question Paper - by Shalini - Madurai - View & Read

• 1)

The process of binding a variable name with an object is called

• 2)

Which of the following security technique that regulates who canuse resources in a computing environment?

• 3)

Which members are accessible from outside the class?

• 4)

Which of the following keeps track of all these mappings with namespaces?

• 5)

Which of the following rule is used to decide the order in which the scopes are to be searched for scope resolution?

#### 12th Computer Science - Data Abstraction Important Questions - by Shalini - Madurai - View & Read

• 1)

Which of the following functions that build the abstract data type ?

• 2)

Which of the following functions that retrieve information from the data type?

• 3)

Which of the following allow to name the various parts of a multi-item object?

• 4)

Which of the following is constructed by placing expressions within square brackets?

• 5)

#### 12th Computer Science - Function Important Questions - by Shalini - Madurai - View & Read

• 1)

The small sections of code that are used to perform a particular task is called

• 2)

Which of the following are mandatory to write the type annotations in the function definition?

• 3)

Which of the following carries out the instructions defined in the interface?

• 4)

The functions which will give exact result when same arguments are passed are called

• 5)

The functions which cause side effects to the arguments passed are called

#### 12th Computer Science - Half Yearly Model Question Paper - 2019 - by Shalini - Madurai - View & Read

• 1)

Which of the following is a unit of code that is often defined within a greater code structure?

• 2)

CDT expansion is

• 3)

Which of' the following variable can be accessed inside or outside of all the functions in a program?

• 4)

Time complexity of bubble sort in best case is

• 5)

Find the odd man out

#### 12th Standard Computer Science - Data Visualization Using Pyplot: Line Chart, Pie Chart and Bar Chart Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Which is a python package used for 2D graphics?

• 2)

Which key is used to run the module?

• 3)

Which kind of data encoded visually communicate a quantitative message

• 4)

Which of the following is not a type of Data Visualization?

• 5)

Which of the following is a collection of resources assembled to create a single unified visual display?

#### 12th Computer Science - Data Manipulation Through SQL Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Which of the following is an organized collection of data?

• 2)

Which of the following executes the SQL command to perform some action?

• 3)

The function that returns the largest value of the selected column is

• 4)

Which of the following clause avoide the duplicate?

• 5)

Which method is SQlite is used create a connection with a database file created?

#### 12th Computer Science - Importing C++ Programs in Python Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Which of the following is not a scripting language?

• 2)

The expansion of API is

• 3)

The module which allows you to interface with the Windows operating system is

• 4)

What does __name__ contains ?

• 5)

Which of the following is not a compiled statically typed language?

#### 12th Standard Computer Science - Python and CSV Files Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

A CSV file is also known as a ….

• 2)

Which of the following module is provided by Python to do several operations on the CSV files?

• 3)

Which of the following is a string used to terminate lines produced by writer()method of csv module?

• 4)

Which of the following creates an object which maps data to a dictionary?

• 5)

Making some changes in the data of the existing file or adding more data is called

#### 12th Standard Computer Science - Structured Query Language (SQL) Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Which commands provide definitions for creating table structure, deleting relations, and modifying relation schemas.

• 2)

Which command lets to change the structure of the table?

• 3)

The clause used to sort data in a database

• 4)

Which of the following language was designed for managing and accessing data in RDBMS?

• 5)

The specific related information about every record in the table is maintained by

#### 12th Computer Science - Term II Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

The small sections of code that are used to perform a particular task is called

• 2)

A sequence of immutable objects is called

• 3)

Which of the following is used in programming languages to map the variable and object?

• 4)

The Θ notation in asymptotic evaluation represents

• 5)

Which of the following is not a Keyword in Python ?

#### 12th Standard Computer Science - Database Concepts Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

What is the acronym of DBMS?

• 2)

What type of relationship does hierarchical model represents?

• 3)

Which of the following is an RDBMS?

• 4)

A tuple is also known as

• 5)

Who developed ER model?

#### 12th Computer Science - Python Classes and Objects Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Functions defined inside a class:

• 2)

Which of the following method is automatically executed when an object is created?

• 3)

Which of the following class declaration is correct?

• 4)

The process of creating an object is called as:

• 5)

Which of the following is not an object oriented language?

#### 12th Computer Science - Lists, Tuples, Sets and Dictionary Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Pick odd one in connection with collection data type

• 2)

Let list1=[2,4,6,8,10], then print(List1[-2]) will result in

• 3)

If List=[17,23,41,10] then List.append(32) will result

• 4)

What will be the result of the following Python code?
S=[x**2 for x in range(5)]
print(S)

• 5)

Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets?

#### 12th Standard Computer Science - Strings and String Manipulations Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

What will be the output of the following code?
str1 = "Chennai Schools"
str1[7] = "-"

• 2)

Which of the following is the slicing operator?

• 3)

Which of the following formatting character is used to print exponential notation in upper case?

• 4)

Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

• 5)

The subscript of a string may be:

#### 12th Standard Computer Science - Python Functions Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

Write the rules of local variable.

• 2)

What happens when we modify global variable inside the function?

• 3)

Differentiate ceil() and floor() function?

• 4)

How recursive function works?

• 5)

What are the points to be noted while defining a function?

#### 12th Standard Computer Science - Strings and String Manipulations Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

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

• 2)

Write a short about the followings with suitable example:
(a) capitalize( )
(b) swapcase( )

• 3)

What will be the output of the given python program?
str1 = "welcome"
str2 = "to school"
str3=str1[:2]+str2[len(str2)-2:]
print(str3)

• 4)

What is the use of format( )? Give an example.

• 5)

Write a note about count( ) function in python.

#### 12th Standard Computer Science - Lists, Tuples, Sets and Dictionary Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

What are the advantages of Tuples over a list?

• 2)

What will be the output of the following code?
list = [2**x for x in range(5)]
print(list)

• 3)

Explain the difference between del and clear( ) in dictionary with an example.

• 4)

List out the set operations supported by python.

• 5)

What are the difference between List and Dictionary?

#### 12th Standard Computer Science - Python Classes and Objects Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

What are class members? How do you define it?

• 2)

Write a class with two private class variables and print the sum using a method.

• 3)

Find the error in the following program to get the given output?
class Fruits:
def __init__(self, f1, f2):
self.f1=f1
self.f2=f2
def display(self):
print("Fruit 1 = %s, Fruit 2 = %s" %(self.f1, self.f2))
F = Fruits ('Apple', 'Mango')
del F.display
F.display()

• 4)

What is the output of the following program?
class Greeting:
def __ini
t__(self, name):
self.__name = name
def di
splay(self):
print("Good Morning ", self.__name)
obj.display()

• 5)

How do define constructor and destructor in Python?

#### 12th Standard Computer Science - Database Concepts Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

What is the difference between Select and Project command?

• 2)

What is the role of DBA?

• 3)

Explain Cartesian Product with a suitable example.

• 4)

Explain Object Model with example.

• 5)

Write a note on different types of DBMS users.

#### 12th Computer Science - Structured Query Language Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

What is a constraint? Write short note on Primary key constraint.

• 2)

Write a SQL statement to modify the student table structure by adding a new field.

• 3)

Write any three DDL commands.

• 4)

Write the use of Savepoint command with an example.

• 5)

Write a SQL statement using DISTINCT keyword.

#### 12th Computer Science - Python and CSV Files Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

Write a note on open() function of python. What is the difference between the two methods?

• 2)

Write a Python program to modify an existing file.

• 3)

Write a Python program to read a CSV file with default delimiter comma (,).

• 4)

What is the difference between the write mode and append mode

• 5)

#### 12th Computer Science - Importing C++ Programs in Python Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

Differentiate PYTHON and C++

• 2)

What are the applications of scripting language?

• 3)

What is MinGW? What is its use?

• 4)

Identify the module ,operator, definition name for the following
welcome.display()

• 5)

What is sys.argv? What does it contain?

#### 12th Computer Science - Data Manipulation Through SQL Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

What is SQLite?What is it advantage?

• 2)

Mention the difference between fetchone() and fetchmany()

• 3)

What is the use of Where Clause.Give a python statement Using the where clause.

• 4)

Read the following details.Based on that write a python script to display department wise records
database name :- organization.db
Table name :- Employee
Columns in the table :- Eno, EmpName, Esal, Dept

• 5)

Read the following details.Based on that write a python script to display records in desending order of
Eno
database name :- organization.db
Table name :- Employee
Columns in the table :- Eno, EmpName, Esal, Dept

#### 12th Computer Science - Data Visualization Using Pyplot: Line Chart, Pie Chart and Bar Chart Three and Five Marks Questions - by Shalini - Madurai - View & Read

• 1)

Draw the output for the following data visualization plot.
import matplotlib.pyplot as plt
plt.bar([1,3,5,7,9],[5,2,7,8,2], label="Example one")
plt.bar([2,4,6,8,10],[8,6,2,5,6], label="Example two", color='g')
plt.legend()
plt.xlabel('bar number')
plt.ylabel('bar height')
plt.title('Epic Graph\nAnother Line! Whoa')
plt.show()

• 2)

Write any three uses of data visualization.

• 3)

Write the coding for the following:
a. To check if PIP is Installed in your PC.
b. To Check the version of PIP installed in your PC.
c. To list the packages in matplotlib.

• 4)

Write the plot for the following pie chart output.

• 5)

Write a python code to display the following plot.

#### 12th Computer Science - Control Structures 3 Marks and 5 Marks Questions - by Shalini - Madurai - View & Read

• 1)

Write a program to display
A
A B
A B C
A B C D
A B C D E

• 2)

Write note on if..else structure.

• 3)

Using if..else..elif statement write a suitable program to display largest of 3 numbers.

• 4)

Write the syntax of while loop.

• 5)

List the differences between break and continue statements.

#### 12th Standard Computer Science - Control Structures Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

How many important control structures are there in Python?

• 2)

Which is the most comfortable loop?

• 3)

What is the output of the following snippet?
T=1
while T:
print(True)
break

• 4)

Which amongst this is not a jump statement ?

• 5)

Find the odd man out.

#### 12th Standard Computer Science - Python - Variables and Operators Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

Who developed Python ?

• 2)

Which of the following is not a token ?

• 3)

Which operator is also called as Comparative operator?

• 4)

Which of the following is not Logical operator?

• 5)

Which operator is also called as Conditional operator?

#### 12th Standard Computer Science - Algorithmic Strategies Model Question Paper - by Beula - Ramanathapuram - View & Read

• 1)

The word comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi is called?

• 2)

Two main measures for the efficiency of an algorithm are

• 3)

From the following sorting algorithms which has the lowest worst case complexity?

• 4)

Time complexity of bubble sort in best case is

• 5)

In dynamic programming, the technique of storing the previously calculated values is called ?

### TN Stateboard Education Study Materials

Practical Notes

#### 12th Stateboard Computer Science 2019 - 2020 Academic Monthly Syllabus - by Shalini - Madurai Aug 02, 2019 Aug 02, 2019

Computer Science 2019 - 2020 Academic Monthly Syllabus

### TN Stateboard Updated Class 12th Computer Science Syllabus

#### Function

Introduction - Function with respect to Programming language - Interface vs Implementation - Pure functions

#### Data Abstraction

Data Abstraction - Introduction - Abstract Data Types - Constructors and Selectors - Representation of Abstract datatype using Rational numbers - Lists, Tuples - Data Abstraction in Structure

#### Scoping

Introduction - Variable Scope - LEGB rule - Types of Variable Scope - Module

#### Algorithmic Strategies

Introduction to Algorithmic strategies - Complexity of an Algorithm - Efficiency of an algorithm - Algorithm for Searching Techniques - Sorting Techniques - Dynamic programming

#### Python -Variables and Operators

Introduction - Key features of Python - Programming in Python - Input and Output Functions - Comments in Python - Indentation - Tokens - Python Data types

#### Control Structures

Introduction - Control Structures

#### Python functions

Introduction - Defining Functions - Calling a Function - Passing Parameters in Functions - Function Arguments - Anonymous Functions - The return Statement - Scope of Variables - Functions using libraries - Python recursive functions

#### Strings and String manipulations

Introduction - Creating Strings - Accessing characters in a String - Modifying and Deleting Strings - String Operators - String Formatting Operators - Formatting characters - The format( ) function - Built-in String functions - Membership Operators

#### Lists, Tuples, Sets and Dictionary

Introduction to List - Tuples - Sets - Dictionaries

#### Python Classes and objects

Introduction - Defining classes - Creating Objects - AccessingClass Members - Class Methods - Constructor and Destructor in Python - Public and Private Data Members

#### Database Concepts

Data - Information - Database - Database Management System (DBMS) - Database Structure - Data Model - Difference between DBMS and RDBMS - Types of Relationships - Relational Algebra in DBMS

#### Structured Query Language (SQL)

Introduction to SQL - Role of SQL in RDBMS - Processing Skills of SQL - Creating Database - Components of SQL - Data Types - SQL Commands and their Functions

#### Python and CSV files

Introduction - Difference between CSV and XLS file formats - Purpose of CSV File - Creating a CSV file using Notepad (or any text editor - Create a CSV File using Microsoft Excel - Read and Write a CSV file using Python - Writing Data into Different Types in CSV Files

#### Importing C++ programs in Python

Introduction - Scripting Language - Applications of Scripting Languages - Features of Python over C++ - Importing C++ Files in Python - Python Program to import C++ - Python program Executing C++ Program using control statement - How Python is handling the errors in C++ - Python program Executing C++ Program Containing Arrays - Python program Executing C++ Program Containing Functions - Python program to illustrate the inheritance of a Class

#### Data manipulation through SQL

Introduction - SQLite - Creating a Database using SQLite - SQL Query Using Python - The SQL AND, OR and NOT Operators - Querying A Date Column - Aggregate Functions - Updating A Record - Deletion Operation - Data input by User - Using Multiple Table for Querying - Integrating Query With CSV File - Table List

#### Data visualization using pyplot: line chart, pie chart and bar chart

Data Visualization Definition - Getting Started - Special Plot Types

#### TN StateboardStudy Material - Sample Question Papers with Solutions for Class 12 Session 2019 - 2020

Latest Sample Question Papers & Study Material for class 12 session 2019 - 2020 for Subjects Maths, Chemistry, Physics, Biology, Business Maths, Economics, Commerce, Accountancy, History, Computer Applications, Computer Technology in PDF form to free download [ available question papers ] for practice. Download QB365 Free Mobile app & get practice question papers.

More than 1000+ TN Stateboard Syllabus Sample Question Papers & Study Material are based on actual Board question papers which help students to get an idea about the type of questions that will be asked in Class 12 Final Board Public examinations. All the Sample Papers are adhere to TN Stateboard guidelines and its marking scheme , Question Papers & Study Material are prepared and posted by our faculty experts , teachers , tuition teachers from various schools in Tamilnadu.

Hello Students, if you like our sample question papers & study materials , please share these with your friends and classmates.