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

22616 w22

The document is an examination paper consisting of various questions related to Python programming, covering topics such as data types, operators, functions, and file operations. It includes instructions for candidates, marking schemes, and requirements for the use of electronic devices during the exam. Candidates are required to attempt a specified number of questions from different sections, showcasing their understanding of Python concepts and coding skills.

Uploaded by

Sahil Kolande
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)
56 views3 pages

22616 w22

The document is an examination paper consisting of various questions related to Python programming, covering topics such as data types, operators, functions, and file operations. It includes instructions for candidates, marking schemes, and requirements for the use of electronic devices during the exam. Candidates are required to attempt a specified number of questions from different sections, showcasing their understanding of Python concepts and coding skills.

Uploaded by

Sahil Kolande
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy