Save trees use e-Question Paper Go green
DOWNLOAD THIS FREE AT www.viuresource.com
CB GSISCHENE
vow (TT U ou
Second Semester MCA Degree Examination, Dee.2017/San.ah8
Python Programming
Tie: 3 fen May
Note: Answer any FIVE full questions, choosing one full question fr
Modute-1
1 a. Explain the ewo ways to use the Pylon anerter (04 Marks)
Give the outputs of the following expressions:
547i) 17/0 iit)—N6r%S Wy) 178 (04 Mars)
‘¢. What are the errors that can be detected by Python? them with one
example each, (04 ¢ares)
4. Discuss about the importance of descending the i mpl. (04 Marks)
re
2a, Trace the fnetion callin the following cae by Sg the JPeory model:
def fx) =
x=20x
x=
X= fx +1) +AGx+2) (do Marks)
‘Demonstrate any 4 operations on (04 Marks)
cExplain the usage of keyword and “sep”, (02 Marks)
3) @ Discuss about the process 1g. comparisons. Write a short note on short circuit
2 Any mveaiag of etictn. spe eer an or gains wien 4248-5, wil be wea as maja,
Inport Noe 1. Oncampleing your answes coulda lagna re ines onthe rain sk pgs.
valuation performed -valuating combined comparisons. (@3 Marks)
b. Elaborate the process gftlesigr ‘own modules with aclear example. _(@¥ Marks)
or
4 a Describe the steps to Wg youttode semi automatically with an example (08 Marky
b 1s inBlges str to demonstrate calling methods in the object-oriented way.
(08 Marks)
Modute-3
5 us”. Support the statement with an example, (4 Marks)
cess of modifying lists by using the memory model, (2 Maris)
Orta OO tes] (06 Marks)
bout processing lists using indices (10 Marks)
. BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS
A Viuresource Go Green initiativeSave trees use e-Question Paper Go green
DOWNLOAD THIS FREE AT www.viuresource.com
=)
7. Discus about the 4 techniques for reading files in detail, 16 Ma
8% Demons any 6» operations with snp, (gemney
b. Describe the process of storing and accessing data using Dictionaries. @ aris)
‘Module-5
9a. List out and explain the phases invoived in object-oriented pro (10 takes)
b. Explain the process of writing x method in Class Book. (06 Marks)
oR
10 a. Demonstrate the process of grouping widgets with the f
‘Explain about the key elements to build larger GUI
Give an example sy
(08 Marts)
“ews and Controllers.
(08 Marks)
2of2
BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS
A Viuresource Go Green initiative