22616 Python
22616 Python
21222
22616
3 Hours| 70
15 minutes extra
Marks Seat No.
for each hour
Marks
.
Attempt any FIVE of the folowing: 10
a) Name different modes of python.Se-ipt intractie
b) List identity operators in python.-is is not
c) Give two differences between list and
tuple.
d) Explain Local and Global variable.
e) Define class and object in
python.
How to give single and multiline mul
coment in pvthon. (+ Sinfu )C
g) List different modes of opening ile in python.
P.T.O
22616
121
Marks
2 Attempt any THREE of the following: 12
a) Write a program to print following
12
2 3
2 34
b) Explain four Buit-in tuple functions python with example.
c)Explain how to use user defined function in python with
example.
d Write a program to create class EMPLOYEE with ID and
NAME and display its contents.
Python.
22616 31
Marks
Attempt any TWO of the following: 12
[2, 4, 9, 0]
print (a)
b = ["Hello" , "Good"]
ii)
>>>b. append ("python")
>>> print (b) C"HJo
ii) t [3, 5, 6, 7]
>
print (t, (2])
print (1 -1])
>> print (t, 2:]) 7
print (t, [:]) CS47
b) Explain method overloading in python with example.