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

Btech Cse 5 Sem Programming in Python 78324 Jan 2023

Question paper of python programming

Uploaded by

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

Btech Cse 5 Sem Programming in Python 78324 Jan 2023

Question paper of python programming

Uploaded by

ritin3098
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No. Total No.

of Pages : 02
Total No. of Questions : 09
B.Tech. (CSE) (Sem.–5)
PROGRAMMING IN PYTHON
Subject Code : BTCS-510-18
M.Code : 78324
Date of Examination : 27-01-2023
Time : 3 Hrs. Max. Marks : 60

INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains T HREE questions carrying T EN marks each and students
have to attempt any T WO questions.

SECTION-A

1. Write briefly :

a) Discuss briefly about dir() and help() functions.

b) Differentiate between an error and an exception.

c) What is persistent storage?

d) Explain briefly about modulus.

e) Write a short note on global interpreter lock.

f) What are regular expressions?

g) Explain briefly about web surfing.

h) Describe the relationship between child and parent windows.

i) Write a short note on application programmer’s interface (DB-API).

j) Write a SQL command to create a table with three fields of different types.

1 | M-78324 (S2)-1287
SECTION-B

2. Differentiate between Lists and Tuples with the help of an example.

3. What are command-line arguments? Explain clearly the difference between ‘argc’ and
‘argv’ arguments.

4. What is pattern-matching? Describe two ways to accomplish pattern-matching.

5. Write a short note on Tkinter, Pmw and Tix GUI highlighting the difference among
them.

6. What are adapters in databases? Discuss various factors to be considered while


choosing an adapter.

SECTION-C

7. What is Common Gateway Interface (CGI)? Explain in detail about the working of CGI
with the help of an example.

8. What are hash tables and how do they relate to dictionaries? Also explain how are the
elements inserted, updated and removed from dictionaries.

9. Describe the process of exception detection and handling in detail with the help of an
example. What role does assertion play in exception handling?

NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.

2 | M-78324 (S2)-1287

You might also like