AIT/IQAC/Aca/2024-25/IAQP
US
N
Department of Electrical and Electronics Engineering
Acharya Institute of Technology
Acharya Dr. Sarvepalli Radhakrishnan Road, Acharya P.O., Soladevanahalli, Bangalore-560107, INDIA
www.acharya.ac.in, Email: hod-mech@acharya.ac.in
INTERNAL ASSESMENT - II [Academic Year: 2024-25]
Sub with Code: Introduction to Python(BPLCK205B) Semester/Section:II/T
Max Marks:25 Duration:11:30 to 12:30 PM
Note: Answer the following questions. Date:19/06/2025
Q. No. Question CO BL Marks
1 Explain any 5 string methods with syntax and example. L2
OR
2 Explain the following with respect to shutil module: 1 5
Copying files and folders L2
Moving and renaming files and folders
3 Explain file reading and writing process with example. L2
OR 1 5
4 What is an assertion? Explain how to use assert keyword with an
L2
example.
5 Develop a code to print 10 most frequently appearing words in a L3
text file.
OR 1 5
6 Explain the following Python string handling functions with
L2
example: split(), rjust(), partition(), join(), startswith().
7 Explain how to save variables with shelve module L2
OR 2 5
8 Write a class to represent Time in hours, minutes, and seconds.
L3
Add methods to print and increment time.
Explain permanent delete and safe delete with a suitable Python
9 L2
program.
OR 2 5
10 Define a class Student with attributes: name, USN, and marks in 3
L3
subjects. Include methods to calculate total and percentage.
Department of Electrical and Electronics Engineering, Acharya Institute of Technology, Bangalore-107 1
AIT/IQAC/Aca/2024-25/IAQP
US
N
Department of Electrical and Electronics Engineering
Acharya Institute of Technology
Acharya Dr. Sarvepalli Radhakrishnan Road, Acharya P.O., Soladevanahalli, Bangalore-560107, INDIA
www.acharya.ac.in, Email: hod-mech@acharya.ac.in
Course Coordinator Module Coordinator HOD
Department of Electrical and Electronics Engineering, Acharya Institute of Technology, Bangalore-107 2