0% found this document useful (0 votes)
120 views

NEP BCA IV Sem Python Programming

This document outlines the examination structure for the Fourth Semester B.C.A. Degree in Python Programming, including instructions for answering questions from Part A and Part B. Part A consists of short answer questions, while Part B includes detailed questions from four units covering various Python programming concepts. The exam is scheduled for July/August 2023, with a maximum score of 60 marks.

Uploaded by

grettadsouza440
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)
120 views

NEP BCA IV Sem Python Programming

This document outlines the examination structure for the Fourth Semester B.C.A. Degree in Python Programming, including instructions for answering questions from Part A and Part B. Part A consists of short answer questions, while Part B includes detailed questions from four units covering various Python programming concepts. The exam is scheduled for July/August 2023, with a maximum score of 60 marks.

Uploaded by

grettadsouza440
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/ 2

Reg. No.

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)

Time : 2 Hours Max. Marks : 60

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

2. a) Explain any four flavors of Python.


b) How to read different types of input from the keyboard ? Give examples.

c) Explain use of string.format and f-string with printQ function. (4+4+41

3. a) Explain various data types in Python.


b) Explain exception handling in Python with try... except... finally block.
c) With example explain keyword arguments and default arguments to the
function. (4+4+4)

P.T.O.
BCACACN 401 ]il

ffi
I lilfll tilfl fllt tilt ltIlilIil ililIl ilt ililt fi] il]

UNIT _ II

4- a) Explain split and join methods of string with example.


b) Write a note on indexing and slicing lists.
c)
%#q
Dictionaries. (4+4+4)

5. a) Explain any four list methods with syntax.


b) Write a Python code to implement stack operations using lists.
c) Explain concatenation and repetition operations on string with example.
(4+4+4)
uNtT - ilt

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

8. a) Explain four SQLite mcdule methods required to use SQLite database.


b) Explain any four NumPy array attributes with usage syntax.

c) Explain any four string processing methods supported by Pandas Library


with example. (4+4+41

9. a) Write a Python program to demonstrate any four SQLite Database


operations.
b) Explain any four NumPy array creation functions with example.
c) Explain with example any two methods of creating Data Frame. (4+4+4)

You might also like