Adobe Scan 07 Aug 2023
Adobe Scan 07 Aug 2023
8 12
and
writing
OR explain
rcading
Aso
handling
of lilc
the
concept
path.
6 L2
plain example.
relative
tile
a. suitable
Q.6 wth absolute
and
process
path.
Also
discuss
6 L3 C
file
b. Inplain theconceptof shelve
module.
variables w
ith
sav ing
c. Bricly explain 6 L2 G
Module 4 example:
w ith suitablce
operations
in Python
file
vplain the follow
ing
Q.7 . folders
files and
Copying
and folders
Moving files folders.
files and
ii) Permanently deleting 8 L2 CO:
tile
of a zip
file? Also explain reading
b. List out the benefits of compressing
with an example.
6 L3 CO
and shutil.copytreet
between shutil.copy
C.
List out the ditferences
method.
OR 6 L2 ¬O=
Q.8 a. Briefly explain assertions and raising a exception.
b. List out the benefits of using logging module with an example. 6 L2 CO
Module-5
Q.9 a. Define a class and object, construct the class called
it with height rectangle and initialize
100, width 200. starting point as (x 0.
=
8 L2 CO-
=
y 0). Write a
=