B. C. A. (Sem. VI) (CBCS) (W.E.F. 2016) Examination March - 2019 CS - 33 : Programming in Python
Faculty Code 003
Subject Code 1036003
1 Time : 2- Hours] [Total Marks : 70 2
1 (A) Fill in the blanks : 4
(1) Python commands are evaluated / executed in
(2) The ~ ._ symbol is a shell prompt in Python.
(3) The symbol is to set comments in Python. (4) IDLE stands for _
(B) Answer in Brief: (Any One) 2
(1) Explain TUPLE data type in Python
(2) Explain LIST data type in Python
(C) Answer in Detail : (Any One) 3
(1) Explain Branching statements in Python , (2) Explain Iteration statements in Python
CD) Write a note : (Any One) 5
(1) Explain Function and Scoping in Python (2) Explain Modules in Python with example
RZ-003-1036003 ] 1 [ Contd ....
2 (A) Fill In the blanks: 4
(1) exception catches all exceptions In
Python. (2) statement forces exception to occur in Python. (3) ELSE keyword is used in Exception Handling in Python (TRUE / FALSE).
(4) ADT stands for
(B) Answer in Brief: (Any One) 2
(1) Explain Assertion in Python.
(2) Explain Handling Exceptions in Python
(C) Answer in Detail: (Any One) 3
(1) Explain Inheritance in Python.
(2) Explain Encapsulation and Information Hiding in Python.
(D) Write a note : (Any One) 5
(1) Explain Search Algorithms in Python with example (2) Explain Sorting Algorithms in Python with example
3 (A) Fill in the blanks : 4
(1) , PyLab provides many of the facilities of _
(2) : __ method displays the graphical window , on the computer screen. (3) When stores PyLab Figure, Default extension (4) is a Python module that provides tools for scientific computing.
RZ-003-1036003 ] 2 [ Contd ....
(B) Answer in Brief: (Any One) 2 (1) What is Memorization? (2) Explain pylab.title, pylab.xlabel and pylab.ylabel
(C) Answer in Detail : (Any One) 3
(1) Explain Fibonacci sequence. (2) Explain Divide and Conquer algorithm.
(D) Write a note : (Any One) 5
(1) Explain Plotting Mortgages. (2) Explain the Oil Knapsack Problem
4 (A) Fill III 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) JSON stands for (4) If there is no match, will be returned, instead of the Match Object.