0% found this document useful (0 votes)
35 views

12th Computer Applications EM - Question Paper For 2nd Revision Test 2022 Original Question Paper - English Medium PDF Download

The document is a computer science exam question paper containing 38 multiple choice and long answer questions testing Python programming concepts. Some of the key topics covered include Python control structures (questions 1-3), functions (questions 4,17), variables and scope (questions 6,25), data types (questions 8,29), strings (questions 9,20), lists (questions 11-12,30-31), tuples (questions 13,27), sets (questions 14,37) and classes (questions 32-33,38). The paper tests both basic and advanced Python concepts over four sections and aims to evaluate the examinee's understanding of the Python programming language.

Uploaded by

abiraman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

12th Computer Applications EM - Question Paper For 2nd Revision Test 2022 Original Question Paper - English Medium PDF Download

The document is a computer science exam question paper containing 38 multiple choice and long answer questions testing Python programming concepts. Some of the key topics covered include Python control structures (questions 1-3), functions (questions 4,17), variables and scope (questions 6,25), data types (questions 8,29), strings (questions 9,20), lists (questions 11-12,30-31), tuples (questions 13,27), sets (questions 14,37) and classes (questions 32-33,38). The paper tests both basic and advanced Python concepts over four sections and aims to evaluate the examinee's understanding of the Python programming language.

Uploaded by

abiraman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

www.Padasalai.Net www.Padasalai.

Org
KAMINATION 2022
a r d 12 Reg No. oo 3n3
PART III - coMPUTER SCIENCE
Time Allowed: 3.00 Hours Maximum Marks: 70
Instructions: 1. Check the questionpaper for fairness of printing. If there is any
lack of falrness, intorm the Hall Supervisor immediately.
2. Use Blue or Black ink to write and underline and pencil to draw
diagrams.
PART I
Note: i) Answer all the questionns. 15x1=155
i)Choosethemost appropriate answer from the given four alternatives
and write the option code and the corresponding answer.
1) How many types of control structures in
a) 4
python?
b) 3 c) 5 d) 6
2) In Python, for loop uses the functionin the sequence to
the initial, final and increment/decrement values. specify
a) range() b) input() c) stop d) print()
3) In Python programming. statement is a null statement and it is used
as a place holder.
a) break b) continue c) pass d) none of above
4) Functions that calls itself is known as function
a) Built-in b) Lambda c) User defined d) Recursive
5) The statement causes your function to exit and returns a value
to its caller.
a) for b) def c) return d) define
6) A variable, with scope can be used anywhere in the program.
a) Local )Global CDefaultd) Required

Padasalai.Net
7) How many spaces are there in per indentation in the Python?
a) 4
8) In Python,
a) numeric
b) 3 c) 6
data type cannot be changed
b) character c) string
9) What will be the output of the following code?
stri="Hello"
d)8
during execution.
d) float

print(str1.replace ("e", "a"))


a) Hella b) Halle c) Hell d) Hallo
10) Which of the following operator is used for concatenation?
a+ b)
& c) * d) =
11) The. function in Python i_ used to find the length of a list.
a) count() b) find() c) len() d) index()
12) If List = [17,23,41,10] then what will be the result of List.append(32)?
a82,17,23,41,10)] b) [17,23,41,10,32]
C)[10,17,23,32,41 d) [41,32,23,17,10]
13) consists of a number. of values seperated by comma and enclosea
within parentheses
a) List b) Set c) Tuples
14) What will be the result of the following snippet ? d) Dictionary
setA= (3,6,9)
setB {1,3,9}
print(setA/setB)
a) {3,6,9,1,3,9 b) {3,9 c) {1} d) {1,3,6,9
15) Class members are accessed through which operator?
a) & # d)%
c)
PART-II 6x212
Nobar Answer any six questions. Question No. 24 is compulsory.
Wrte
17) What the syntax of if..else statement.
is the
output of the
for word In following snippet
'computer
print(word, end= ")
Please Send Your Model Questions to our Email Id: [email protected]
www.Padasalai.Net www.Padasalai.Org
A 2
A 8) What are the main advantages of
function?
function?
19)What is a n o n y m o u s
What is string?
20) in string?
21) How to access the characters
del with remove() function of list.
22) Differentiate
23 What is instantiation?
the purpose of Destructor?
24What is PART III
No. 33 is compulsory. 6x3-18
Answer any six questions. Question
Note:
the syntax of while loop.
25) Write the following pattern.
26) Write a program to print

1
3 while derining a function?
the points to be noted a list?
)What are of Tuples overcode?
What are the advantages
28) the following
will be the output of
29What
List [2**x for x in range(5)]
print(List) elements in list using
for loop?
access the
30)How will you the following list
functions.
Write a note on
31) (ii) count()
(i) copy() (i) index( ) program?
of the following
What will be the output
32)
class stud:
m1, m2, m3
=
45, 91, 71
def proce[s(self):
sum 4chud. m2+stud.ms
stud.m1+stud.m2+stud.m3

avg sum/3

Padasalai.Net
s.stud( )
s.process( )
print("Total Marks =", sum)
print("Average Marksi="avg)
return

and private data


members in class.
33) Explain public PART IV
5x5-25
Note: Answer all the
questions. (OR)
for
Write a detail note
on loopP. Negative or Zero.
34) a) check if a number in Positive,
b) Write a program to
example. (OR)
the scope of variables with an with syntax and example.
35) a) Explain
the functions of return statement (OR)
b) Explain operators with suitable example.
string
36) a) xplain Python Explain with suitable example. with
b) What is slicing? an element
in a list? Explain
insert
the different ways to (OR)
37) a) What are with suitable
suitable example.
different set operations
supported by Python
Explain the
example. with example.
(OR)
How to define a class in Python? Explain
38) a) program
b) What will be the output of the following
Class Sample:
num=0
definit_ (self, var):
Sample.num += 1
self.var= var
va
= " , S a m p l e . n u m )

print("The object value is =",


created
print("The count of object
S1 = Sample(15)
S2 Sample(35)
s3=
Please SendSample(45)
Your Model Questions to our Email Id: [email protected]

You might also like