Iililil iltililtil1il ililtiltllil NP - 410
2t
lll semester B.G.A. Examination, January/February 2o2i
(NEP) (F+R)
COMPUTER SCIENCE
CA - Cl3T : Python Programming
Time : 2/z Hours Max. Marks : 60
lnstruction : Answer any four questions from each section.
SECTION _ A
l. Answer any four questions. Each question carries 2 marks. (4x2=$)
1) What is Python ? List the execution modes in python.
2) Define function. Name the type of functions in Python.
3) What is indexing and negative indexing in a string ?
4) Give difference between list and string.
5) What is piekling and unpickling ?
6) Define abstraction and inheritance.
SECTION _ B
ll. Answer any four questions. Each question carries 5 marks. (4x5=20)
7) Explain the features of Python.
8) What does it mean that strings are immutable ? Explain five string methods
with example.
9) Explain len ( ), any ( ), all ( ) and scjrted ( ) functions on dictionary.
10) Write differences between tuple and dictionary.
1 1) What is data visualization ? Explain role of Matplotlib library in visualization.
12) What is frozen set ? Explain difference, difference - update ( ), intersection
and intersection - update method on set.
p.T.o.
NP - 410 I tilililt ililt ilt flilt il1il ilil ilil
SECTION _ C
lll. Answer any four questions. Each question carries 8 marks. (4xg=32)
13) Explain the different types of control flow statements with an example.
14) Describe with example basic operations on list.
15) How to define and call user defined function ? Explain with example.
16) Explain the process of reading and writing a data into file with example.
17) What is a constructor ? What are the types of constructor ? How to define
it in Python ?
18) Write a note on :
a) Web API
b) Plotly.
{1,