NEP BCA IV Sem Python Programming
NEP BCA IV Sem Python Programming
ililffi lllt lllil lllilllll ilil ilml fl ufllll ilt ffit BCACACN 401
Fourth Semester B.C.A. Degree Examination, July/August 2023
(NEP 20241
(2022-23 Batch O nwards)
PYTHON PHOGRAMMING
(DSCC)
Note : Answer any six questians from Part - A and any one full
question from each Unit in Part - B.
PART - A (6x2=12)
1. a) How to determine the data type of a variable ? Give the syntax and example.
b) What is indentation ? Why it is required ?
c) What is the use of negative indexing ? Give example.
d) What is dictionary ? Give example.
e) What is the use of seek$ and tell$ methods ?
f) What is root window ? How it is created in Python ?
g) What is Pandas series ? Give example.
h) What is matplotlib and pyplot ?
PART _ B
UNIT _ I
P.T.O.
BCACACN 401 ]il
ffi
I lilfll tilfl fllt tilt ltIlilIil ililIl ilt ililt fi] il]
UNIT _ II
6. a) With example explain how'with' statement is used to open and close files.
b) What is inheritance ? How to implement inheritance in Python ? Give an
example.
c) How to create a button widget and bind it to the event handler ? Explain
with example. (4+4+41
7- a) With example explain any two methods to read data from the file.
b) Explain multipath inheritance with example.
c) Explain the process of creating a Listbox widget with a suitable example.
Also, explain different values associated with selectmode option.
(4+4+4\
UNIT _ IV