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

Python Programing

This document outlines the examination structure for the Fourth Semester B.C.A. Degree Examination in Python Programming, scheduled for June/July 2024. It includes instructions for answering questions from two parts: Part A consists of short answer questions, while Part B requires detailed responses from specific units. The document also lists various topics such as data types, string operations, inheritance, and database operations that students are expected to cover.

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)
21 views

Python Programing

This document outlines the examination structure for the Fourth Semester B.C.A. Degree Examination in Python Programming, scheduled for June/July 2024. It includes instructions for answering questions from two parts: Part A consists of short answer questions, while Part B requires detailed responses from specific units. The document also lists various topics such as data types, string operations, inheritance, and database operations that students are expected to cover.

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.

Iiltilt ffit fl]t ffit ilff til] fiilt ]t llllt l]lt il] lilt BCACACN 401
Fourth Semester B.C.A. Degree Examination, June/July 2024
(NEP 2O2Ol (2022-23 Batch Onwards)
PYTHON PROGRAMMING

Time : 2 Hours Max. Marks : 60

Note : Answer any six questions from Part - A and one full
question from each Llnit in Part - B.

PART -A

':'
c) Why strings are called immutable ? :' ''
d) What is tuple ? Give example.
e) How to define private instance variable and methods in Python ?
f) What is Canvas ? 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) With example explain how command line arguments are passed to python
program.
c) Explain exception handling in Python (4+4+41

3. a) Explain various data types in Python.


b) Give the syntax of range function. Explain with example.
c) With syntax and example explain how to define and call a function in
Python. (4+4+41

P.T.O.
BCACACN 401 I tillll tilt ilfl ililililt lll] illilt ilt illlt Il] illlil]

Unit - ll
4. a) Explain concatenation, repetition and membership operations on string.
b) With example explain how to Access and Modity key : value Pairs in
Dictionaries.
c) Explain any four list methods with syntax. (4+4+4)

5. a) Explain split and join methods of string with example. ;\.


b) Write a note on indexing and slicing operations on tuples.
c) Explain any four set methods. (4+4+41

Unit - lll
6. a) What is inheritance ? How to implement inheritance in Python ? Give an
example.
b) Write a note on arranging Widgets in a frame using layout managers with
examples. (6+6)

7. a\ Explain declaring a class, defining an object and constructor with syntax


and example.
b) How to create a button widget and bind it to the event handler ? Explain
with example. (6+6)

Unit - lV

8. a) Explain any four NumPy array creation functions with example.


b) Explain Bar Graph creation using Matplot Library module. (6+6)

9. a) Explain any four SQLite database operations with example.


b) Explain any four operations on Dataframe with example. (6+6)

You might also like