This document appears to be an exam for a programming in Python course, consisting of 5 sections with multiple choice and short answer questions covering various Python topics. Section 1 includes questions about tuples, Python, keywords, and commenting. Section 2 covers exceptions, assertions, sorting algorithms, and class inheritance. Section 3's questions are about Matplotlib, plotting, subplots, and algorithms. Section 4 focuses on GUI, widgets, layouts, and client-server communication. The final section's questions are on SQL, database connectivity in Python, and CRUD operations.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
40 views3 pages
Paython - 2022
This document appears to be an exam for a programming in Python course, consisting of 5 sections with multiple choice and short answer questions covering various Python topics. Section 1 includes questions about tuples, Python, keywords, and commenting. Section 2 covers exceptions, assertions, sorting algorithms, and class inheritance. Section 3's questions are about Matplotlib, plotting, subplots, and algorithms. Section 4 focuses on GUI, widgets, layouts, and client-server communication. The final section's questions are on SQL, database connectivity in Python, and CRUD operations.
B. C. A. (Sem. VI) (CBCS) ~.F. 2019) Examination March - 2022 CS-33 : Programming in Python
Faculty Code: 003
Subject Code : 2036003
Time: 2.30 Hours] [Total Marks 70
1 (A) Attempt the following objective questions. 4
(1) What is Tuple ? (2) What is Python ? (3) How many keywords are there in python 3.7 ? (4) Which character is used in Python to make a single line comment? (B) Answer in brief (anyone). 2 (1) What is a Global variable ? (2) What is List ? (C) Answer in brief (anyone). 3 (1) Explain Branching programs with suitable example. (2) What is Module ? Explain with example. (D) Answer in brief (anyone). 5 (1) What is Dictionaries? Explain with example. (2) Explain any two loops with suitable example.
2 (A) Attempt the following objective questions. 4
(1) What is Exception ? (2) What is Assertions ? (3) Partition and exchange sort is _ (4) Parent class is the class being inherited from also called ? DO-003-2036003 ] 1 [ Contd ... (B) Answer in brief (anyone). 2 ( 1) What is class ? (2) What is inheritance ? (C) Answer in brief (anyone). 3 (1) What is 'self in Python ? Explain with example. (2) What is Encapsulation ? Explain with example. (D) Answer in brief (anyone). 5 (1) Explain Abstract Data Types and Classes with Example. (2) Explain Hash tables with example.
3 (A) Attempt the following objective questions. 4
(1) What is the default extension of PyLab Figure? (2) PyLab provides many of the facilities of (3) Which module of matplotlib library is required for plotting of graph?
(4) function is used to display figure/chart.
(R) Answer--ift- obrief-iany 'one). 2 (1) What is plotting ? (2) Explain various methods used to Plot~nltt Python. (C) Answer in brief (anyone). 3 (1) What is subplot 0 ? Explain it. (2) Explain Dynamic programming and divide and conquer in detail. (D) Answer in brief (anyone). 5 (1) What is mortgages ? Explain with example. (2) Explain 011 Knapsack algorithm with example. l.
4 (A) Attempt the following objective questions. 4
(1) What is GUI ? (2) What is mainIoop 0 ? (3) What is TeL?
(4) What is IP Address ?
DO-003-2036003 ] 2 [ Contd ... (B) Answer in brief (anyone). 2 (1) What is an entry field ? (2) What is a dialog ? (C) Answer in brief (anyone). 3 (1) Explain widget attributes in detail. (2) Explain types of layouts in detail. (D) Answer in brief (anyone). 5 (1) Explain nested frames with suitable example. (2) Explain Two- Way communication between server and client in detail.
5 (A) Attempt the following objective questions. 4
(1) What does SQL stand for ? (2) , method executes a database query from within Python. (3) By default the order by clause sorts the result set in the ___ order. (4) Which package import before writing database connectivity python code ? (B) Answer in brief (anyone). 2 (l) Write a python code to Updating Rows in a Table. (2) What is MySQL database ? (C) Answer in brief (anyone). 3 (1) Write a python code to Retrieving All Rows from a Table. (2) Write a python code to inserting and Deleting Rows into a Table. (D) Answer in brief (anyone). 5 (1) Write a python code to creating database and tables through l Python. (2) Write down steps to verifying the MySQL dB interface and installation steps in detail.