Semester : SEMESTER 5
Subject : Python Programming
Year : 2020
Term : DECEMBER
Branch : MCA
Scheme : 2016 Full Time
Course Code : RLMCA 369
Page:2
13
14
15
16
17
20
051101
> 51115 in on W |
(6)
Module 111
(a) Explain all the fi |
010 processing modes supported by Python. 3 marks (6)
b സു 1 ர் 5 5 1
(b) Write a python program to insert a sentence into a specified position in a file
3 marks
OR
Explain the concept of inheritance in Python with suitable examples. (6)
Module IV
(a)Differentiate Regex Patterns and Regex Characters. 3marks (6)
(b) Write a program to retrieve lines that contain a 3 letter string consisting of “s”
then any character, then “௦” (example “she”). 3 marks
OR
(a) With the help of an example explain how insert, update and delete operations (8)
in a database table done in python. — 9 marks
> marks
(b) Briefly explain fetchone(),fetchallQ and rowcount.
Module V
r widgets. Explain with a suitable example.
Write any three Tkinte (6)
OR
ts Web Clients, Web Servers, Web Services with suitable (6)
Explain the concep
examples.
Module VI
Differentiate Django Projects and Django Apps: How to create 8 project in (6)
Django.
OR
Explain different ways of creating and initialising arrays using NumPy.
भि
eK ೫ ೫