Python Model Question Paper 2
Python Model Question Paper 2
USN 18CS34
B. E. Degree (Autonomous) Third Semester End Examination (SEE)
PYTHON PROGRAMMING
(Model Question Paper – II)
RBT
Q.No. Questions Marks CO Cognitive
Level
Explain the concept of scope and lifetime of variables in
a) 8 CO1 L2
Python programming language with an example.
Explain command line arguments and write a program to
1. b) 6 CO1 L2
demonstrate command line arguments.
Write a Python program to check if a 3 digit number is
c) 6 CO1 L3
Armstrong number or not.
OR
Illustrate *args and **kwargs parameters in Python
a) 7 CO1 L2
programming language with an example.
Report the Value for sin(x) up to n terms using the series
2. b) 7 CO1 L3
where x is in degrees
9. a) Discuss the need for Method Resolution Order and the steps 10 CO5 L2
to follow in construction of C3 linearization MRO for a
class.
******