Python Programming QP
Python Programming QP
PART –A
1. a) Explain input function. (2M)
b) Give an example of lstrip( ) method. (2M)
c) How to access values in a dictionary? (2M)
d) What is default argument? (2M)
e) What are basic overloading methods? (3M)
f) Explain importing turtle graphics. (3M)
PART -B
2. a) What are IDLE usability features? (7M)
b) Explain about keywords used in Python. (7M)
1 of 1
|''|'''||''||'''||||
Code No: R1621054 R16 SET - 2
PART –A
1. a) Explain output function. (2M)
b) Give an example of istitle( ) method. (2M)
c) Describe type( ) method with example. (2M)
d) What is the general form of lambda? (2M)
e) Explain about self variable with example. (3M)
f) Describe time.time( ) method. (3M)
PART –B
2. a) Discuss bout variables and assignments. (7M)
b) Explain about IDLE startup details. (7M)
1 of 1
|''|'''||''||'''||||
Code No: R1621054 R16 SET - 3
PART –A
1. a) What is indentation? (2M)
b) Give an example of isalnum( ) method. (2M)
c) Describe has_key( ) method with example. (2M)
d) What is a namespace? (2M)
e) Explain user defined exceptions with examples. (3M)
f) What is time tuple? (3M)
PART -B
2. a) Discuss about IDLE basic usage. (7M)
b) Who uses python today? What are Python’s technical strengths? (7M)
1 of 1
|''|'''||''||'''||||
Code No: R1621054 R16 SET - 4
PART –A
1. a) What is byte code? (2M)
b) Give an example of endswith( ) method. (2M)
c) What is a set? Why sets? (2M)
d) Define anonymous function. (2M)
e) Give an example for raising an exception. (3M)
f) What is tick? (3M)
PART -B
2. a) Briefly discuss about running Python scripts. (7M)
b) Write the history of Python. (7M)
5. a) Write a brief note on PIP. Explain installing packages via PIP. (7M)
b) Explain about keyword and default arguments. (7M)
1 of 1
|''|'''||''||'''||||