M23BPLCK205B Question Bank May 2025
M23BPLCK205B Question Bank May 2025
1. Develop a program to read the student details like Name, USN, and Marks in three subjects.
Display the student details, total marks and percentage with suitable messages.
2. Write the differences between List Indexes and Slices with a proper example
3. What is an arithmetic expression? List and explain the different operators used in python
with example.
4. What is a flow control statement? Illustrate if and else statements with an example along
with flow chart.
5. Illustrate functions with parameters and return statements with examples.
6. Interpret Exceptional Handling with an example.
7. Explain the rules of variable names with an examples.
8. Explain ending a program early with sys.exit()
9. Illustrate augmented assignment operator and write an example to print elements present
in a List.
10. Illustrate the List Concatenation and Replication.
11. Identify the use of importing modules into application in Python and Explain two importing
modules with syntax and suitable programming examples.
12. Illustrate function concept in python with an example
13. Explain String Concatenation and replication with an example
14. Illustrate local and global scope concept in python with example and List their rules.
15. Develop a program to read the name and year of birth of a person. Display whether the
person is a senior citizen or not
16. Illustrate the Lists using for loop.
17. For the following code write flowchart
If name==’Alice’:
Print(‘Hi, Alice’)
else:
print(“Hello,Stranger.”)
18. Illustrate List Methods with an example.
19. Discuss the Negative Indexes in Lists.
20. Interpret for and while loop syntax in Python with an example
21. Discuss the concept of Mixing Boolean and Comparison Operators.
22. For the following code write flowchart
Spam=0
While spam<5:
Print(‘hello, World.’)
Spam=spam+1