0% found this document useful (0 votes)
11 views1 page

M23BPLCK205B Question Bank May 2025

The document is a question bank for an Introduction to Python Programming course at Maharaja Institute of Technology Mysore. It includes various programming tasks and theoretical questions covering topics such as student details input, list operations, flow control statements, functions, exception handling, variable naming rules, and loops. Each question aims to test the understanding and application of Python programming concepts with examples and illustrations.

Uploaded by

mohaffk786
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

M23BPLCK205B Question Bank May 2025

The document is a question bank for an Introduction to Python Programming course at Maharaja Institute of Technology Mysore. It includes various programming tasks and theoretical questions covering topics such as student details input, list operations, flow control statements, functions, exception handling, variable naming rules, and loops. Each question aims to test the understanding and application of Python programming concepts with examples and illustrations.

Uploaded by

mohaffk786
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Maharaja Institute of Technology Mysore

Department of Information Science and Engineering


Introduction to Python Programming (M23BPLCK205B)
Question Bank

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

You might also like