12th Standard Syllabus & Materials
12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set D
NEW12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set C
NEW12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set B
NEW12th Standard
TN 12th Standard Biology Zoology - Reproduction in Organisms Creative Questions Study Material - QB365 Set A
NEW12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set D
NEW12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set C

Published on: 13/05/2022
12th Standard Computer Science English Medium Function Important Questions
latest Sample Question PapersDownload 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.
The small sections of code that are used to perform a particular task is called
Subroutines
Files
Pseudo code
Modules
2.
Which of the following is a unit of code that is often defined within a greater code structure?
Subroutines
Function
Files
Modules
3.
4.
The variables in a function definition are called as
Subroutines
Function
Definition
Parameters
5.
The values which are passed to a function definition are called
Arguments
Subroutines
Function
Definition
6.
Which of the following are mandatory to write the type annotations in the function definition?
{ }
( )
[ ]
< >
7.
Which of the following defines what an object can do?
Operating System
Compiler
Interface
Interpreter
8.
Which of the following carries out the instructions defined in the interface?
Operating System
Compiler
Implementation
Interpreter
9.
The functions which will give exact result when same arguments are passed are called
Impure functions
Partial Functions
Dynamic Functions
Pure functions
10.
The functions which cause side effects to the arguments passed are called
Impure function
Partial Functions
Dynamic Functions
Pure functions
11.
12.
Which of the following functions that retrieve information from the data type?
Constructors
Selectors
recursive
Nested
13.
The data structure which is a mutable ordered sequence of elements is called
Built in
List
Tuple
Derived data
14.
A sequence of immutable objects is called
Built in
List
Tuple
Derived data
15.
The data type whose representation is known are called
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
16.
The data type whose representation is unknown are called
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
17.
Which of the following is a compound structure?
Pair
Triplet
single
quadrat
18.
Bundling two values together into one can be considered as
Pair
Triplet
single
quadrat
19.
Which of the following allow to name the various parts of a multi-item object?
Tuples
Lists
Classes
quadrats
20.
Which of the following is constructed by placing expressions within square brackets?
Tuples
Lists
Classes
quadrats
21.
Which of the following refers to the visibility of variablesin one part of a program to another part of the same program.
Scope
Memory
Address
Accessibility
22.
The process of binding a variable name with an object is called
Scope
Mapping
late binding
early binding
23.
Which of the following is used in programming languages to map the variable and object?
::
:=
=
==
24.
Containers for mapping names of variables to objects is called
Scope
Mapping
Binding
Namespaces
25.
Which scope refers to variables defined in current function?
Local Scope
Global scope
Module scope
Function Scope
26.
The process of subdividing a computer program into separate sub-programs is called
Procedural Programming
Modular programming
Event Driven Programming
Object oriented Programming
27.
Which of the following security technique that regulates who can use resources in a computing environment?
Password
Authentication
Access control
Certification
28.
Which of the following members of a class can be handled only from within the class?
Public members
Protected members
Secured members
Private members
29.
Which members are accessible from outside the class?
Public members
Protected members
Secured members
Private members
30.
The members that are accessible from within the class and are also available to its sub classes is called
Public members
Protected members
Secured members
Private members
31.
Which of the following are expressed using statements of a programming language?
Functions
Algorithm
Interface
Implementation
32.
What must the used when a bulk of statements to be repeated for many number of times?
Algorithm
Program
Subroutines
Parameters
33.
Which of the following contains a set a code that works an many kinds of input and produces a concrete output?
Function
Algorithm
Arguments
Language
34.
Which of the following are the values which are passed to a function definition?
Parameters
Algorithm
Data types
Arguments
35.
The function definition is introduced by the keyword
def
rec
let
infer
36.
The recursive function is defined using the keyword
let
let rec
name
infer
37.
A function definition which call itself is called
user defined function
built-in function
derived function
recursive function
38.
Which of the following is a description of all functions in object oriented programming language?
Implementation
parameter
Interface
Arugument
39.
Which of the following is an instance created from the class?
parameter
function
subroutines
object
40.
Which of the following is an example of impure function?
Strlent( )
randomt( )
sqrfi( )
puref( )
41.
In which type of function the return type is solely depends on its argument passed?
pure
impure
parameterized
monochromatize
42.
In which type of function the return type does not solely depends on its argument passed?
Pure
Parameterized
Impure
Monochromatize
43.
Subroutines are called as________
Algorithm
Interface
Parameters
Function
44.
_______are the variables in a function definition.
Arguments
Parameters
Identifiers
Operators
45.
Explicitly_________the types can help with debugging.
defining
annotating
informing
computing
46.
All functions are________ definitions.
static
dynamic
algorithmic
static
47.
A_________ combines the external interface with an implementation of the interface
parameter without type
class declaration
function definition
parameter with type
48.
In object oriented programs__________ are the interface
Implementation
parameters
Interface
Arguments
49.
In object oriented programs, how the object is processed and executed is__________
Implementation
Interface
recursion
function
50.
Strlen is an example________function.
user defined
impure
pure
recursive
51.
Evaluation of__________ functions does not cause any side effects to its output?
Impure
pure
Recursive
built-in
52.
Which of the following is a powerful concept that allows programmers to treat codes as objects?
Encapsulation
Data Abstraction
Inheritance
Polymorphism
53.
Which of the following provides modularity?
Datatypes
Subroutines
Classes
Abstraction
54.
ADT expansion is
Abstract Data Template
Absolute Data Type
Abstract Data Type
Application Development Tool
55.
Which of the following is a type for objects whose behavior is defined by a set of value and a set of operations?
User-defined datatype
Derived datatype
Built-in datatype
Abstract datatype
56.
ADT behavior is defined by
(i) Set of Variables
(ii) Set of Value
(iii) Set of Functions
(iv) Set of Operations
i, ii
ii, iii
ii, iv
i, iii
57.
The process of providing only the essentials and hiding the details is known as
Functions
Abstraction
Encapsulation
Pairs
58.
Which of the following gives an implementation independent view?
Abstract
Concrete
Datatype
Behavior of an object
59.
How many ways to implement an ADT?
Only one
Two
Three
Many
60.
Which of the following are implemented using & lists?
Singly linked list ADT
Doubly Linked list ADT
Queue ADT
All of these
61.
Which of the following replicate how we think about the world?
Queue ADT
Data Hiding
Data Abstraction
Stack ADT
62.
To facilitate data abstraction, How many types of functions are created?
2
3
4
Only one
63.
Which of the following function that facilitate the data abstraction?
Constructors
Destructors
Selectors
a and c
64.
Which of the following are functions that build the abstract datatypet?
Constructors
Destructors
Selectors
All of these
65.
Which of the following extract the information of the object?
Constructors
Functions
Selectors
Destructors
66.
In which data representation, a definition for each function is known
User defined
Buil-in
Abstract
Concrete
67.
How many parts are the!"ein the program?
2
3
4
Many
68.
To implement the concrete level of data abstraction the language python provides a compound structure called
ADT
Concrete data
Pair
User defined function
69.
Which of the following is contracted by placing expressions within square brackets separated by commas?
List
Tuple
Set
Dictionary
70.
How many values can be stared in the list?
4
10
100
Multiple
71.
List can also be called as
Functions
Class
Structure
Pairs
72.
How many ways are there to represent pair datatypet?
2
4
3
5
73.
Color = ('red', 'green, 'blue') is an example of
Dictionary
List
Set
Tuple
74.
Which of the following does not allow us to name the various parts of a multi-item object?
List
Triple
Pair
All of these
75.
Which of the following defines a data abstraction by grouping related data items?
List
Pair
Class
Tuple
76.
Which of the following as bundled data and the functions that work on that data?
Object
Pair
List
Class
77.
I: = [10,20] is an example
Tuple
Set
List
Dictionary
78.
CDT expansion is
Collective Data Type
Class Data Type
Concrete Data Type
Central Data Type
79.
Data Abstraction allows programmers to treat code as_______
Objects
Classes
Members
Parameters
80.
________are the representation for Abstract Data types.
Objects
Classes
Functions
Lists
81.
Classes are the representation for___________
Abstract datatype
Built-in datatype
Concrete datatype
Essential datatype
82.
The____________ can be implemented using singly linked list or doubly linked list
Tuple ADT
List ADT
Function ADT
List ADT
83.
The basic idea of ________ is to structure programs so that they operate on abstract dat(a)
Encapsulation
Polymorphism
Data type
Data Abstraction
84.
A________ data representation is defined as an independent part of the program.
Abstract
Concrete
List
Tuple
85.
______ are functions that retrieve information from the data type.
Constructors
Selectors
List
Tuple
86.
______is made up of list or Tuples
Set
Pair
Dictionary
Control Structures
87.
A ________ is a comma separated values surround with parentheses.
List
Tuple
Set
Dictionary
88.
Tuple is constructed by using ______ and________
( )
[ ]
<>
{}
89.
A________ is not just data, it has functions defined within it.
Class
List
Pair
Object
90.
List is constructed by using ________ and _________.
( ), ,
< >,;
[ ], ,
[ ],:
91.
The part of a program that can see or use the variables are called
Scope
Parameter
Function
Indentation
92.
Which of the following refers to the addresses to an object in memory?
Functions
Indentation
Variables
Operators
93.
How many variables can be mapped to the same instance?
2
3
4
Multiple
94.
Which of the following keeps track of all these mappings with namespaces?
Programming languages
Application software
System software
MySQL
95.
How the names are mapped with objects in programming language?
name == object
name:: object
name:= object
object:= name
96.
The order in which variables have to be mapped to the object in order to obtain the value is called
Rule
Syntax
Scope
Hierarchy
97.
98.
Write the below interns of hierarchy (highest to lowest)?
(1) Reversed names in built in functions
(2) Defined inside function
(3) Defined inside enclosing function
(4) Defined at the uppermost level
3,2,1,4
1,4,2,3
2,3, 1,4
2,3,4, 1
99.
How many types of variable scope are there?
2
4
3
6
100.
Which of the following is not a variable scope?
Global
Enclosed
List
Built-in
101.
Choose the type of scope for a variable '9! defined in the following program.
Disp ( ):
a:=7
Print a
Disp ( )
Global
Enclosed
Local
Built-in
102.
A variable which is declared outside all the functions in a program is known as
Local
Enclosed
Extern
Global
103.
Which of the following variable can be accessed inside or outside of all the functions in a program?
Local
Global
Enclosed
Built-in
104.
What is the output of the statement in the following program?
X:=10
Disp ( ):
a:=7
print a
Disp ( ) :
Print a
710
107
7
10
105.
Which of the following can ease the job of programming and debugging the program?
Statements
Interaction
Modules
Scopes
106.
Which of the following programming enables programmers to divide up the work and retry pieces of the program independently?
Modular Programming
Procedural Programming
Object Oriented Programming
Structural Programming
107.
The example of modules are
Procedures
Subroutines
Functions
All of these
108.
Which of the following contain instructions, processing logic and data?
Scopes
Modules
Indentation
Access control
109.
The following are the type of variable scopes Find the odd one out
Local
Enclosed
Global
Protected
110.
Which of the following members of a class are denied access from outside the class?
Private
Protected
Public
Enclosed
111.
Which of the following is not a classical object oriented language
C++
Java
Python
C
112.
Which of the following keywords are not used to control the access to class members?
Public
Protected
Public
Global
113.
How many access control keywords are there?
2
3
4
6
114.
Find the odd man out
Public
Local
Protected
Private
115.
The arrangement of private instance variables and public methods ensure the principle of
Inheritance
Polymorphism
Encapsulation
Abstraction
116.
Which of the following members of a class are accessible from within the class and available to its subclass?
Private
Protected
Public
All of these
117.
By default, the Python. class members are
Private
Protected
Global
Public
118.
By default, the C++ and Java class members are
Private
Protected
Public
Local
119.
Programs are composed of one or more independently developed
Access control
Encapsulatio
Modules
Members of a class
120.
Scope refers to the visibility of___________.
Variables
Parameters
Functions
All of these
121.
Fill up the blank in assign a variable with________to an object.
=
! =
: =
= =
122.
The duration for which a variable is alive is called its_______
End time
Life time
Scope time
Visible time
123.
The scope of a_______ is that part of the code where it is visible
Keyword
Variable
Function
Operator
124.
A Function always first look up for a variable name in its______ scope
Local
Enclosed
Global
Built-in
125.
The inner function can access the variable of the outer function. This is called________scope.
Local
Function
Enclosed
Global
126.
______can be separately compiled and stored in a library
Characteristics
Syntax
Modules
none of these
127.
In Object Oriented Programming Language security is implanted through_______
Access modifiers
Access modules
Access variables
Keywords
128.
___________is a selective restriction of access to data in a program?
Control variable
System authentication
Access control
Module
129.
_________members of the class are accessible from outside the class
Private
Privated
Public
All of these
1.
(a)
Subroutines
2.
(b)
Function
3.
(c)
4.
(d)
Parameters
5.
(a)
Arguments
6.
(b)
( )
7.
(c)
Interface
8.
(c)
Implementation
9.
(d)
Pure functions
10.
(a)
Impure function
11.
(a)
12.
(b)
Selectors
13.
(b)
List
14.
(c)
Tuple
15.
(c)
Concrete datatype
16.
(d)
Abstract datatype
17.
(a)
Pair
18.
(a)
Pair
19.
(c)
Classes
20.
(b)
Lists
21.
(a)
Scope
22.
(b)
Mapping
23.
(c)
=
24.
(d)
Namespaces
25.
(a)
Local Scope
26.
(b)
Modular programming
27.
(c)
Access control
28.
(d)
Private members
29.
(a)
Public members
30.
(b)
Protected members
31.
(b)
Algorithm
32.
(c)
Subroutines
33.
(a)
Function
34.
(a)
Parameters
35.
(c)
let
36.
(b)
let rec
37.
(d)
recursive function
38.
(c)
Interface
39.
(d)
object
40.
(a)
Strlent( )
41.
(a)
pure
42.
(c)
Impure
43.
(d)
Function
44.
(b)
Parameters
45.
(b)
annotating
46.
(a)
static
47.
(b)
class declaration
48.
(c)
Interface
49.
(a)
Implementation
50.
(c)
pure
51.
(b)
pure
52.
(b)
Data Abstraction
53.
(d)
Abstraction
54.
(c)
Abstract Data Type
55.
(d)
Abstract datatype
56.
(c)
ii, iv
57.
(b)
Abstraction
58.
(a)
Abstract
59.
(d)
Many
60.
(d)
All of these
61.
(c)
Data Abstraction
62.
(a)
2
63.
(d)
a and c
64.
(a)
Constructors
65.
(c)
Selectors
66.
(d)
Concrete
67.
(a)
2
68.
(c)
Pair
69.
(a)
List
70.
(d)
Multiple
71.
(d)
Pairs
72.
(a)
2
73.
(d)
Tuple
74.
(d)
All of these
75.
(c)
Class
76.
(d)
Class
77.
(b)
Set
78.
(c)
Concrete Data Type
79.
(a)
Objects
80.
(b)
Classes
81.
(a)
Abstract datatype
82.
(b)
List ADT
83.
(d)
Data Abstraction
84.
(b)
Concrete
85.
(b)
Selectors
86.
(b)
Pair
87.
(b)
Tuple
88.
(a)
( )
89.
(a)
Class
90.
(c)
[ ], ,
91.
(a)
Scope
92.
(b)
Indentation
93.
(d)
Multiple
94.
(a)
Programming languages
95.
(c)
name:= object
96.
(c)
Scope
97.
(a)
98.
(d)
2,3,4, 1
99.
(b)
4
100.
(c)
List
101.
(c)
Local
102.
(d)
Global
103.
(b)
Global
104.
(d)
10
105.
(c)
Modules
106.
(a)
Modular Programming
107.
(d)
All of these
108.
(b)
Modules
109.
(d)
Protected
110.
(a)
Private
111.
(d)
C
112.
(d)
Global
113.
(b)
3
114.
(b)
Local
115.
(c)
Encapsulation
116.
(b)
Protected
117.
(d)
Public
118.
(a)
Private
119.
(c)
Modules
120.
(d)
All of these
121.
(c)
: =
122.
(b)
Life time
123.
(b)
Variable
124.
(a)
Local
125.
(c)
Enclosed
126.
(c)
Modules
127.
(a)
Access modifiers
128.
(c)
Access control
129.
(c)
Public
12th Standard Syllabus & Materials
12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set B
NEW12th Standard
TN 12th Standard Physics Electronics and Communication Creative Questions Study Material - QB365 Set A
NEW12th Standard
TN 12th Standard Physics Wave Optics Creative Questions Study Material - QB365 Set D
NEW12th Standard
TN 12th Standard Physics Wave Optics Creative Questions Study Material - QB365 Set C
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