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

Python Programming Test II Questions

This document is a test paper for the Introduction to Python Programming course at Ghoosia College of Engineering, detailing the exam structure, date, and topics covered. It includes questions from Modules 3 and 4, focusing on Python string handling methods, file operations, and the shutil module. The exam is scheduled for January 21, 2025, and consists of questions that require understanding and application of Python programming concepts.

Uploaded by

Shaheena Begum
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)
27 views1 page

Python Programming Test II Questions

This document is a test paper for the Introduction to Python Programming course at Ghoosia College of Engineering, detailing the exam structure, date, and topics covered. It includes questions from Modules 3 and 4, focusing on Python string handling methods, file operations, and the shutil module. The exam is scheduled for January 21, 2025, and consists of questions that require understanding and application of Python programming concepts.

Uploaded by

Shaheena Begum
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

1 G C C S

GHOUSIA COLLEGE OF ENGINEERING, RAMANAGARAM – 562159


Department of Computer Science and Engineering

TEST –II
Subject : Introduction to Python Programming Date: 21– 01– 2025
Semester: I Sem D & E Section Time: 02:30pm – 03:30pm
Sub. Code: BPLCK105B Max. Marks: 25

Note:Answer any TWO full questions choosing ONE from each Module.

Que.
Questions Marks COs RBT
No
MODULE–3
Explain Python string handling methods with examples:
CO2 L1
1(a) 6.5
split(),endswith(), ljust(), center(), lstrip() CO3 L2
Develop a Python program to read and print the contents of a text file CO2 L1
1(b) 6
CO3 L2
OR
Explain Python string handling methods with examples: join(),
CO3 L2
2(a) startswith(),rjust(),strip(),rstrip() 6
CO4 L3
Explain with suitable Python program segments: (i) [Link](path)
CO2
2(b) 6.5 L2
(ii) [Link](path) (iii) [Link](path) CO3

MODULE – 4

Explain permanent delete and safe delete with a suitable Python


CO3 L1
3(a) 6.5
programming example to each. CO4 L2
L1
Explain compressing of file using Zipfile module. CO3
3(b) 6 L2
CO4
L3
OR
Explain the functions with examples: (i) [Link]()
CO3
4(a) 6.5 L5
(ii) [Link]() (iii) [Link](). CO4

Explain Assertions with a suitable program. CO3 L1


4(b) 6
CO4 L3

L1 – Remembering, L2 – Understanding, L3 – Applying,L4 – Analysing, L5 – Evaluating. RBT – Revised Blooms Taxonomy

Staff Incharge:
Irfan Khan HOD,CSE

You might also like