Semester : SEMESTER 5
Subject : Python Programming
Year : 2020
Term : DECEMBER
Branch : MCA
Scheme : 2016 Full Time
Course Code : RLMCA 369
Page:1
Course Code: RLMCA369
Course Name: PYTHON PROG
Max. Marks: 60 OGRAMMING
Duration:
PART A ⋅⊦
Answer all questions, each carries 3 marks. Marks
] Differentiate Fundamental and Collection data types in python. (3)
2 What are assertions in python? Give example. (3)
, 3 , Explain 50000 and 16110 in python. (3)
4 Explain built-in class attributes. ⋅ (3)
5 Explain commit and rollback operations in python. (3)
6 Differentiate between match-and search functions in re module. (3)
7 Explain the three types of Layout managers in python. (3)
8 Write short notes on matplotlib. (3)
PART 13
Answer any one question from each module. Each question carries 6 marks.
Module I
9 Explain any three decision making statements in Python with suitable example. (6)
OR
۷۴ (a) What 15 a dictionary? Are dictionaries sequences? 3 marks (6)
(0) Let farm= {'1:Eeman’,2:'Catrine’,3:’David’} be a dictionary. 3 marks
Write the statements for following operations.
٭ To add the key value pair (8:'Jack’).
e To display the number of items in the dictionary.
உ. To remove the key value pair (2: 'Catrine').
Module 11
11 Explain datetime module with suitable example. (6)
OR
Page 1 of 2