Paython Papers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

*HB-003-2036003*

Seat No.________________

HB-003-2036003
B. C. A. (Sem. VI) (CBCS) (W.E.F. 2019) Examination
April - 2023
Programming in Python : CS-33

Faculty Code : 003


Subject Code : 2036003

Time :2 12 / Total Marks


70 :

1 (a) Attempt the following : 4


(1) Who is the developer of Python ?
(2) Which special character used for new line ?
(3) Python command are evaluated/executed in _______.
(4) The _____ symbol is to set single line comment in
python.
(b) Attempt the following : (any one) 2
(1) Explain tuple with example.
(2) What is global variable ?
(c) Attempt the following : (any one) 3
(1) Explain Branching Statement in Python.
(2) Explain Dictionary in detail with example.
(d) Attempt the following : (any one) 5
(1) Explain Iteration statements in Python.
(2) Explain List in details with example.

2 (a) Attempt the following : 4


(1) The python _____ statement forces a specified exception
to occur.
(2) ELSE keyword is used in exception Handling in python
(True/False).
(3) ______ exception catch all exception in python.
(4) Partition and exchange sort is _______.
(b) Attempt the following : (any one) 2
(1) Explain assertions in python.
(2) Explain class in python.

HB-003-2036003 ] 1 [ Contd...
(c) Attempt the following : (any one) 3
(1) Explain Hash Table with example.
(2) Explain Bubble sort in python.
(d) Attempt the following : (any one) 5
(1) What is inheritance ? Explain any two with example.
(2) Explain Handling Exception in python.

3 (a) Attempt the following : 4


(1) Knapsack problem is also known as ______ problem.
(2) _____ method display the graphical window on the
computer screen.
(3) When stores PyLab Figure, Default extension _______.
(4) Which function is used to save plot graph to file ?
(b) Attempt the following : (any one) 2
(1) Explain show () function in python.
(2) Explain legend () function in python.
(c) Attempt the following : (any one) 3
(1) Explain divide and conquer in detail.
(2) Explain Fibonacci sequence.
(d) Attempt the following : (any one) 5
(1) Explain 0/1 knapsack algorithm with example.
(2) Explain Plotting Mortgages in python.

4 (a) Attempt the following : 4


(1) URL stand for ______.
(2) UDP stand for _______.
(3) TCL stand for _______.
(4) TCP/IP stand for _______
(b) Attempt the following : (any one) 2
(1) Write a code for download an image from internet.
(2) Explain Button with example.
(c) Attempt the following : (any one) 3
(1) Explain sending a simple mail with example.
(2) Explain Entry Fields with example.
(d) Attempt the following : (any one) 5
(1) What is a dialog ? Explain all with example.
(2) Explain File Server and File Client with example.

HB-003-2036003 ] 2 [ Contd...
5 (a) Attempt the following : 4
(1) SQL stand for _______.
(2) Which package used to connect Mysql database in python
code ?
(3) List out connection () function parameters.
(4) Which method of cursor class is used to fetch only one
row from the table ?

(b) Attempt the following : (any one) 2


(1) Write a python code to inserting record in the table.
(2) Write a python code to deleting record in the table.

(c) Attempt the following : (any one) 3


(1) Write a python code to verifying the MySQL dB
Interface Installation.
(2) Write a python code to retrieving all rows from a table.

(d) Attempt the following : (any one) 5


(1) Write a python code to creating Python database and
student table like grno, name, address, std and birth date
through python.
(2) Write a python code to read grno from the user and
update that record otherwise give message grno is not
available.

____________

HB-003-2036003 ] 3 [ 3220 / 89 - 55 ]

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy