Introduction to Python Programming (BPLCK205B) Question Bank – Module 1
MODULE - 1
Python Basics, Flow Control, Functions
Q. No. Questions COs CL Marks
1 What is the need for role of precedence? Illustrate the rules of CO1 L2 6M
precedence in python with example.
(Jan/Feb 2023)
2 Explain the local and global scope with suitable examples. CO1 L2 6M
(Jan/Feb 2023)(June/July 2024)(June/July 2023)(Dec2023/Jan2024 )
3 Develop a program to generate Fibonacci sequence of length N. Read CO1 L3 8M
N from the console.
(Jan/Feb 2023) (June/July 2024)
4 What are functions? Explain python function with parameters and CO1 L2 7M
return statements.
(Jan/Feb 2023) (June/July 2024)
5 Define exception handling. How exceptions are handled in python? CO1 L2 7M
Write a program to solve divide by zero exception.
(Jan/Feb 2023)
6 Develop a python program to calculate the area of rectangle and CO1 L3 6M
triangle, print the result.
(Jan/Feb 2023)
7 Explain with example print( ), input( ) and len( ). CO1 L2 6M
(June/July 2024)
8 Explain elif, for, while statement in python with example. CO1 L2 6M
(June/July 2024)
9 How to handle exception in python with example. CO1 L2 6M
(June/July 2024)
10 Demonstrate with example print( ), input( ) and string replication. CO1 L3 6M
(June/July 2023)
Department of AI & ML, Vemana IT Prepared by: Ms. Srujani J Page 1 of 3
Introduction to Python Programming (BPLCK205B) Question Bank – Module 1
11 Explain elif, for, while, break and continue statements in python with CO1 L2 8M
examples for each.
(June/July 2023)
12 What are user defined functions? How can we pass parameters in user CO1 L1 5M
defined functions? Explain with suitable example.
(June/July 2023)
13 Develop a program to read the name and year of birth of a person. CO1 L3 7M
Print whether the person is a senior citizen or not.
(June/July 2023) (June/July 2024)
14 List and explain the use of comparison operator in python. Write CO1 L1 6M
the step by step execution of the following expression in python.
3/2 * 4 + 3 + (10/4)**3 – 2
(Dec 2023/Jan2024)
15 Explain the control statements if, else, elif with proper syntax and CO1 L2 6M
examples.
(Dec 2023/Jan2024)
16 Develop a python program to calculate the area and circumference of CO1 L3 8M
a circle, input the value of radius and print the results.
(Dec 2023/Jan2024)
17 Explain the string concatenation and string replication operator with CO1 L2 6M
an example.
(Dec 2023/Jan2024)
18 Develop a program to read the student details like Name, USN and CO1 L3 8M
marks in three subjects. Display the student details, total marks and
percentage with suitable messages.
(Dec 2023/Jan2024)
19 Explain the following functions with examples: CO1 L2 10M
i. input( )
ii. print( )
iii. len( )
iv. str( )
v. int( )
(June/July 2024)
20 Explain if and elif control statements with syntax and flowchart. CO1 L2 5M
(June/July 2024)
21 Explain the following with example: CO1 L3 8M
i. Def statements with parameters
ii. Parameters and Return values
(June/July 2024)
Department of AI & ML, Vemana IT Prepared by: Ms. Srujani J Page 2 of 3
Introduction to Python Programming (BPLCK205B) Question Bank – Module 1
22 Explain the following with syntax and example: CO1 L3 12M
i. for loop
ii. break
iii. continue
(June/July 2024)
Course Faculty
(Ms. Srujani J)
Department of AI & ML, Vemana IT Prepared by: Ms. Srujani J Page 3 of 3