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

Pap Ia3 Scheme

The document is an Internal Assessment Test Question Paper for the subject 'Python Application Programming' for the 7th semester at Karnatak Law Society's Vishwanathrao Deshpande Institute of Technology. It includes various programming questions divided into two parts, with each question carrying specific marks. Additionally, there is a solution and marking scheme provided for the assessment.

Uploaded by

rtp
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
0 views

Pap Ia3 Scheme

The document is an Internal Assessment Test Question Paper for the subject 'Python Application Programming' for the 7th semester at Karnatak Law Society's Vishwanathrao Deshpande Institute of Technology. It includes various programming questions divided into two parts, with each question carrying specific marks. Additionally, there is a solution and marking scheme provided for the assessment.

Uploaded by

rtp
Copyright
© © All Rights Reserved
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
You are on page 1/ 8

Karnatak Law Society's

Vishwanathrao Deshpande Institute of Technology, Haliyal- 581 329


Doc. No.: VDIT/ACAD/AR/O5a Rev.No.:02

Page1 Rev. Dt: 25/03/2021


IA TEST QUESTION PAPER
AY: 2020-21

Department: CSE IA Test No: III


Semester / Division: 7th Senm [Open Elective] Date: 17-01-2022
Subject with Sub. Code: PYTHON APPLICATION PROGRAMMING -18CS752 Time: 10.30 am to 11.45amn
Faculty Name: Ravindra T. Patil Max.Marks:50

Note: Answer any one full question from each part; each full question carries 25 marks.

PART-A
la Create a student class and initialize it with name and roll number. Design methods to: 10
(1Display_to display all information of the student.
(1i )setAge_to assigm age to student.
ii setMarks_to assign marks to the student.
bExplaininit_method and_str method with examples. 10
c Justif with example objects are mutable.
OR
2a ExDlain two copying functions with examples. 10

h Explain pure and modifier function with examples.


10
cExplain with example Operator overloading.
PART-B
3a Write a Python program that makes a connectiorn to a web serverand follows the rules of the HTTP. 1 0
protocol to request a document and display what the server sends back.
h Write a Python program to retrieve an image over HTTP. 10
c Write a Python program for retrieving web pages with urllib

OR
4a Explain Parsing HTML using BeautifulSoup with example program.
10
b
Explain XML format and parsing XML documen 10
C Write a Python program for reading binary files using urllib.

Q. No. 1 Q. No. 2 Q. No. 3 Q. No. 4


S.No. Details
b C b b b
PO 2

2 CO 4 4 4
4
3 Level 3 3
Karnatl Law Socicty 's
581 329
ishwanathrno Deshpande lnstitute of Technology, aliyal
Rev.No.0
Doc. No. VDIT/ACADAR/05b
Rev. D: 25/03/2021
P'age
Solution and Seheme for awnrd of marks
AY: 2020-21
IA Test No: 3
Department: Computer Science and Engineering Semester / Division: yu
Subjeetwith Sub. Code: 19 s s i
Name of Faculty: Prof. Ravindra T. Patil

Solution and Scheme Marks


Q.No
Clom Stu n

Jone manos =None).


dge
nami
Sel4.nama
Se.. sno Tno

Ceey.ot
Su.mosnlc mo\ lo).

de Se Age Sest 4ae ) :

Seo .ao)e 0ge

Je sed modo Seo4 nalloi)

Sus. ndres n a o

det Dsptay Ctet )


pra rame ,S0. na e

Pi Tol no Sad.rno)

Pr "19 ') Seo. a9e)


Pr nanas Set noas )

S. Seo Age o')


S Ses rann ( )
S. Dista ()
Q.No. Solution and Scheme Marks
1 mmed whern

Exam ioi-- C3ef, heo , m:


.

o , S o)

see h h

Setp.m m

tinu = Tme )
i m . Printime C)
Oo:co: 00

S mho Smi prrt re


obj

def--S+ 7 -
-

(Ses)
7 n
I2 /,2 J : /2J /. (se ho
Seo.minu Sel4. seeon )

tim T«n 9, )
7Prin Bm )
09 HS 0v.

.C

9T rt Ckarf , dw , dh):
tt wi dm4 w
C. huif Jh
S
box . uih

15o, 300-o )

C2 o, koo o
Soiubco anJ 3ch u
.a.
pla inas oo s'halouw Cor y wim sampu
Sm
boe bop2

orn
- Covn o m

Deap cofy ma cofje nor J he 0tt bu

aiy h olojUy Cunt Hne vbju

ant v on.
Tefn to.

CoPy dlr Coty C vK)


S lbox 3

Fa

2. Puu u uso9 w,11 no mesty m

wnich win be Pume ay agu met

Eto mpu to Pun unr0.

Sm
Sum = Tim C

ow *t2 how
um hon t
momt t 2 mninute

Sum.
minut : ti

Cenj,
um, Secon-4
e con d t t 2 Je

rt Sum.
Mank
A untdm ha Chono 2 Ont o7 mer

Pnewn a ) McskN

Stntnn

deiintt at n ( t , SeconH)
t a eeon 4 Jtcon Js

m Sttons > 6e

H . m i n u l +>|

minut >6o

b minu 6 o

hown 4 -

2. onSpeciw mhoh wcan


By ining
hbravim ot OpOnANY i On Clo
reum
Enawn
Th o n u pt
Sm

de 4 -ad d ser ,one

t-t b t se toni)
S rc Selton anScm Mank
3.a. mo Sot e
GCE-
myseec= Soetet. Sete Setee. AF-3wET, Socmed . STREAm)

mysete (onntt C'a . nt.ov o))

H71P
Cm aET
\ nto Ht)

Trut 10

a
we C , tnt ")
LAAn.

3.b mpo1 3o l .
impo tu
myect soeSo Sotho A F-SNET eu. Sote
yPem )

mysoLe. conneu- daa. P"y -0T


Bo)
mysoce . sentasbGE1 nt:||
¢aa P He .oT9 Covn 3. iea
HT TP / \tinln'
Coun 0 10
P%cha =b

whil 1re

b mt Seepto-Rs)
t o u n - coun F len tSeva)

pi lentAasa ) , eouns)
Sclubo an 3ch ru Mak

s ric in " 11.1n")


h a e n n y , fe)
st Cre .doy) fo.

PiA

ha epe a.sp',w)
p',w)
ansvix CPith)

mfo

tho
Ce /Temmo. his ')
Y 1n in a n s

m1r l b . rAue M U1 1)b. Pern


om imfp1 ,eaushulsoap.
input Cesen-)

SoDP Keauki u l our (hhmt hmM a Perren)


(
Per en)
Lo
a our :( 'a')
a in eyn

Prr Jaq.9 (h ', Nore ))


Q.No. Solution and Schemne Marks
po C tyeplai nasson 3 m
ML

peyo
nam >
Chup </nam

<lporon
Panliny ML
ET
impe
xmtre llumnle a

Kpon
r a y Chue Iname
phon He
+ *

LI?hontLY
ema1 h -Ye 12
/poyon
8ACsaa)

r CET. om
bru kat name '). ka)
'am'r

H.Cimpo1 T1 lib

tovwn-Spo *)tad))
Sm
hant open ovO 3 SP', 'wu )

hant, wYiH (img)

You might also like