www.FirstRanker.com www.FirstRanker.
com
Roll No. Total No. of Pages : 02
Total No. of Questions : 18
B.Tech (CSE) (Sem.–5)
PROGRAMMING IN PYTHON
Subject Code : BTCS-510-18
M.Code : 78324
Time : 3 Hrs. Max. Marks : 60
INST RUCT IONS T O CANDIDAT ES :
1. SECTION-A is COMPULSORY cons is ting of TEN questions carrying TWO marks
each.
2. SECTION-B c ontains FIVE questions c arrying FIVE marks eac h and s tudents
have to atte mpt any FOUR ques tions.
3. SECTION-C contains THREE questions carrying TEN marks e ach and s tudents
have to atte mpt any TWO questions.
SECTION-A
Write briefly :
1) Define pickling.
om
2) Python Interpreter.
r.c
ke
3) Intermediate mode and script mode.
an
4) Lists in Python.
tR
irs
5) Define exceptions.
.F
w
6) Define Recursion.
w
w
7) String lower function.
8) Define HTTP.
9) Special symbols in Python.
10) Global Interpreter lock.
1|M -78324 (S2)-329
www.FirstRanker.com
www.FirstRanker.com www.FirstRanker.com
SECTION-B
11) Differentiate between function and module in Python.
12) Test whether a given year is leap year or not.
13) Write code to print Fibonacci series.
14) Write a note on Object Relational Managers (ORMs).
15) Differentiate between simple and advanced web clients.
SECTION-C
16) Describe the syntax and semantics of any two loop structures provided by Python.
17) Write a note on Python Database Application Programmer’s lnterface (DB-API).
18) Differentiate between thread module, threading module and related module.
om
r.c
ke
an
tR
irs
.F
w
w
w
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)-329
www.FirstRanker.com