0% found this document useful (0 votes)
43 views24 pages

Python Imp 1 - Saicharan Pagidi

The document discusses Python questions and answers across 5 units. Unit 1 covers Python concepts like functions, data types, operators and modules. Unit 2 discusses file handling, exceptions and modules. Unit 3 talks about regular expressions, threading and parallelism. Unit 4 is about GUI programming and web development using Tkinter and CGI. Unit 5 focuses on database programming using SQL and ORM.

Uploaded by

Raghu Naik
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)
43 views24 pages

Python Imp 1 - Saicharan Pagidi

The document discusses Python questions and answers across 5 units. Unit 1 covers Python concepts like functions, data types, operators and modules. Unit 2 discusses file handling, exceptions and modules. Unit 3 talks about regular expressions, threading and parallelism. Unit 4 is about GUI programming and web development using Tkinter and CGI. Unit 5 focuses on database programming using SQL and ORM.

Uploaded by

Raghu Naik
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/ 24

f)tnon p-,o.

j1nmm,'rir
k· j p,·~ ,r, ·,
Python Important Questions
~-
Unit-1

Short Answers

1. State any four applications where python is more popular


2. List out the main differences between lists and tuples.
3. Why are Variable types Declarations are not used?justify your answer?
4. Which python objects are immutable? Explain With Examples?

5. Which Python types are sequences, and how do they differ from mapping?
double and
6 G,ve a not on each of the below Python language constructs: (i) quotes (single,
triple) (ii) multiline statements (iii) indentation

Long Answers
script b)List
1. How to declare and call functions in Python programs? Illustrate with an example
and explain few most commonly used built-in types in python.
deals with
2. Summarize various operators, built-in functions and standard library modules that
Python's numerictype.
3. Make Comparision of Internal types Ellipsis and Xrange?
4. List Built-in Methods used for string comparision?
an
5. What is lambda function? What are the characteristics of a lambda function? Give
example
6. Write about the concept of scope of a variable in a function.

Unit-2

Short Answers

1. What are the uses of File object?


2. Give a brief description of several Built-in attributes related to File objects.
3. Explain the python modules for serialization and persistency?
4. Difference between importing and loading of a module?
5. What is the difference between try-except and try-finally?
6. Explain Assert with examples

Long Answers

on and
1. Explain the following file built-in functions and method with clear syntax, descripti
illustration: a) open() b) file() c) seek() d) tell() e)read()
lustrate
2. How does try-except statement work? Demonstrate with an example python code's)ll
the concept of importing module attributes in python scripts.
d line
3. Writ~ python program to append the contents of second file to first file use comman
arguments?
4. With example discuss except statement with multiple exception?
5 wh,it ,ltl' romm;1111l lino ;11qt111wnts nnd oxpl;iin II with an exc1mple?
G Expl,1in input ,rnd output mothods of Ille?

Unit-3

Short Answers

1 Summarize the purpose of pipe and dot symbols used for pattern matching.
2. Explain the basic functionality of match( ) function.
3 Differentiate between Lock and Rlock Objects?
4. Formulate Regular expression pattern for the following t Word which starts with 'the and
matches words only with 'the' and string contains the but not begin with 'the'
5. Explain the differences between process and thread?
6. Explain methods of threading module.

Long Answers

1. Examine how python supports regular expressions through the 're' module with brief
introduction and various built-in methods related to it:
2. What is the motivation behind paralleJism and state how python achieves parallelism ) Explain
briefly about thread and threading module objects in Python.
3. Write a program to demonstrate multi threaded mechanism provided by thread module in
python
4. What are regular expressions? How to find whether an email id entered by user is valid or
not using Python're' module.
5. Explain the syntax of creating a thread with examples? And explain about light weight
process
6. Difference between thread and threading module?

Unit-4

Short Answers

1. What is the need of Tkinter module in python?


2. How to create Label widget in Python?
3. Label Widgets. Update the tkhello1 .py script to display your own message instead of'Hello
World!"
4. Label and Button Widgets. Update the tkhello3.py script so that there are three new Buttons
to the QUIT Button
5. Discuss about web servers?
6. Expl_ain the process of building CGI Applications?
Long Answers

1. Consider a Python GU I program that produces a window with thu fr,llrJt✓ 1ng wJgr:ts u rng
python code a) A button to retrieve the next value in th:1t list(1f there 1s r,n,JJ Tl-11s button 18
displayed if there is no next value in the listb) A label to d1spl;iy the numbe:ir rJf the 1tern
being displayed and the total number of items
2. Give an overview and demonstration of building web applications using p1t~10n s Vl' module
'-3' Create a web crawler as an advanced web client using python module
4. Explain the Architecture of CGI?
5. What is url <Explain about URL Methods?
V. Discuss about URLLIB2 module?

Unit-5

Short Answers

1. State the need of persistent storage.


2. Discuss the SQL commands/statements used for creating , using and dropping a database .
3. Explain the steps to Create database Connection in Python?
4. What are database exceptions?
5. Explain SQL object orm with exampl~s?
6. . Explain about Connection Object Methods?

Long Answers

1. What is a cursor object? Explain various methods and attributes of cursor object.b)What do
you mean by a constructor? List and describe various constructors used for converting to
different data types.
2. SQLalchemy provides more flecibility in issuing raw 'sql' sunstantiate this statement?
3. Discuss the following commonly used query methods:
Offset(), filter_ by(),orderby()
4. Describe in detail about Python SQLAlchemy ORM with a case study of Employee role
database.
5. Explain about ORM and its advantages?
6. W hat are DB-API Module Attributes?
Ul\l 11 - I

1) H <>.i: < Ct<J :J --focw °fPL, coJ, o () < Nh eN< f ~ 1f,o I) u. mo-n po pv.J,
A) o... //,Jt.b ~l':,l,'c.o.:h'oni
b Du.kt-op 9 u, °'fFlu::a-hons:
c ~l)..,tin~<.t o.ppli'c_o...-hon<;:,
d 't'mo.~e fYoc.<?ccin~ o..pplic..a._·t ionr
e. ~oj--l WO-iYq_ De.ve.lo pm eFl+-
-f Do.Jo. b~ e o..c c U(,.
i • 9o..m e_ De. v e lop TY) e_ nt .

G { t- o u.t ~ e. rY) 0--Lf)


cJ iDi ()IYO()cv., be:twu.f) u.cb.. a.n d - b. flu
r -u~t- -- ~r
-LL-L/:, Ie
I
{1~-lis:h ()J'(o._ muto..ble. ,. Tuple OJYe. 1mmu.+a-blt. -
2. 5Mp[ico..-ho() o~ J... 5rnpli ca-hon o ~ i tQJYoJ, -
+
i vvo:h o () ~ Ll. -h m e. -o nt u. wmpNYa-..-ti v ~Ly
c...o n .c.u..m i n Q. -r CV.,. t e;y- .
3. -rl:;e Li~-t u be-t-+Q/'r 3. Tu..pl e. d 0-ta- hJ pe w,
-fo'Y pvYfo'Y r1J in~ 0-f p'YopYi o..h~ -fo-v- ~c.c.e)..{ 1-
opVY0-.hor,~ Lik~ in.terr ..
-nd ff)~ e..l e.rne..n k
- -hon ~ d e.le.bon.
~ Ud::i: c...ontu.me. mo'Ye. 4 · TL,l.,pl~ w~U-mu Iv.,,<:.
IV) UY)OY~ ' fY)uY)O'Y~ ~ U)W) pe>J're..d
-Lo Lid~~ -
Lit h. ho...v<L _cive_;yo.J
5 T u..p l ~!. d o e..~ fl Ot- ho..\/ e.
bu.i lf-- ti) me.~od t .
I•
fY\O'Ye 61.)..i U-- tf) metfiod-i.
Li£-+ -lu.plH.
~ L1 C. W. OJYe d~:rl 0,JY) ,' c (:; . Tl-lpl v, OJYe + ,1 eJ ! I ie lf)

n o.+L,(JY e
L,c.t u' c.-hrved \f) [ J 1 • Tu-plu OJre ~tt,,ye_J ti) ( )
:/
V)l\::>e.c.+e.d c,h~e..~ ~, .Tn +upl~, i!-- 0. hOJYd to
g, !he LL()

0-nd VY'YO"f~ ().N~ m o"tl. I


-+~ke. plo..ce. ·
li k L½J tv OC.LUff,
- ----

~ 0 t.-W OU) L W eJY .


Ju.-~-b~
duJ°'1Ytnd o..bl l-(
P:1-tfioo u ~-l~on~~ ~t~~e_q so
VO..JYl
A) CA

-+y Pe_ W,
u.-nne c~CJJJ!j· P:j~on VOJY~ oblu do nob ne..e_o\
e.:~\;dt- de.c..lOJYo.tiof) +o 'Yuvv,u mUYJD"':J ~po.c.e..
Th e. d e. c.. l ON a:b o() h o..p pUJ .c. o.u +o rna:b ux 11_:J w he.n jou

0-)M'r ().._ v0-lu...e. +o 0.. VOJYIOblt. . 1°he. e_vu.oJ l.tr(.:: ') Lt


~~ -+v o.wr vo.lu~ +o VD.'Yio..blu .
'
-
-[?l '.-

0 == 10
6 :- 12. . ('

c_ -= •• h. e. l lo"
p'Y1nt Co):), c.)
p:Jtl'io() &\lloN( ~OU -Iv O.J/4•i r 0. !i05l< v,::,.\u,_ -to .!.<VUYo../

vOJ<10..bl 4 .c.--1"mul tC).f)e.-o~ .

.fx:-
o. ::: b ~ c. ~ I
4) V.Jhi,h p~tf'..on objecb. OJ'rt lmrn1J.+obl, ? [-,_pla.u1 1,v,t~
{~ Clrfl pIe g. .

A) ~e<.e ()JYo o~ in-buill- -/:~pH L~ki ir,l,~-loo..t,bool,~h,nlJJ


-tLLple,LLr)icoda_. ~In trrnplt. vvorrcl<., 0-..n lfY)Mu-robli obtct
l' an l-- be c ho...n o.tte.lY it- u CJYe..CJ._fe_d -
.[?I.:- #t1.,Lp l t.~
0Q__~

--tLlple t == Co,, 1
1, 3,)
+u.pltr[ol~ 4-
p·n r,t [-l up/e._ I)
#--£"r"f O"l Co u.-l-pu t)
~ :- -=# r +'Yi nC] t

t'Y'i v..to..de = '' We lc...orn e. -to w l IQ_ e. '' U


rnu,s,.oJe_[o] '"'' p'
rn I t- l rn V,.,(. °'1 e.. )
::Jl_-£,y-roY

~) tAlhid, p~~or) -tljpu OJY~ ~e..9,uef)LUJ cu,d how do ~~


d,~1 e;y· rDf'Y) morpifJ~?
A~ rtun OJ-c< ti'l. ~pu oj ~'4,li'-')c, -h:ir"'- '~+..,in'j(, w,rc odc
I f f-y, n 'j l, Llt. b. , -lu.p Iu, bu.H <JY( .; -x_ 'YOJl~, obj nb-.
fVlot t f~~uU)c ~ ½Pu fu.,pporyt -tf5Q_ f l1owin3 opvYotior,t.
Th"t ,, tf) '' a.nd " rio-i: t.f) '' opex01.-hon~ h0-~1e -~ e tcx.rYH.

p-vro,-i/-iu. 0-.-\. -tR, opvvo-k_1.. -rt;, · -t- ..


wmpOMt.ion =d
•• l( •· opmo.-hnr ho.v, tR, tam, rio"i~ a.,. if;,
LO'"YY~J'">ond, llj nu_rf1 ·vv-i ~ opur0--h o ri c
4

11,Jhe,y,o.~, OI m0-pi~•n~ oloyd· ""apt ,Mmu+a-61, v0-l u•


-+o o.~6'h,,N'j obj41h , fvlo.pp•n9c OJY• mufobl, abyct.
1
,f; ,-v, Lt vnltj an, d o.n clor,cl mo P\'in13 hj P' , t~

~IC t1 OnOJ'I ~
~) Ci; v, ()_ noh on Wth D~ #;, !:,,low p~tkon /Ofl~ U D ·r
c.on d -, ud, : (i J 9ct oh t ( "n':J 1, , cloubl, ~ -h ip I,)
(11) rnl.). t+;L;ne. ~+o.+~me.nh l_l°i.1) indU')toJ.,on .

A) L') qu.ot(!..t :-
~\,ol:-a:hon t~N1bol,,, OJY< l).),<d +o m,0--t, ~-1:"'l"'j obj'c.t-
in Niton . P~tlio<l ..,-,,_wcf J'--'- rn,f , dou bl, ; -h-ipk
'tu.Dhc1 :l
i hi n t • H", n :l Li hj'{o.L. =• vcm H e.n b~
V') t Lo n gu o. i •~u. ma ot c.h DJYO. ct mt til ti n 'J l , 9u..oh-1
(' hdlo' 1 , doubl, q,l.l.O+CA (" J,,.,llo") o'Y -hipl• 9,u.ob...<

(_ "' ~eJLo "')


(11 J V\A,Ll. I-ti G.n e. s.·h:,._tUY) ifl t. ·.-
-Cvex':J pytfion .t-1-o.1:o.mvit. v,d-t '-"1itJ:\ o. ne.wlin•
c.-hOJY°'c.-hJY . +1-ow e..\ 1m, we.. ux.n e.,r;....-t~d i+- ave.JV -to
rY1ultipl• Unu w.in'j " Lin, c..o11l,nuo:lio0 JiOJYo.cl:m .

..r')\. '-
">'>> ~ - Li~ t = [' ' \
2,_ I 5 \
.. . ,4,r\
-. . J
?7'> p'Y1nt[rn:J - Lit+)
~ +p½r-
[ ,,2, s ,4, C]
. Iciii) gytl';on incl rnto.h()n:
1
l'- Io.n~ o / fR, h, 3h I,"' I l;,y "~' e>mrY1i nq lo.n')"" J' \ I, k1
C , C.-t -t , C # u ~ t b'f 0. c. e <. t 1 -I o m OJY k o b I or k o b r n,. . L,
Py~on doei. ir VIO. l(")dH')[o.tlor) . A t.orl~ block whid
-,-,pnl«-nt. -tkL bod_'.:} o~ o. -/w1di on O'Y o. lo op f.:.e~1ni
~v 1,tg t e.. , n cl e..rrt o. ti on o..ri ~ e.r, d ( ~v it R f~ , -f, "' d-
(J.J') rncl e..nte..d Ll n e.. •

~n9 Of)~WQ/Y ~

1)1 --t-lolAJ -+-o d e.dOJYt o.nd c.o..11 -fW)c tion (._ LI") p~t~on r 09"'f om

I 1't lLl.-!.ttyo.t e.. 1/\J I ~ Of'\ e._r1.. 0-..M p\! ~ ( pt·


)Y ;

A1 -A tnd1on 0. o. block o~ o,~0.1)1.,3, d, rretL<.o.ble cocl,


it\o..t L, L<-~ ._d +o pox UC,""' o. ~ i n'.f , 'Y, Ia+, cl o cl ion.
-fun ction ~ p'Yovide. bet-l:m- fY'loclu/a,,yj~ ~ -Y yoLUY o..pp!i~o
- ti on g, o. hiCJh dQ.3'"'fe.l! of c.ode. rytLL.t tn~ .
-kl.nct,o n 6lotkt be.~LO 110if"R -H<,e k~~lAJo'Yd de.t fJollovved
6:3
-Anj
iRe. re f-;on narYJ e. o.nd pOJYo..n+ge_t.l-\
inpl.,,l.t p OJYo..m e..+QJY( o..,. OJy:31.,uY)Qnt. shou ld be..
pl0-c:. e_cl v0i ~ L() ~ue. p°'-'Ya.N')e.-im ~.
S.~ntCA)c'. •-
de.t -funt-tionno..me (pOJYa..me..ie..rvc.).
'-'}Lnt +ion_ doc. t t·,/1n9 ''
tv,c..-hon_ t L,Lih.
: 'refu.,,rri [e'X_~ya. <.c..ion]
-Ju..ochonno..me. ( ) -~co.lt;n3 fU)thon .
-C. ,._
~et p-r1nh--<H. ( (+11:
•. "Tt.L, P""t'- 0. r<).\.\.ecl d'Y l f)~ ,nto -thu. -tUf)c-h or,''
p·n nt- .d.·-r
r>y e ·hlf( n
P"" 1(Jtm e_ (_'' ht I{ o")
D, f "'""l o {unc liar, 00l':J J 1vH I lc- o. r,IA•YH, r p«, u f if;,_
p"'--"' 0-.m ._+,rn "tti o.+ ova +o b , 1r, , Lu. d , cj U) if\, t,u' c. h on
0-.nd r-l-rvu.c.-tuJY~A. "tt;e. bloc.kc,. ot t..odt- •
b) Lid- ar,d e.-x.p\CUI) ~'-'N rno<l wrnmor,Lj LLJ."-d bu.ilt-iri

-!~pt.,!. ti') f'j~on .


\/11JY, °' b I eA c. o..n t ti)"f e. do..to. ot d, ITU u-ru)t- -ttjpu, OJJd
d, u-t ='-'l+ ½PLl. /'.Df\ do d,tt,,,,-u,t ~ii"\<:}'
Pytt\on h cu -th, 6W \{ - in do.To. -hjpu b':J d,uo.cd 1-- Li k,,
~+"I', int , Jloo.+, wmple.~, Ll-.tt,-lup\eJ 'Y0.'1<:je, dic.t, .c.e.t1

--r'YO 2 ,I)<:.,_1: bO D \ b'::l t U bjU)_'< "I 0-1_:\ rf\ VY1 D"f':J Vi <2-W ·
1 1
I 1

-1:'j P' L ) rction I IN' '.J d - ti,,,_ do.to..4:Jp• ofi


(CQJ) oJ1'::j

obj~ct ·
v()JYiov-A optNo.-1-o-v .t , btJ.i It - in +,enc. -hons ;
Ll b'Y OJ'(~ Mod L,l. I u. --tfi oJ d ~ c,._,Ll w i~ pj tfi on\
() l,UY) VY j C. ~ pt.. •

p,,) p':lit; on op v,- o..tin <:. O.JY t Ll-\. • d -hi f="-'< f" fYl op m o. 1:--i OM
ori vOJY10-b\~~ ; vo.lut-~ .
P'::Jlfion dividLJ. 'tt,, opt"'o.-hn, i.D th, ~You..p~ L,k,
o.') --{\"<,tfime..-tic. ope.NCAtu'Yi C+, - , ~, I, ·J , *~ II) 1
fJ)

6) f')c.<:.1l_Jrirnen+ ope"<o.+u,c,. (=-.,-+-=, -~ =, ¥ -- 1 /=, /.-,II-=, -X.¥- - ;


~-;:' ,~ 'f\-:;' ">">-=) c_/-:::.)

c) Comj-;,OJY1(10n OJ'>fNO.hJ'Y~ C- - 1 1.-:. , '>, L , -;,-::: , ~ -=- )

Id) lo~1c1:>-I or••">-lo,t ( oncl, o·, 1 no\:)


~) J d Qn{, h._J ol::,e "1 o {o"r ( ( Ll, 0.. r)O't)
f) rYH. NJ h e.J( (h1 r ope.voJD'Y <:. Ci.n 7 not i.n)
~) grh01.t~ opt1YOl-rD"<c..(b.,, l,"1 ,-..;,<-.c.,>>)

Bt..u It -Lf) JLf)tl1on ~


0-) 0,.6~ c ) ~ o..6tolutl'.. vD..lu.e on a f\Lu--nbe.JY u YeJw-rnQ_J
b) o..11 ( ) -> .,... e. -h_,Ltvn t Tryu e.. it o..11 ,+ Q,,('() ~ Lf) an it vvo..bk
obj e.c.:t· ()JYe. Trru.{_ .

c.) b UJ ( ') ~ 'Y Q.,t L,L,''ff) (. tf) e.. bi f l ~ ~ V vY f 1('.) () 0 DQ I") L,L1Y) b €.JY ·
d) boo\(. ) ~ 'Ye..t: Uf'<n i ~e. b oo (e. OJ) voJu.e.. oIT fflt.. tp e.ci ~ e..d
D bJe.c. t .
~) c..omple:>1..C) 4 ye.. --h _,,L'Y r\ ~ r>._ c.,ornp l n. nu..mbe.J'(.
11
d, c.+L) ~ ,ye..-L.,wn( o.. d ic.. ti onOJYy .
~) {looJ-c..) ➔ "Y e.--tw,n, ~ o.. t loo-t,n~ point numbm .
h) ·, ntt) -➔ 'Ye..1:UJYnt Of) ,n+~9vY nu..rn6Uf .
n ! ~n l J -7 y-e.·tt,,uY() (: ~e. lUJ~tR ot o..n objt!,c.t
J) P"''1JtL) -~p'Yinh -m ~e. .do..ndaJYd bu.tpLl·t de.vie.~ .
~+0-fJdOJY d ubYOJY~ mo du. Iu :-
'Tl u. o.. w 11 ec.1:--i on on tmi pt- modu \ u o.c. c. e.).~o. bl~ +v
°' p~ifio0 p-'(o~rram -l-n timplifj ~e p'Yo~-YOJYlMin~
p-Y-o c. Q.¼ ; rye.mo,, i n 3 -fR e. n e. ~d -6 rv e.,w,y, -r-e. LO m mo n ½
w e.. d w rn rr, o..n ck .
2

n=;-, d-o.ndcmcl Lib~o.rr~ modul,1 DN,(wrn,) -tlm,,,~,,oi,


MlA~, 'YO.f\ dom, pie kI,, WY IL, b, "1-t, c':J' , tot k ,-1:-, ~le.

2,) JV\o.h wmpo-,yi ~ion o~ m-1:-mr,o..l iljp!A fll,piu .s, )l,=1•)

II

\
0

4) Utr ~1..Lill-- -t:n r('it~o ck Ll.~td r i 1"-v 1n~ wrv, r_.10 Nl~O ( )

A) c_°'fitoJi e. c)
3 4 c.onvVYk ~e t -y d- ch01'1o cfe;y +o u..pfu({o.
cen+e-rvl) -➔ 'Y f +LL "l nt o.. C<! n+~f'{ "ol Ct"<ir):J
(Oll()1: ( ) --) ryQ --h ,l,rvnt ~e_ numbeJY 01 nrn et O "Pp( Ir' d
vo.Lue o l c Ll'Yt l/J o t-{"< ,n~
end~w1f-Rt ) ➔ 'Ye.-rwYnC. -t"' tJ.e.. i ~ tf), c.i -Ytn~ e.nci, t1-j1tfs

~l _c pe u t e. d v CAI u e •
+nd (.) ~ ~e..O)'<c.h ~ ~ e C.t-Y l ()~ ~'Y [). .c.r<2.Llveci VO lu" ~
ry L +wvY\~ if; e. po ~d:1 on .
1f\d e.,~ C.) ~ ,ye.-tUJYnt ~t. pot1t,of) o~ whe.M~ 1t vvOJ. iour·c
u.di~itl) ~ --h-t..u. it o.ll ch~octvr( tf) ~e.
'Y e.-1:UJYr'I~

~-try I n C:) d 1~ 1 h .
().N Q..

ur
th pV'< C ) ~ "< -t n -h tJ. e. 1G o..11 t hOJYo. c+VY .t lfl ffi t..
Q_ l,L/Y <:.

{;tryi' () ~ 0JY e. l1) Uf PuY L O-!t ·


-b He. ( ) ~ w n v vv t.. if; L t 'Yd-- e-h OJY a ctU)r on w.ch t,vO'Yd
-to UfPQJY W-! e._ •
"re..r lo.c.e.C) ➔ '"H.-h_,vvn( 0- Ct-Yin~ whel'(l 0. ~peLl~Q.d voJue
0,. ryla-c~q w, ~ a tpe. u ~Q_d vo. lu e....
~+OJY 1:{ w11t 1 l -+ ...,.,,+ WY n, +-ru. 15 ifi d-,,.,l'ij !t h L L = w, ti',
~e. ~pe.c1~~d vo.lu.e .

-hOJ"l~ lo-+. l l ---, "'< fwvn_c o. -h-ontlo.t.,J i-!-..,.,,..,j


tpli t"l ) ➔ t fli b. ~< if-yin~ a.+ ii',, l p•u ~ ,d te.pvvak,
0-.il d rv- ch,L1r n t o.. ut t .
!,) [AI ho.. t ,, IOfi\ bd 0- 1~en' ti of) ? Whe<+ OvV, -fR '- ,J, OvVD-L iv", _

-Ii Ll ot o. /o,rnhdo. tmc hon , 9,v, of) .:.amp/,.


"'l .f\ lo..Mbdo. ]cLM-h ['f\ l, 0. !.mo.I I o..nonymot..U. rch on .

~~n+°'x ·-
l OJY\bdo. o..,,y~v..lY)ent!. ·. t~p"fe-tt\On

-A lo.Mbd"' ten di on cO-f\ -l:o.k, OJ)~ r,tJ.mb,,y o~


o.,;-~ Llm en t. , bu.t (,of) on Uj ho.v e. one =p.,. =10n
-Ccx.·-
- o--mbdo.
~,:;: t o. ·. o.-t 1o
pyint ("t( 5))
c hOJYa-. c. f eJY ,-;ti u o ~ fa.m-bd a. t,nLv on ·. -
Lo.rn 6d 0. r C hOn ' ,:.on be LW- ,_ d i:D ·nh»Yf) ~c. l-ior

obj e_c.,h ·
i~nto.di w IL~, Io.rl)bdo. 'f-(\c.tionr DJY• ..,-u.hi de_i:J -W
on~ o. .tin9le. ~Yul...--i on.
J\ Iom bd o. r
c:li O() w.fl ./.o.k • OJ)~ r,t,L(V) bm t'l b =~ Ll/V)<

-nt., bu.!:- ~'-j wn+O-lll on~ o. Jin'JI, ~11A<i00 •

-/>rf\ e!>f-,-v,. \.ion U o. pi v:. ,_ "i wd '- w.. w,1_·h,_d b~ if),_


Io.rYl bdo. tu' di o n , l-v hi c.h r-neuJ or< mt?Jj riot 'Y'--hv<n
o.n~ va. \u. ~ .

6); l,,J,,.ih °'botJ. l-- ~. UJn c.e.p l:- ot {wp ,_ o~ o. vOJYio.bl, tfl
1
rc.,t\0()•
0.

A) 1 VOM i0. bl ti tfi o.t ().ffe t


d ,_ nu:l in!.id , 0. rd-ion body
ho.v• o. toLD-1 twpt, s, -lrioi< d,tne,;J oU-hid, ho.v, 0,
~loboJ CLope

~u rYH etnc. -#;o.t lor.ol \/{).JYIO.b/et (0.,f\, L" DU e,zuJ


· on½ imi d, f~. iund, 00 tf) 1,.,h,, h ·t~,~ OJY,
1
cl,cl(lJY,cl, IAlhe""O~ ~lobo.l VOJY1oblu. w-n b,.
OCCQC.<..e~ tk'"You1hout ffi" p'YOCJYOJ() boc½J b:} all
--j.uvtlonc When ~ou w.11 a •UUnc!,on, -W,, vOJY106ll/2
d ec IC,W od Inti d <. il:- O,Jy ,_ bvou '3 ht- Lf)11) twp'- •
UNll-1..

_cho'Yt OJ) t w e.:v t


I
,) I 1,Nho..t OJ'C'-- ~,_ LL!U o"t "tilt objec ti
ll /t. 0 bJI e_c. r
I

+) --t1 oJ lo \l\.:H. LU. fo ,\A.t,.e.


, '
rvl r'{)o.n1pu.lo.te_ oJI -tRIL t.,UVY nue..1.,ublt.
0. CL LJ. (,

t,·Ju . ori~
;

LOU)

rn..o.d ~ wrv it~ O-.n ~ _tu c. ~ t Iu • IA.I h ~n ()., -t,·Ie.


opvvo.tion -tcu Li, toy OJ) 1'/o - rye..lo.-f e_d ryU).),.{)n I ~l

~')..c.eytion Jo l'Y'YO'Y w. ryo..H. d .


2-) 91v~ o. trY 1 ~i de,,1,,CJY1phon ot fe.Atvva-1 bt..Lill--Ln o..+t'Y,bt..d12..~
I -ye. t o:l e. ~ +o tl e o~ e c..1A ·

A) -A ti e_ o~e.cr hOJ. o Lot oi o.t-l'Y16u.tu,


c lo~ e C ) ~ 0lo t u ttv. t le_
n e))\.t C. ") ~ tAJ he.n D. tI e Ct LU.. e.d ru 0-.0 t t UY o._t1Yr,
-+:Jpi U).ily i.n o. "5°" Loop, tfi, nml-L) m dAod

~1 rv-e..p e. at e...d ½1 .
wJ Ie...d
~e..o. d ( [ .( ic3e J) -t 'YQ.,0. d CA.t mo!. t- ~i~e b~tu ftorn f-ke. t Ie.
,y,_o.d Ll nt ffi. i;:,eJ) ➔ ,,,-,_a_ d on, e.1\-h ,,-, Lin, t°fY) #,, U' I, ·
-te.ll C) ~~rye.fLL'Yn~ ~Q_ tte~ U.VV'Y~. rit potihon.
vvl"'f Ite C ) -? l/0'Y I+ e. o. ii"'Yln~ -to ~~ i le .
frJ"<; h ti.nu (i e..9 u e.n ce) ...+ tA·wi h a. "'"4 u.mu o~ 1-h-i n9, -hi
-the. tie_.
d.ou.d- boo I indi u:>.-h113 +g, w1rre..nt t+o.-t, o!- tf;,_
~bJQ_ci--
f n c C' ~; f\ ~ - tt, r e '""r r, rl ," 1 r~ r:\ 1 Ikl ~ 1rl , ti I
ct

mod,. ~t 1/(' m('t'.~r iO"f W'lt t"'


ncAn,e- Ji IL\~ -blle c,ljpr/ &,,)()t (''O(J-tcir\ t
11
1n 1 1
OF'fi( \ 1 ti" t,C>IYl, f)D (l,u v1, , Olf"~'-'''" J

~()r,t,e I'
C1"t1n9 t~r.l
1",v, ' 1 ,,.,
tf\c~1lO ~. \, ' ' "I ' ((ll/y(f r,t0
tt, t
1,I t o I~ () ( t

3) -£,~-rlo.lfJ te. p~~un modcdl't 11t)'Y (e,', 10.l,<:\iG)\~f(.)ll Of) d


pm-t c+ene-j;
I

A) ~.Y;t.~Jie3o_i10() ll -tr;, r\OCP(( ot- rho.n~'":J -1~,


'I ere.tc f'\+ CA.hon 0~ o.n ol~~r / h) CU1Dl~('r") 1 ll\.1hi l~

1::>e.f'fftrf-enc_~ ·l·[A_'Y~rt( t lu ptvv r>Ote C) ~ I) Pf't<:. td in9


O~ecJ· .(t~tt~ -l-v (A rk~c:ico} dL""'f(~vo .
Eo~ -h>pit< O.JYe d'Yon~(~ "TPlo:f(!rl 1'- 'l"'d J?~ \tt<l o.,-v·,·
\o.~e.,y_c t'felJ o() object (e.rY10.l~0-Hon o.n,~ 1.lttctl'ytcl.l\~
-o.-hon OJ.Act 1/\0l ~!-uo MO.LA~ F"'o,,i cie bin().\LJ O.t\.~

rvtt+orv,n15 ot objQcb.. lV\ot~ cinNtopeNt er ,,

ci,f .s,,,-fo.L\30.-tion o..~ bo.,in1 -l"d, r.o"'f''~",rl IL'


pvvrittencj
Pu'ftl(Jo..r)u odlov0c. ~oLt lo +~rep s.·lr.dtLt l,<'(\,)('l'()

~.:ie.tu.hon oi ~Dll'Y (.),r,")licnl1o()C.


4) Ditie,Hnet b,+wul) irl\po,.,+in 9 ; Loocl,r,1 o\i o moclul,
f\) ..JI'() pO'Y l--i n 'J tK, Mo cl u I, cl o ern' I:- W a}. -l:e ~ tR 4 ; ~ •
mod c.J , lA o. IIA.'.l o.~ t f'
Llcj t 11\Af O'Y +e d , to w h , JR,,., ~cu
W. • t •''fO'Y t- "'j t o-r -( 'Yon') .t '.f t mpo'Y 1:- ()JV ~v MD-k t!

V\,o odd~
Lk. ov-.lj l
d i ~ !,'Y rn ,:, w. ttu V\0-JIV\' 1t\ocr LI. 6 0 u. () cl
iM Fa,-\- ,'f b, ndt ~ nOJY1 e '':J' -f,, ~, rnodu le
wh; le. -f,,-om -'::Jt i Ml po'Y +- OJ'<~ v b, nd t C\ d It\'-" e.,r,f-
n O.(Y) e , OJ¥') v , po , n -1-i n ~ r h "'"i\t °'+ -tR e ot ht buh
!,Df)t" 0-1f")e.d ,n~1de. ot ~~ r-l'lodu.le...

5) N hoc+ u ~' dt fib'-"• r,c.< 6 dwu.n --!.., ~ - """'f 1:- ;

--+'(j - 15' n o l Lj <


Cf'C "f O"('
1,.Jh,n oJl ~ n- ou.u,yt, O'Y =c•ption, py~on wil I
()O'Y N\ o. l lcj ! fo I:> ', Ve.n t'Y 0-.-/ e OJ') e/Y 'l O'Y rY\ V. t O er ·
tw~, eN.c e p-1-iO() c t.O.f\ be hosid I ed UJ,\t1 ~ --h~ 1-/o:l ,M•ll

-
-[rt-.:~
--l:-rv1j :
p'Yintc~)
e ~c. e.r+:
P"< 1n+ L\) Of'i e.,"11..c. e.f o(') o l c u.1'<')' o_ cl
1
')

a;,:-,_ -tno..l L~ bloc..k , I b 1,c ~ e~ , t wt ti b• e.J)Cec,u l-e.~


..,--,. VOJY d l• 0- 1 t ~ • -h~ block "<o.i t u OJ) e.,'Y'Y o.., tl'Y nob

.f '1- : -
_,;.-

,i ') :r p ,n t CJ.. )
}. t Cr~
f"' 1n l (" ~, ,w Wu 11 ' ) h '! () I c, , u,~ )
f1f\t\ lllJ
p~ in l (' ]t'0td 11
)

1,) r-..rbtri ''"'~1 ,vii~ , ~Ot'{)FIH .

fl) f'i<(n ~- 1'1~t,' t'> d ll ttt, d cdw) cl, 6.,~1 '"') ti;._, c.od, .
.'.f{ Id, ~l'L\ -l«t it C\ conclihof) Lt) ~ou-r cod~ ..,.,/wvn
.,-;Ll ~ 1 tt r'it:+, 1t,t p,o~,-a.m will 'Y~1~e. 0..'1 -A< <.Q.YHo()tn
-['\ •-
-=-
<"'I,_ :. <' L, Cl l t' ,,
11

O...l..\.t.1t --x. =-= ' JN·db~e. 1 '' /\ d "<-CLLld bt ' kello ' ".
Lo_l:'- -0 O...lAJ, ~~

1) --["fIo..V) fur. Il~[A) in 3 I, b u..i IL i.n 7f-" c/10n s. ~


f t· m, if.od
t,v i Wi t \ t.0-}'< g_ j '1 t °'- ,X d ~ UY rphO () :!J tIkLt+,a:,-d, cm ·
I

0-) op('f)t)

11:,_ Drtn() irf)(. t, Or) 0 p €.f')( (),_ ~ tt_ 1 ,S 'Y'QtlLYn! /t- llt
o.. tte obje.cJ ·
f~f'ltO..>C
oplf) (_ f I'- , rn od e. )
i1!t - f°'-~ ; no.me ocr rh'- t lt
rnod e - '\" 1 a, w, 'Yt(f'l e-~d, o..ppe n d 1 tv'Yi l-e 1.'Y ~a.J ~ Lv"l ite)
t) Sttkl)

T'
- 1 u.
l-l-1.e cl -6 th°'Q' ilu po(ltlo() ot ttu b'•
lo o. JIVQfl ~Fec,fc pot.◄ hm.
i~f\1 Cl'(
-f ·i e~ k( D[tu +, r,c rv,_ w kt)
olft(et -~ 11\.D· ~ pouticvu. -to 1/\ADVe r"'~W d
~rn- wk+ ~ po1rit oi 'Yt-lVYttA..c.e.

d J -t Ltl (. )
-le l I ( ) V\A Qtko d -YQiUJYvu. tlv. UVY'Ye V\.t- tI e. pott h OV\.

l);\ °' tlQ d,Q..ClV\/\. .

~00+0-x
+ fe
lt_ • 11 C )

e) --n.o d ()
J-t:- y,1.:tLA,'<VU. ~ ~f e.u be.d vW ob 6~f-u awl/\A ~
Vl i . Dito..ul+ u. -, wkJJA 'Vw.d,<- wk.oil. f I~ .
~jrit0-.)l
1i'I e rytD-i:i c )
·i\~e. t-!:. o hol/lO-,I,
1
~ -Hov.:, Jov. -+~,'j- vic.e-pr d:-oJul' -e.rt 1 1 wrrtf' 1!)emo\AJ..i.Yo.1.t

v--'' t°f) ~ e/)..OJY'I f k pj ~ o wd tA.t L • J' l l w ~'Yob rtu.


~lAc.t.p+ ot tv..Jfo"<ti()J w..-odu.it.. 0 +~'Y;bu.+u en p~~of")
,uv,pk ·
~ -h~ blotk let t"' -fnl o. block ot wd, ty
el) 'YO'Yt ·

1
tlu Q})\.c_ r pt 6 Loe k l~h LJOIA ~o.. tNJ /e ikt erv 'YO'Y.

IA-lk~l,'- °'-l"- QJv'Yo'Y ou. LvYt. 1 bY e.f}luphon ~ p~~n will


!AC'YV\/\.(\ll~ ,tl')p ~ 1~l/\Q'Ytx_h. (;LV\ Q/)l(Qr-hcrn d- OY"{t)"(

(V'\Q.¼,Q.. '
...[')._ '.-

-lJ.
pv-1n+c~)
e./XL e.. p+ :
/ \nt ( ,J 0)(c_ ~y,hO () v )

__g t\l\.C. e... ~ -{ ,y-~ b Loc..k ~oJ ~ u D»\ VY'YO"{ J tk V>lc..e.pr bLoc..,k
w1' [ \ be... (U)Ce.ud-e_d , t,.J ItRouJ ---t<y~ bLoLk J tfu pyorOIY)
w 1[\ ur o..MA .; 'YO..t t e.. Dffi vvrr ory ,

pj ~ () V\/vO du. It LNµ, d1 0-.,+ t 'Yd~u +e.g -tw± d u. u-rr b u f /:- .

-AH y1bu+ v. p~.t<--ITOY m to VV\ e... -f a. .du. eYv c.,oV\.1oir; w V\A.e..


\!A.U°"fV\J\D--tioY) °'--bou.+ ~ l/\.ADolu...le. · 40\J\.A.l °i tf;u.
1
cxt~h l bu.t U OJ'{-q_ 1

__ n ~ _ _ , - ~doe - - , __ Jt'cJ __ J JJ,yt )->F e..,1~0Y)-


'
:s)
1 1,J-vi-l-<. p~tB...o() p~orruvi fo °ff~ ff_u UJIA{~ of
I -' u..,, vv4 t'I,. to t ,y-d- t I, L,L.l_ ,._ I.,{) 1/W,'\,1 o.,vj L,,u
OJY~~ .
I) 1,J .tt, n.;,.,"r'· J; ((" ( < e"u pl- d ,,I ,cw IA+ wi f~
\ \' l d Hr!" t' 'ii." Cr, t lon.
fl) 11 it rr \.,1l,lr 'It> 'i,r11 C (\\II II 'pl, C1<<e ph'o<At wifR ttu
t \\I \\ r "' u rI r ( (.\ I I \ I • ,, I VW' C\ I t ( t k.D. I i l I/,u r)\lCc o()

'"I(\ j'' d n 1ti"{ ( /,\ I \\l> I( L "11 C >-up hem I ft:,IA ,+ •rl
n ct" C i(" u,dc 1,,~ it I,,,, ,,,\rl u, c >.ce p1 clau.,<,e ·
S:tL" ':.
O.<C r/ (:[>.Ur lion I, [.,., "-p+ioru , ·.. . [ ;,.u,,b o() ()) 0..,, e·

{i:-
lt"Y-TL't t (. ~ (
-h:f
d _e
d d-r 's '
I
I

II
I r/\_r k.t-"
I tt;_.. t
cl• f'" e,. ._cepf AALl.!,c "" tku. w4 , w • etx.L'ff-

-At~o, we...
QV\Af
wd • -b -/f;'Ytl\Al di ftex•IA~
e.occ.ephow. ·
WOvV\. t -Lo -l o.. k e fiv.. a.c. -H tJn i..r, e__a c..k u:u. e. •
.r) lrJ W o.x. w V\AVv\ o..w:J Ge, j
o.,y LUY\ ,,,J:;, i, '-"-F' Irun ; f-
w i tt\ Cl.IA '"~•.

[k p~tRovc tuppO'Yt. tt.u f>'"O~YOJI0<1 tb,,.J M .IA 'YU.() DIA

i,I,_, t'.O V\A VIA o..w! li.,,' 1 w VIA pl • h IA'.l i JR w 1/\A,1/\AruALI Li.uc e

·, IA puJ pMa.Wt e.hl'f tt-o.J '"' .ol , i.o b, p,u ud to f:b...


iCYtpr 1,,0lu_(A C'Y--el U:tla ~HAA

1l Yv \ Q.. CUA(. to i IA-l ~ "< a c+ IA'.) i ~tt o..

t'Y it.e. ~c.,Jv1pb. .


j'4 p'Yovide11, o. ~e~opt moclule , Lf) wkick t-o1A'-V\/\O..LAd - u1Ao

t optiov\. ~ Lou/\ b t
D-, V 1 t,UY1 Q.. V\ l.
JZ.
"J
pcwt e__J .
/

11v. C..,01/\AV\,\O...tAd , , (.1,'' u, oo-h n U .._te.~ to ue,t () .tu.m('{\D.JY~

E> t th 1 -tuId'"i r"(' ~ w--+ in r>- p0vv-l, w.l OJY Jincl:o~t

Rji:R-on ~ :f mo du.,l ~
j l irr,f l '""" , "'-{c w IMWI ou,,v:l - l_;._n , OK~ u.m ~ ""t, t1) 0 ~ j,.,,, pI,
Ll t t ~.A "(1_,L e..1. u...()'""~ !/\CUAA e..ol t ~i . OJYd V .

iV\A--porr+ t~i
pry10t-(1:~F- t \:~i · ~v))
p-v-; IA t- l" [k,. COWw'\A~ b..o. O.f'f<r W, wclA Q,Vft '. " )

+'Y i .C.j~ . OJY~ V '.


if)

p-vi<Y~ Ci)
rlev,o r--lopl: rV\odul,
Ii J-! m.{ wnlt tbu_ s•p=oJ1otA o\ \k !tA-pu.+ thi"'Q ~
p o-r-r()J/\A ,J ivr vo.. Li doJi o n .

-r~ '.-
i'~o/\ft eJnp t-
0
t1AAf orv +- ~~~
~v ~ c~1 . owu0 c :J 1

rf or,f
opb., Mr C ''rfup+. ~~.\upt-(M~V, 'kw,J ~
- -
p-Ytv\t LO pb.)
P"" i' () 1 l l'. v ~ <: )
e'>lc.e pt- Udo pt. 9et-opt{-r-ro'Y.
y, i'n+l ,, iol"l\df,,; n3 "'e()t "'-l'YO()~ ")

~,Ji. ~)\_it(:i.)
b) -f"f ICW) i"'f u+ ~ ou.-f pu.+ V\,v. ftod ( o ~ o. t {L

'1J -I) f I, 0
pt ,o.-1-iori -fo.k,_, pl0-u i.n ~< pu.owivj odvv .
a) opon o. t' le
b) ,y Q o.d 0"( W 'r I h,

C) CLO .5, e -tk t1 { t_ ,

q_l)P-lAi 1
°' wJ Q

_?I kJ. "' bu i II - ll) ~dio<11 - open /l • Re( f-'LACEcrrJ ,y,{wv


().. ]de objec l-, cr...Lt.o co..lle.q ex ~o...LAC!lt, £AA.. it u. ~e_c/ +v
'Y'O oJ (),Y- V\..l o ot iw ttu.
1,, e. a. c C-OY d i
O
¼.
-C'll :- f,. ~re.f'l C "-!ed · -hd ')
~'\.r~ LCX.IA tpetttJ ~ ttv\.ode. wkilt ope.,.v...i, .7--t(e. . Jri
IA\.Ocic., we. ~re.c.i~ wke..fR(t,..,- we WatA,+ 1,() <ve..o.d ry-1 IAJ'rite.

It--' o-,- °'fP".,J, "' -lo tt,.,_ l' I, 1,.J, = a..l.w '/'w U'o i!
we. t-0~tA--t to o pe.tA tk.t t lt iY) -le.:1t.4 1/\A.Ode ~1y 6 1<AO-.Jv~
V\,\.Od L.

1k 1,,\,wd l! OJYe ,y- ( Ye.od) J w( tAYY Ih), I')\ Cww.ho-n 05 l1 le.);


()_ (_ o..rr U ~) 1 +(te tj l/\,\.Odc ) J b l_ b j V\OJYj Vvl.Od d , -f l!Y'W.d 'j

~'"Y t'-f·~ ( ,Y -t l 1,0 -t l ()_ -+ )')


C lo~ 1~ FI , ti) l ~ f( nr,
t' lo CI ti\ gu (). .J-Uii , IA " I Vh ,, IJ f ' ""'
I 0 1
r 1t 1 fU ( 11,t,,1 ,/ /.A l ty Q

{ioJ wdR tk, •hi,


\;
· 11 u I[ L/\ '1 l(lf f,A(J ,~ . ,.,( (#/')

w e1~ o d l\\/fl. iloJ I, lfl r)LJ7°'un


wrv d, \.Ai tc 1' 1P '- l{) f~ t c()
'ftAc'Vd"'Y -tu 11\'.)'Yll" tV\lr O t"" u , r)lJ\l:t,,() 1tA r 1/11?/l(t ~I or,Pn
1l LI) w·n\" V' 'l 1 O..Pf,.1 PV\_d o. ()'Y ('ruL, 1 1, 1, r1vqe,d,r1n ")4 rv1urlt.
!1, l''t'lhnj O r.. h1 0d D"< {ll (it 1 <' V\ fP OU ~Jtjlo, (). rlr,uu> 11 111,Ar~

t,L,v l
W'YI o { ') W " I~ o rl

Q! 0-_rl1V\O ·i1 IP ~ Ln ~~j \t:r"()


"'(o o..d (u~~) ➔ '"YO{,l{l u,·1e'lf t.1~>° \A( ,Ob cl/Alo Ji l! u t:.\ ~O

f lAIY"-vvu 1,.M i.. 1A-Oi 'J" «' t"~, 1I ,yo od L ~ ", Ii " IA' , , I fo

t t,v e,\,AO\ o t ~ -vl,.


~I, c !'.>AA e, ku'r O\J-'Y , UN H lA l t 1,
1 t 1;.,1 ti " W ,1 LA'J U ' k( )
\AA e. tkoo\ . -l Q lI ( ') VV\ ~ tlA.otj I"( e-l l).N IA-'.. UAI ( l .1./V 'Y" l/\ I r)l) u I l /;J1
.0 t ltu t.. L,VY C. e,;y

You might also like