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

Python - 2021

Python Question

Uploaded by

email.9339249077
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Python - 2021

Python Question

Uploaded by

email.9339249077
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1 :11111111111111I1111111111 1111111111 11111111I!

1111111111111111111111111 11111 illl illl


'£8;~ ,J~! 1036003-

BBM-003-1036003 Seat No. _


B. C. A. (Sern. VI) (CBCS) (WEF-2016) Examination
July - 2021
CS-33 : Programming in Python

Time 2':2 HOUI'S] [Total Marks : 70

1 (A) Fill in the blanks. 4


(1) IDLE stands for _
(2) is a special character, which is used to
represent whitespace characters
(3) is a special character, which is used for
new line
(4) The symbol is a shell prompt in Python.
(B) Explain LIST data type in Python. 2
(C) Explain Modules in Python. 3
(D) Explain Branching statements in Python. 5

2 (A) Fill in the blanks. 4


(1) The symbol is to set comments in Python.
(2) Python commands are evaluated/executed in

(3) method writes any string to an open file


in Python.
(4) method reads string from an open file in
Python.
(B) Explain TUPLE data type in Python. 2
(C) Explain Recursion in Python. 3
(D) Explain Iteration statements in Python. 5

3 (A) Fill iri the blanks. 4


(1) In Python, exceptions can be handled using a
___ statement.
(2) exception catches all exceptions in Python.
(3) statement forces exception to occur in
Python.

BBM-003-1036003 ] 1 [ Contd ...


(4) error is raised when division or modulo
by zero takes place for all numeric types.
(B) Explain Class in Python. 2
~Explain Assertions in Python. 3
(D) Explain Handling- exceptions in Python. 5

4 (A) Fill in the blanks. 4


(1) ADT Stands for _
(2) error is raised when a calculation exceeds
maximum limit for a numeric type.
(3) error is raised when an import statement
fails.
(4) has a brief description about the class.
(B) Explain Bubble Sort in Python. 2
(C) Explain Inheritance in Python. 3
(D) Explain Linear Search and Interpolation Search 5
in Python.

5 (A) Fill in the blanks. 4


(1) Knapsack problem IS also known as .J I I

problem.
(2) PyLab is embedded with module of Python.
(3) method displays the graphical window on
the computer screen.
(4) Dynamic Programming is mainly an optimization
over plain .
(B) Explain figure 0 function in Python. 2
(C) Explain Fibonacci sequence. 3
(D) Explain Oil Knapsack Problem in Python. 5

6 (A) Fill in the blanks. 4


(1) When stores PyLab Figure, Default extension

(2) MATLABStands
l
for -----
(3) , is a Python module that provides tools for
scientific computing.
(4) Dynamic Programming was developed by _
(B) Explain plot ( ) function in Python. 2
(C) Explain title, xlabel and ylabel in pylab. 3
(D) Explain Plotting Mortgages in Python. 5

BBM-003-1036003 ] 2 [ Contd ...


7 (A) Fill In the blanks. 4
(J) RegEx stands for
(2) JSON stands for _
(3) Notation is used to match start of string.
(4) Notation is used to match end of string.
(B) Explain Memoization in python. 2
(C) Differentiate: search 0 VS findall 0 in Python. 3
(D) Explain gTOUpS0 and groupdict 0 with example. 5

(A) Fill in the blanks. 4


(1) In Python, regular expressions are supported by
the module.
(2) A is a sequence of characters that forms
a search pattern.
(3) . function returns string with backslash for
all non alphanumeric characters.
(4) CSV stands for _
(B) Explain json. dumps (object) 2
(C) Explain split 0 and subn 0 function in Python. 3
(D) Explain finditer 0 and expandO with example. 5

9 (A) Fill in the blanks. 4


(1) ROC Stands for _
(2) MSE stands for _
(3) AUC Stands for _
(4) . is informative tags to subsets of data.
(B) Explain Head 0 function in Python. 2
(C) Differentiate: Simple Model VS Complex Model. 3
(D) Explain Predictive Model Building stages. 5

10 (A) Fill in the blanks. 4


(1) is the process of exploring and analyzing
large data sets to make predictions and boost data-
driven decision making.
(2) RMSE stands for
(3) R,OC Stands for .
(4) MAE stands for _._..__._
(B) Explain Tail 0 function in Python. 2
(C) Differentiate: Big Data VS Large Data in Python. 3
(D) Explain Training Data in Data Analytics in Python. 5

BBM-003-1036003 ] 3 [ 2160/63-77 ]

You might also like