0% found this document useful (0 votes)
40 views2 pages

3 Hours / 70 Marks: Seat No

python diploma question paper
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)
40 views2 pages

3 Hours / 70 Marks: Seat No

python diploma question paper
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

22616 22616

2.
[2]

Attempt any THREE of the following :


Marks
12
23124 a) Explain membership and Identity operators in Python.
3 Hours / 70 Marks Seat No. b) Write python program to display output like.
2
Instructions – (1) All Questions are Compulsory. 4 6 8
(2) Answer each next main Question on a new page. 10 12 14 16 18
(3) Illustrate your answers with neat sketches wherever c) Explain four built-in list functions.
necessary. d) Write python program using module, show how to write and
(4) Figures to the right indicate full marks. use module by importing it.
(5) Assume suitable data, if necessary.
3. Attempt any THREE of the following : 12
(6) Mobile Phone, Pager and any other Electronic
a) Describe various modes of file object ? Explain any two
Communication devices are not permissible in
in detail.
Examination Hall.
b) Explain use of Pass and Else keyword with for loops in python.
Marks c) T = (‘spam’, ‘Spam’, ‘SPAM!’, ‘SaPm’)
print (T [2] )

1. Attempt any FIVE of the following : 10 print (T [-2] )

a) Enlist applications for python programming. print (T [2:] )

b) Write the use of elif keyword in python. print (List (T) )

c) Describe the Role of indentation in python. d) Explain method overloading and overriding in python.

d) Define Data Hiding concept ? Write two advantages of


4. Attempt any THREE of the following : 12
Data Hiding.
a) Explain different functions or ways to remove key : value
e) State use of namespace in python.
pair from Dictionary.
f) State the use of read ( ) and readline ( ) functions in python file
b) Explain Numpy package in detail.
handling.
c) Explain seek ( ) and tell ( ) function for file pointer
g) Explain two ways to add objects / elements to list.
manipulation in python with example.
d) WAP to read contents of first.txt file and write same content
in second.txt file.

P.T.O.
22616 [3]
Marks
5. Attempt any TWO of the following : 12
a) Explain any four set operations with example.
b) Explain building blocks of python.
c) Write a program illustrating use of user defined package
in python.

6. Attempt any TWO of the following : 12


a) Write a program to create class student with Roll no. and
Name and display its contents.
b) Write program to implement concept of inheritance in python.
c) List and explain any four built-in functions on set.

You might also like