Professional Documents
Culture Documents
Bloom’s
Module -1 Taxonomy Marks
Level
1 a With Python programming examples to each, explain the syntax and CO3-L2 08
control flow diagrams of break and continue statements.
b Write a simple program of your choice that says hello and then asks for CO1-L2 04
your name, age, and the length of your name.
c Explain Python programming language along with its salient features in CO1-L2 08
detail.
2 a Explain the terms print( ), input( ) and string replication with an example. CO1-L2 04
b Explain TWO ways of importing modules into application in Python with CO2-L2 06
syntax and suitable programming examples.
c Write a function to calculate factorial of a number. Develop a program to CO2-L3 06
Compute binomial coefficient (Given N and R).
3 a What is an arithmetic expression? . What is the output of this statement? CO2-L3 6
‘hello world’ + 100 + ’how are you’ explain the reason if the statement
produces an error.
b Discuss various methods of importing modules in Python programs. CO1 – L1 7
Which method is best?
c Express why would you use a try-except statement in a program? CO2-L2 06
4 a What is a flow control statement?. Discuss if and if else statements with flow CO1 - L1 7
chart.
b Write a python program to add n numbers accepted from the user. CO2 – L3 7
c How can you prevent a python program from crashing? discuss different CO2 – L2 6
ways to avoid crashing.
5 a Explain concept of Exception handling with to convert temperature from
Celsius to Fahrenheit using try and except block.
CO2-L2 06
b Develop a Python program to generate Fibonacci sequence of length (N).
Read N from the console.
CO3-L3 04
c Write a program to read the student details like Name, USN, and Marks CO2-L3 05
in three subjects. Display the student details, total marks and percentage
with suitable messages.
Page 01 of 02
23PLC25B
Module-2
1 a Discuss list and dictionary data structure with example for each. CO2 – L1 6
b write a python program to accept n numbers and store them in a list. Then CO2 – L2 6
c Using string slicing operation write python program to reverse each word CO2 – L3 8
in a given string (eg: input: “hello how are you”, output: “olleh woh era
uoy”)
3 a Determine whether you should use tuples or lists to store the student CO2-L3 08
information. Justify your choice with suitable examples.
b Define a list? Explain the append (), insert (), and remove () methods CO2-L3 05
associated with lists in Python.
c Demonstrate with an example the use of both positive and negative CO2-L3 07
indexing, showcasing their respective roles in accessing list elements
effectively.
4 a Explain the following list method with example. CO2-L2 10
index()
append()
insert(),
sort(),
reverse()
b Write a python program to create a dictionary of 10 key-value pairs and print CO2-L3 05
only keys on the screen.
c Explain in and not in operators used in lists with an example. CO2-L1 05
5 a
b
c
Page 02 of 02