Module-wise Important Questions
Module 1
Bloom’s
Question CO Level
Explain the following functions with examples: input, CO (L2)
1 print, len, str, int 1
Explain if and elif control statements with syntax and CO (L2)
2 flowchart 1
Write a program to read name and year of birth of a CO (L3)
person. Display whether the person is a senior citizen or 1
3 not
Explain Def statements with parameters and return CO (L3)
4 values 1
Explain for loop, break and continue with syntax and CO (L3)
5 example 1
Define comparison operator and list its type. CO (L1)
6 Difference between == and = 1
Explain flow control statements with if, else, while, for CO (L2)
7 1
Program to compute binomial coefficient using factorial CO (L3)
8 function 1
Define exception and basic exception handling block CO (L1)
9 with example 1
Define and call function with argument CO (L2)
10 1
Explain elif, for, while statements with example CO (L2)
11 1
List and explain math operators with example CO (L2)
12 1
Program to generate Fibonacci number of length N CO (L3)
13 1
Explain local and global scope with example CO (L2)
14 1
Explain built-in functions: print, input, len CO (L2)
15 1
Define functions with parameters and return statement CO (L2)
16 1
Bloom’s
Question CO Level
Handle exception with example CO (L2)
17 1
Local and global scope with variable examples CO (L2)
18 1
Module 2
Bloom’
Question CO s Level
Explain list methods: append, index, sort, insert CO (L3)
1 2
Read 10 numbers and display created, sorted, reversed CO (L3)
2 list 2
Explain copy and deepcopy functions CO (L3)
3 2
Explain dictionary methods: setdefault, get, keys, items CO (L2)
4 2
Program to count letters in string with pretty print CO (L3)
5 3
Nested list program to show copy and deepcopy CO (L3)
6 2
Explain tuples immutability with example CO (L2)
7 2
Explain remove, sort, reverse list methods CO (L2)
8 2
Outline dictionaries with methods CO (L2)
9 2
Nested dictionaries with example CO (L2)
10 2
Explain list methods: append, insert, sort CO (L2)
11 2
Differentiate list and dictionary CO (L1)
12 2
Dictionary program to print ten most frequent words CO (L3)
13 2
Show list is mutable CO (L1)
14 2
Compute mean, variance, std. deviation CO (L3)
15 2
Bloom’
Question CO s Level
Use of in and not in with list CO (L2)
16 2
Explain negative indexing, slicing, list methods CO (L2)
17 2
Mutable and immutable data types in list CO (L2)
18 2
Explain list methods and concatenation, replication CO (L2)
19 2
Program to read student details and compute total & CO (L3)
20 percentage 2
Module 3
Bloom’
Question CO s Level
Accessing and slicing strings CO (L3)
1 3
5 string methods with syntax and example CO (L3)
2 3
5 [Link] methods related to files CO (L2)
3 3
File read/write example CO (L3)
4 3
Print most frequent words in a file CO (L3)
5 3
String methods: split, rjust, partition, join, startswith CO (L2)
6 3
Restore variable from hard disk CO (L2)
7 3
Sort contents of file and write to another CO (L3)
8 3
String methods: isalpha, isalnum, isdecimal, isspace CO (L1)
9 3
Absolute vs relative path CO (L2)
10 3
Accept string and count alphabet CO (L3)
11 3
Save variables using shelve module CO (L2)
12 3
Bloom’
Question CO s Level
Open/read/write file using open() CO (L2)
13 3
Use of in and not in in string CO (L2)
14 3
Explain pyperclip module CO (L2)
15 3
Module 4
Bloom’s
Question CO Level
1 shutil module: copy/move/rename CO4 (L3)
2 Program to backup folder as zip CO4 (L3)
3 Explain assertion with example CO4 (L3)
4 Logging levels CO4 (L3)
5 Read/extract from zip file using zipfile CO4 (L2)
6 Explain shell utilities CO4 (L3)
7 Extract ZIP content using python CO4 (L2)
8 Permanent vs safe delete program CO4 (L3)
9 Assertion in traffic light simulation CO4 (L2)
10 shutil for file/folder copy CO4 (L2)
11 Debug control window CO4 (L2)
12 Function DivExp with assertions and exception CO4 (L2)
13 Program using [Link]() to list files and folders CO4 (L3)
Module 5
Blo
om’
s
Lev
Question CO el
Explain init, str, add methods CO5
(L3
1 )
2 Type-based dispatch with example CO5
Blo
om’
s
Lev
Question CO el
(L3
)
Class and objects; create and display student objects CO5
(L3
3 )
Explain pure functions with example CO5
(L3
4 )
Operator overloading with example CO5
(L2
5 )
Define polymorphism with example CO5
(L1
6 )
Define and access class and members CO5
(L2
7 )
Polymorphism to find histogram CO5
(L3
8 )
5 overloaded operators with special functions CO5
(L2
9 )
Pure function definition and example CO5
(L3
10 )
Prototyping vs planning CO5
(L2
11 )