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

Published on: 01/10/2019
Scoping
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.
___________is a selective restriction of access to data in a program?
Control variable
System authentication
Access control
Module
2.
______can be separately compiled and stored in a library
Characteristics
Syntax
Modules
none of these
3.
How many variables can be mapped to the same instance?
2
3
4
Multiple
4.
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
5.
Which of the following members of a class can be handled only from within the class?
Public members
Protected members
Secured members
Private members
6.
Which of the following security technique that regulates who can use resources in a computing environment?
Password
Authentication
Access control
Certification
7.
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
8.
What is meant by module?
9.
What are the types of variable scope
10.
Define variable.
11.
What do you mean by Namespaces?
12.
What is Mapping?
13.
What is a scope?
14.
Identify the scope of the variables in the following pseudo code and write its output
color:= 'Red'
mycolor( ):
b:='Blue'
myfavcolor( ):
g:='Green'
printcolor, b, g
myfavcolor( )
printcolor, b
mycolor( )
print color
15.
Why access control is required?
16.
Define Local scope with an example.
17.
Write any five benefits in using modular programming.
18.
Write any Five Characteristics of Modules.
19.
Choose the incorrect statement from the following.
(i) There a different types of variable scope
(ii) Enclosed and extended are the type of variable scope
(iii) A variable is declared outside of all the function is called global variable
(iv) Built-in Scope is also called Module scope.
(a) i, iii and iv
(b) ii and ii
(c) i and ii
(d) iii only
1.
(c)
Access control
2.
(c)
Modules
3.
(d)
Multiple
4.
(b)
Protected members
5.
(d)
Private members
6.
(c)
Access control
7.
(a)
Scope
8.
A module is a part of a program. Programs are composed of one or more independently developed modules
9.
(i) Local scope
(ii) Enclosed scope
(iii) Global scope
(iv) Built-in scope
10.
Variable are addresses (references, or pointers, to an object in memory
11.
Namespaces are containers for mapping names of variables to objects.
Example : a : =5
Here the variable 'a' is mapped to the value '5.
12.
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.
13.
Scope refers to the visibility of variables, parameters and functions in one part of a program to another part of the same program.
14.
Output:
Red, Blue, Green
Red, Blue
Red.
Seope f Variables :

15.
(i) Access control is a security technique that regulates who or what can view or use resources in a computing environment.
(ii) It is a fundamental concept in security that minimizes risk to the object.
(iii) In other words access control is a selective restriction of access to data.
(iv) In object oriented programming languages is implemented through access modifiers.
16.
(i) Local scope refers to variables defined in current function. Always, a function will first look up for a variable name in its local scope.
(ii) Only if it does not find it there, the outer scopes are checked.
(iii) Look at this example:
|
1. Disp(): |
Entire program |
Output of the Program 7 |
(iv) On execution of the above code the variable a displays the value 7, because it is defined and available in the local scope.
17.
(i) Less code to be written.
(ii) A single procedure can be developed for reuse, eliminating the need to retype the code many times.
(iii) Programs can be designed more easily because a small teana deals with only a
small part of the entire code.
(iv) Modular programming allowS many programmers to collaborate on the same
application.
(v) The code is stored across multiple files.
(vi) Code is short, sirnple and easy to understand.
(vii) Errors can easily be identified, as they are localized to a subroutine or function.
(viii) The same code can be used in man applications.
(ix) The scoping of variables can easily be controlled.
18.
The following are the desirable characteristics of a module.
(i) Modules contain instructions, processing logic, and data.
(ii) Modules can be separately compiled and stored in a library.
(iii) Modules can be included in a program.
(iv) Module segments can be used by invoking a name and some parameters.
(v) Module segments can be used by other modules.
19.
i and ii
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