0% found this document useful (0 votes)
88 views3 pages

Question Paper Winter 2022

The document outlines an examination paper consisting of multiple questions related to Python programming. It includes instructions for the exam, such as the use of calculators and prohibited devices, and specifies the number of questions to attempt from various sections. Topics covered include Python features, operators, data structures, exception handling, and class design.

Uploaded by

mr.ompawar9834
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)
88 views3 pages

Question Paper Winter 2022

The document outlines an examination paper consisting of multiple questions related to Python programming. It includes instructions for the exam, such as the use of calculators and prohibited devices, and specifies the number of questions to attempt from various sections. Topics covered include Python features, operators, data structures, exception handling, and class design.

Uploaded by

mr.ompawar9834
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/ 3

22616

12223
3 Hours / 70 Marks Seat No.

Instructions – (1) All Questions are Compulsory.

(2) Illustrate your answer with neat sketches wherever


necessary.

(3) Figures to the right indicate full marks.

(4) Assume suitable data, if necessary.

(5) Use of Non-programmable Electronic Pocket


Calculator is permissible.

(6) Mobile Phone, Pager and any other Electronic


Communication devices are not permissible in
Examination Hall.

Marks

1. Attempt any FIVE of the following: 10


a) List Python features. (Any four)
b) List comparision operators in Python.
c) Describe Tuples in Python.
d) Write use of lambda function in python.
e) Write syntax of defining class in Python.
f) List file operations in Python.
g) Describe indentation in Python.

P.T.O.
22616 [2]
Marks
2. Attempt any THREE of the following: 12
a) Describe bitwise operators in Python with example.
b) Write any four methods of dictionary.
c) What is local and global variables? Explain with appropriate
example.
d) Write python program to illustrate if else ladder.

3. Attempt any THREE of the following: 12


a) Write basis operations of list.
b) Write Python code for finding greatest among four numbers.
c) Illustrate with example method over loading.
d) Explain how try-catch block is used for exception handling in
python.

4. Attempt any THREE of the following: 12


a) Compare list and dictionary. (Any 4 points)
b) What is command line argument? Write python code to add
two numbers given as input from command line arguments and
print its sum.
c) Write python code to count frequency of each characters in a
given file.
d) Write python program to read contents of abc.txt and write
same content to pqr.txt.

5. Attempt any TWO of the following: 12


a) Write different data types in python with suitable example.
b) Example module. How to define module.
c) Write python program to perform following operations on Tuples;
i) Create set
ii) Access set Element
iii) Update set
iv) Delete set
22616 [3]
Marks
6. Attempt any TWO of the following: 12
a) Explain mutable and immutable data structures.
b) Design a class student with data members; Name, roll number
address. Create suitable method for reading and printing students
details.
c) Create a parent class named Animals and a child class
Herbivorous which will extend the class Animal. In the child
class Herbivorous over side the method feed ( ). Create a object
of the class Herbivorous and call the method feed.

You might also like