Professional Documents
Culture Documents
QP FORMAT IIA - Python - Section-E
QP FORMAT IIA - Python - Section-E
PART B – 3 X 16 = 48 marks
7. a. Explain the syntax and structure of user defined functions in python with examples also 16 CO4
discuss about parameter passing in functions
OR
b. i Write a program to calculate GCD using recursive function 6 CO4
ii Write a program to search a key value in an array using linear search 10 CO3
9. a. i Explain the commands used to read and write into a file with an example program 10 CO6
ii Discuss about the use of format operator 6 CO6
OR
b. i Describes how exceptions are handled in python with necessary examples 16 CO6