#### 12th Standard Computer Science English Medium Reduced Syllabus Model Question paper - 2021 Part - 2

12th Standard

Reg.No. :
•
•
•
•
•
•

Computer Science

Time : 02:45:00 Hrs
Total Marks : 70

Part I

Choose the most suitable answer from the given four alternatives and write the option code with the corresponding answer.

20 x 1 = 20
1. Which of the following is a unit of code that is often defined within a greater code structure?

(a)

Subroutines

(b)

Function

(c)

Files

(d)

Modules

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

(a)

Impure functions

(b)

Partial Functions

(c)

Dynamic Functions

(d)

Pure functions

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

(a)

Constructors

(b)

Selectors

(c)

recursive

(d)

Nested

4. A________ is not just data, it has functions defined within it.

(a)

Class

(b)

List

(c)

Pair

(d)

Object

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

(a)

LEGB

(b)

LGEB

(c)

LBEG

(d)

LGBE

6. Which of the following is not a sorting technique?

(a)

Bubble

(b)

Binary

(c)

Insertion

(d)

Quick

7. ________is used to describe the upper bound of a asymptotic function.

(a)

Big $\mu$

(b)

Big O

(c)

Big $\Omega$

(d)

Big $\beta$

8. Which function helps to enter data at run time by the user?

(a)

input ()

(b)

(c)

get ()

(d)

Pyinput ()

9. The input () function helps to enter data at  _____ by the user.

(a)

compile time

(b)

(c)

run time

(d)

module time

10. The inputs () accepts all data as _____ or ______

(a)

String or characters

(b)

String or numbers

(c)

Characters or numbers

(d)

integers or exponent

11. The ______ statements are ignored by the Python interpreter.

(a)

input ()

(b)

print ()

(c)

int ()

(d)

12. Read the following statement and choose the correct statement(s).
(I) In Python, you don’t have to mention the specific data types while defining function.
(II) Python keywords can be used as function name.

(a)

I is correct and II is wrong

(b)

Both are correct

(c)

I is wrong and II is correct

(d)

Both are wrong

13. If reverse is set as True, list sorting is in

(a)

ascending order

(b)

descending order

(c)

no sorting

(d)

multiple sorting

14. __________ represents an abstraction of the sequence of numbers

(a)

Dictionary

(b)

List

(c)

Set

(d)

Tuple

15. Class variable and methods are together known as _______ of the class

(a)

Objects

(b)

Functions

(c)

Statements

(d)

Members

16. Avariable prefixed with __________ become private in nature.

(a)

double underscore

(b)

double colon

(c)

double dot

(d)

double hyphen

17. Which of the following is a simple abstraction of complex real world data gathering environment?

(a)

Data redundancy

(b)

Data consistency

(c)

Data abstraction

(d)

Data model

18. _________ is one such special variable which by default stores the name of the file

(a)

- - name - -

(b)

- - main - -

(c)

- - getopt - -

(d)

- - sys - -

19. Which type of chart shows the relationship between a numerical variable and categorical variable?

(a)

line

(b)

bar

(c)

pie

(d)

x-y plot

20. ______ in data visualization helps to show relationship in the data for more variables

(a)

Tables

(b)

Graphics

(c)

Charts

(d)

Dashboards

1. Part II

Answer all the questions. Question no. 23 is compulsory.

5 x 2 = 10
21. What is the use ofLEGB rule?

22. What is Sorting?

23. Write a program in python to check if the accepted number even or odd.
a = int(input("Enter any number:"))
if a%2==0:
print (a, "is an even number")
else:
print (a, "is an odd number")

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

25. What is local variable?

1. Part III

Answer all the  questions. Question no. 30 is compulsory.

5 x 3 = 15
26. Write a note on Data Abstraction

27. Write a note on access modifiers of a class.

28. Write a note on two factors in which space required by an algorithm is decided.

29. Write a pseudo code for bubble sort

30. Write the function of the following
(i) Ctrl + N
(ii) Ctrl + S
(iii) F5

1. Part IV

5 x 5 = 25
31. How will you facilitate data abstraction. Explain it with suitable example

32. Explain the representation of Abstract datatype using rational numbers.

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

34. Explain the sorting algorithm that uses n-1 number passes to get the final sorted list

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