BPLCK105B
BPLCK105B
USN MVJ22PLCK25B
Part B
Each Questions carries 16 Marks
Q,No. Mark
s
Module-1
1 a) Illustrate any 3 Operators in Python with suitable coding snippets. 08
b) Differentiate between the user defined and built in functions. List 08
any four built in functions.
OR
2 a) Summarize the following with suitable programs. 08
Default argument
Keyword arguments (named arguments)
Positional arguments
Arbitrary arguments
1|2Pages MVJ22PLCK25B
b) Explain iteration with its types by specifying suitable examples. 08
Module-2
3 a) Develop a Python program to interchange first and last elements in 08
a list.
b) Compute a program to Find the Length of a List in Python using 08
sum().
OR
4 a) Illustrate the importance of Anonymous Functions in Python with 08
coding snippet.
b) Categorize the need of Exception Handling in python with 08
necessary code.
Module-3
5 a) Develop a Python program to Count occurrences of an element in a 08
list.
b) Compute a Python Program to find sum and average of List. 08
OR
6 a) Recall a Python program to find the sum of all items in a dictionary. 08
b) Infer a Python program to find the size of a Dictionary. 08
Module-4
7 a) Compute a Python program to Avoid Spaces in string length. 08
b) Develop a Python program to print even length words in a string. 08
OR
8 Categorize the importance of Files and File Paths in Python with 16
examples.
Module-5
9 Illustrate the importance of Compressing Files with the zipfile 16
Module in python.
OR
10 Categorize the core concepts of Assertions with suitable coding 16
snippet.
2|2Pages MVJ22PLCK25B