21
@ CoO OÍ ®O@®�.@aJ.m. <e.@a�> mJmÅ - 2019 ®® co� 60dl�® g@c&fo,c o�J @5&. gwJ/ orix16 o� @® �5ow q� q�0 ? @wdw® d� cz@.

Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) [email protected]. -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

@ Cots>O eJIDOCD ®'cO:Jb't))@®��e)

[email protected]. <e.@a�> elmJmC5 - 2019

®®c:i ctitro'o� e:.i6ti!!!lt:D0dl�®cr5 g@c.:J&e:fo,c.:, o�roJ t::i� @?5)5&. gwJzs,/ oi:1Jr.:ix16 ocr�t:D clcle)@® � q;,�5ocle>w q�tocl q�0 6'®63 @E>wdw® ti>d� cz@R).

Page 2: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

@ C•:IZlo �w,ro @�ool52Sl@®zl'2\lD ··- ·- ----------··-----·----- -------··

@ CotDo &oa:, ®'ioob'�@®z.f�e) ®l 6D f!ilmffiu u!f L ma:$5 �m<>m ffiffi 61TLD

q.@0).e). <e.@e,g) �)(!iXIJ! c!f>.Gurr.�. (ILUJ� �!J)LI u1L6IDB= - 2019

e,�� (l�G}UITL �6\)ffiffil.D

!;;}(!iei> B§moz; qot1>re q�re

6lll6Ulrr 6lJ16U>L ®;6U. ®)ro.

01. 4 -------

02. I -------

03. I -------

04. 5 -------

05. 2 -------

06. 4 -------

07. 4 -------

08. 5 -------

09. 2 -------

10. 2 -------

eDE) €/J'fj�f!i,G3/ 4,UJ UITL��LLI.D

� �:L�@ti)JO�d1 ll)J e:im�@e)�m ti)J�,Eioc.'.)

@�� �0® aua)oc.5/ 4m6ffl 6lJl:Pffil@w ,a:.LwI <5t;YC5/U!f>�!JLD I

g(!iei> 8§Cjl6z; g<!iki) 8{;Cjl0Zi g<!iki) 6§C\l6Zi g<!iki) qoQ)Gl qoQ)c:, qoQ)Gl eJ!otl)c:5 eJ!oQ)c:5 q�m eJ!oQ)Gl

cml60l'IT cm)6ll}L cmllilrrr 6lJ161DL 6lll6111rr cml6U>L 6lllli!llrr {m6U. �6\). �61). �6\). �6\). �6\). {m6U.

11. 5 21. 5 31. ___ J ___ 41. ------- -------

12. 5 22. 5 32. - - _ :l_ -- 42. ------- -------

13. 3 23. 4 33. ---�--- 43. ------- -------

14. 4 24. 3 34. 3 44. -------------- -------

15. 2 25. 3 35. I 45. -------------- -------

I 3 ' I

16. 26. 36. _ii! ___ 46. ------- -------

ALL 4 5 17. 27. 37. ------- 47. ------- -------

- - - J__ - -4 �,!'3: _4J J_: 1

18. 28. 38. 48. -------

___ ;_J ___ 3 4 19. 29. ------- 39. ------- 49.

___ 3 ___ I 4 20. 30. ___ .,. ___ 40. ------- 50.

o e3@�� co�ff,/ 6'lll<81JL 81!)Jl6lJ(l)l�/D6\) :

�!'.D 8§�0/ @® s=!:flwrr6lf 6lll60>Lffi@> 01 � �i©eD/4mml 6>.TJ>LD � �/Gwrr�u 4mmla;m 1 x 50 = 50

B§moz; fl!oQ)Cll

cml6G>L ®)6U.

3 -------

5 -------

ALL -------

5 -------

5 -------

4 -------

-------

I -------

I -------

4 -------

-

Page 3: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

� C,•ZllO !)t0:,CD ��:'ot52'):>!.'�_:il�-- ---·--·---·-----·--·--·---------- -----··------·-----

@®® ew� �@® [email protected] c.s® cta1m1�<3 c.s®2Sf ctz� e30 e@83 wo@S 80atu0©c.!ll� �62S-J2n.

1 (a) (i)

(ii)

Paper II (Part A)

Social Networking has

advantages and disadvantages

A: e�-e§ 1 - D02 �b�c.'.l. 25)� 07.Wz©c.5251 -&6i �bw ec;z;, e.5W 2S1€l7.6� .:;m2» e.5$325) e-ag 25Jm

[lJ

[2]

B: e�� 1- e5'1S):1@<'{w 25)()25) e.:; (merged) q251isJ@ -&6108£ u®D c'.:>02S>de 2S>62n

ec; Lunch

• 880 t16:> 6'lS)<!V e.5e)@25)c.'.l251 2>:>oh ©1�® owe u®

[2]

• WE6iD:1 a:>1�® ew9 82n 't� ©2512» 0dg a:>-&2n2Sf e10�® ( 6251 d6:Jmc.52l5) 8�2l5)e©V25)ed'. 25)1)@25)" �� 88ff86:J ©ID::! @�Bw ©veil 88 e.5e;roo ©c.'.l�c.'.l W7.2S)e:l®) I25)6:l?.5l25J8 ow9e'.l®

• ©25l5l©c.'.l© e.5°�b'�5lov <J@ e'.l® / ow90D2if {fD@oJ:fw 25)6 ©5l W7.2S)e:l@• q� 025125) 0dg ©�25)251 a1.8-&® :z§)e.5:i 2S>:it5C5zsfllt@l5):.ie) D·z_t:3 u® I �w:.im CSS

ero:i�D 25'3�l5) (cached) ll5)cvo 8QD 07.c)tl® (load) @Dro0d B®

Page 4: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(c)

2

010eo� c;,(1@2S)c;ll25\, .. -·-----··--····----·------------·--·- ----- ----------·---------------· -- ' . ---------

(ii)

p, h I, h2 {color: red; font-family:Calibri;}

p, h2 {text-align:justify;}

B:

25)251 0'W:f c;BdD 0'ro:f e,gc)25) Cll:\l� 2SJQ)c.:) ro7.WJ :\.-'

.. . . ;\,., ' . .

1 DZ51 edg�: 'admin' , 'A!2t*', 'school db' -· \ ' -.,

2 e::im 0'dgc.:i\ student, name, class

3 DZ51 0'd@c:;: $sql

Phrase

no.

(i) e:IJ®9�Jt621i) G'UG�G'OJG

(ii) WJ251�6 mj6251 �€)JS

(iii) �:iw2mw0c.:'> ctJ�:ic.:'>© q:>2ma?§jc.:'>26l' eem

(iv) e:i©:io 0:i&oDc.:'>

(v) e©B© <'{0J6c:;

Item

(vi) 6ciec:;2.5f 90£\8c:;2.5fD (G2C) eed'D:>D / G2C @ed'fou / G2C

[2]

( ',_

[3]

[6]

Page 5: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(b) (i) 8

(i)

[2]

[2]

NoOfHours

[1]

(i3u16� ro0G'z:sf1.Sl, qz:sf�6 !)25):is:Je:ie5, ZSJe:loZSJdi_-®rozs;idi_ 6G'ce:i® row i3016� d6:J25) GJ25) i:£36@ ql:5):isDG;J:is G'0. Sd qDZ5):JG-:l q�e.,J� 025):Jf.OCZS):J w525f25).)

(ii)

!---·--�---------·----·!

B: Cz.'iJ� 1 - has e,©@25fw25):JDGl i3Di6� e,oc:,,z;sfjj)c,'.l e,S25)D, Project el2jj):Jb25lc,'.lcl cfl_�e@25f e,� i38 ©-elni3c,'.l25l:JV e,@ro

D: C25;l� 1 - eo©�� &0 ( A,B,C eoe;eo:i �e'.l C25;l� to!'B?.5)0 i30i6�0 qz:sfll!l6

e)25))5:Je3C5 e3W 2qllb25;)6i-®W�6l. ffiW £el <J'LJZ5):J@ 6£2.5)8)

esc)�2S): Company eJ26:i525lcs Location �o:>bt5le58 <tlt:;:J <t7.2Sl2:S'l® <be::, 025):ie..:>c2li:lo ro8m25).

[4]

Page 6: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(b)

4 (a)

(b)

---------------- --- -- -·-· . - -------- --· ------

---------- ----

(iii) DHCP

(iv} CIDR

• @CDJ�D2l)) 2.5l6© (size) �b� z€l6@ q861 <:te)

• e'.la:l gl£6C"'Z5i' ©Cc:i 6>-0iCJ'iS)C:)/ Qh§36 6>�e:lmc.:i I 253e55>�wmc.:i c:ie;mJ u@JC25):icc.:izsl' comBe@d e,c;w&c.:i c§c; Dic'.l© 8£i5m Wi2Sl

• mb©:imc.:i z€l6<:t© qDed'o:ieD� @COJ7t)©D<l3 cfDe:i:im m6® �l25'l e3ac.:l 8Z5.l©LJ• m8 0ro:i2tJDzsl' roc;m:i eye) eroB@ i'jlW25)0 ee':J

• a,@e:l:i l'Z3B©O cfl& @ro:i't)DC 25)0© <;iZD 80®• CDROM 2S)1c'lc.:i25l cfl25l @CD:i't) ©25l:i c;1®@© qD�:im38c.:izsl' ©2:i):i@im @t_e3d'

w�e:lm@c.:la:l qm�Oi<';:>"'25) 2S)25J25JD"'zsl' em:i©il53 B©• ero:i223Dc 2516® �b� l'Z3B@© qD@n251:iDc.:izsl' 0m:i©1tJ B©

• @ro:i223e0<!3 c5GW 25)6i'[l@"'a3 G'c.:l:l�D/ c5GW 25)�W©c.:icl3 qo2Slc.:i• @©:i�@D<l3 cJ!Dro:i2:5)c.:i 8J2@c; e.:>G��• ()@_1?5) 25)�e)c.,c) <;izsl'�®

'!

[SJ

[1]

[1]

[1]

[lJ

(2)

[1]

Page 7: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

{c)

820010

0100000000010002 I 100000000010002

(e,oc;ro «:;c2li'l'e'.l® q0@:i:, 0'25):>@El.)

• 6® 88e)c) @c) q)Wi5) g@Elcn e'.J ©25):,:;£�®

• 6© 880 @w'11l£2:i) @i5)25)@C.'.lzsf cy8w 25)025) c� 8�;]02li'l' 5C.'.l mi� 5®

(1)

[1]

[1]

Page 8: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

1 (a)

(b)

Paper II (Part B)

A B C

0 0 0

0 0 1

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

c�� 2 - cesB© 0d� 4 0w:i 5 2Sl i1e:>1.6�

c�� 1 - e,es50 e-dg 3 2SJ' iBD1.6�

AB ..

-··· · , . ·-· • ¥,,.. .. _ -

r\/"\

01 11 \.l''1 .J.,.J.

0 0 0 1

C

0

..

Z=AB +BC+ AC

[4]

z

0

0

0

1

0

1

1

1

[6]

Ar,.

lU

0

Page 9: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(c)

02. (a}

e�� 2 - 15):i/'5zs325)E) <S1El1d� eiewzs:J' s� eZS"J:izmc (unoptimized) NANO <{Dod (DiB eoo@)S:iE)zsi') <t7.l5J e.:iic�eli:::i)c)

rrl

[OJ

[SJ

Page 10: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

0'©o£l2$)i63ce doe <382$)cD

Admin 192.248.16.0

Lab 192.248.16.64

e,<!!l�oe qoDO-&'-'

255.255.255.192

255.255.255.192

Lib 192.248.16.128 255.255.255.192

doe (38m"5

192.248.16.192

@©0£l2$)i 63c e �oe (38mc.:i

P ... d1nin 192.248.16.0

e,ad"oe croDo-&cD

255.255.255.192

e,<!!ld°:>e cfJDO-&c.5

255.255.255.128

Lab 192.248.16.128 255.255.255.192

Lib 192.248. I 6.192 255.255.255.192

IP <382$) aooe.,c,5

192.248.16.1- 192.248.16.62

or

192.248.16.0 - 192.248.16.63

192.248.16.65 - 192.248.16.126

or

192.248.16.64 - 192.248.16.127

192.248.16.129 - 192.248.16.190

or

192.248.16.128 - 192.248.16.191

IP (38m �ooe5"'

192 .. 16.193 - 192.248.16.254

or

192.248.16.192 - 192.248.16.255

IP <382$) a6oe.5cD

192.248.16.1- 192.248.16.126

or

192.248.16.0 - 192.248.16.127

192.248.16.129 - 192.248.16.190

or

192.248.16.128 - 192.248.16.191

192.248.16.193 - 192.248.16.254

or

192.248.16.192 - 192.248.16.255

Page 11: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

@ c•�o �too© @�e,,b"2,1@®2N2lJel -·--·---·· .. ' __ ,,_, ___ ...... ____ , _______ .. �-�---·----·-·-····--·----·------ .. ·----·-----··------------------· .. ·----

Lab

Lib

tiac (3825)65

192.248.16.0

192.248.16.64

I 92.248.16.128

cati:ic q:i0o-&c.5

255.255.255.192

255.255.255.192

255.255.255.128

IP (3825) aoaesc.s

192.248.16.1- 192.248.16.62

or

192.248.16.0 - 192.248.16.63

192.248.16.65 - 192.248.16.126

or

192.248.16.64 -192.248.16.127

192.248.16.129 -192.248.16.254

or

192.248.16.128 - 192.248.16.255

(ec;m cc; IP 88Z5':l a6J� q:�B2n a@�Di2nZ5':l a®�2lrl', wa�25)c.:iE) ©25) �i:£ IP 88Z5') c;2lrl'D8)

(b) [1]

• @e qcJ2:5)C1l/d'6:iamC1l zfilB© b@2:5)6C1l! ©(l)Je)2i)iG3<3 t:J2©©:!�c.,e) G'V251V <):lBJ @iBzsfg:i@Cll:f cl3 2:5) @Zil:> &D

• 525)Xl:>e5C1l t.5t�® (configure) b&/2:5:i6c.,• a:ie51eo @®01253 0®@2nw2Sl::i qvmXl25l::i02:rl' @25):>@125)

·.1 .. "-

; I ' { .. 'L,.. . l- _:

\

i: ,·

' "'. .. ·�; .

' I

. : �: ,. ! . .' , 1, � ; r

,, -··_.

� -- ' ' .

,.r\

_,.:_.·

Page 12: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(c)

Firewall

Fiber Optical Cable

Comp-9

C: G2SJ� 1: Admin e.:iw Lib ed'BD Lab roue)c::,c) e:1@6)251&) 253B@

E: e2SJ� 1: SIS Admin ed'B0c::iD e.:iw LIS Lib ed'v0c,:ii) m8 a8� eo®@z;fw z53B®

t ��26:> Dbmc.:i �wl'D:i 0-2;:i:1®1Z>1 me5:> e'.lwl' CJ25) �52.S)c.:> e:iaE8® <'-f<i:J� ed'50coc)

ro©@;s!w 2€)$@) e-.i:i6co25.l W12li"l

(7)

Page 13: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

[11

[1]

·o,U, c,lb6 � .,,-,1, "'ClJ'"'Qoo> Jl'o.lGi>I 6IOZ -"""""Q (3c>G>'Q) '<O'COC>'i> I ""' (c,gcc,go <il"'i ��) "'� "'�G<>i.'l""' "" l,s:xbpo"1<> -OZ

p;g>@ @ga>-© p;g>@ JSoC'.l(3,Ps;j>CQ CQ;(3CQ0 e p;g,@ !Jz�-0�ro cmpm C$ZCQ<S2$)? @a>o9 �

p;g>@ ?szo1e Qc�,q«.JQ;b I pg,@ @o1e-a •;;m @gro0 pBp.g / 9cG?-G>gro0 / J->1;£9@ pg pm;c,� •

caa�qJ ��1p(S2 �� @lCQ;@ �It, � cszom

P@C(S;;@ /@grgt.mb p;�G��@�m •@o:ic:icb p;ro.0Qp@mc63 •

9roc;;,c;b pro�)_PCGR GQpl;;, ;@grgt. pc@Q? aropcQ6 @Qpl;;, •

. (A)

cm�g.i �'9'19@ �� @lCQ;@ �It, � CQGm (A!)

pcszt> CSZCQ;;.>0;.,0 p;ll'.l'9.:B'J.f0a@gc12 gi'@)0cQ0�@lG@ -JZJ :J p CSZ a? JSo \Si: ;;,0

pcQC�G JQCQ;Q0 / pCQ;b pcQC�G JQCQ;G€J c,.g.i :;)mpcQ,0 J9\f -gzg :g pcgt, pg:i@f3)fGJ@gco

819 mw .freropcocx;cG; pCQa? ,f2¢?@!:9fGJ0gco £99 CQqJ :;)mpcQ0 J9'7' -JZ9 :v

[E]

[t]

(11

[J]

c��b'J �@� @� CSZ�Q �g,1@ t �iszQ

roQpgces2CQ>pCQ �lo.(!)�� CD@W @CDC@W GCCQ;,f.QP\96 1g00t> JQCQ0 p·�t, G<>ZWWQC@ •

@G Q@6Q Q@�10) �0@ cwg;; @<SG �1@C\SG0 pQcrog;.1m QCITTl!ZgJ.fGJ@gcg C?@W,1w CQ;l� GCSZWWQC@ G@ 1!Z@pc'9'& 0Gpcg0 �0 uzpcs.·gi;ggco •

cm:iw �'9-lp@ �� @l�@ �It,� cszmQ

@�/Q?Q�..g;g C..CW)GJQC@

(!!!)

(!!)

(!) (e)

"Q©l!Z© _<s::gcm dJl cm!Jw @?ro-0 fo)1QlCQ pBJ?g mw �G-0 • ·e30cu,;,0 proQCCSZ(;(ffiQJJ 63? roQcQlZ cszw,p@@W cm!Jw @?11'.l@ fo)lwcQ •

·o,�1m o,�10 mc:;)�Q P�G G)oC�U) fGa0C@,0�1G Q'.J<.!Zffi,P€>@W-<>ZQ1CQ; 3co0 rnw @£� �p1Qg;; iil.f;?© 'i;nCQ;:;)cQ Q?;;>@;;><s:: 'o,CQ;:;)CQ @�nro 'roGcm8p 19591c.i:. crge?Jsz@GW '(A.JaA!laP JapJo-u!) @210ac!>e0 (?C£<:QG0ai8

'"'GP"'�WCQP)Q �It, SQ dJl c0a�w <�/?(;")© QCCQ;,f2@0 Eizpcgz cszgcm ,f28Cz :;)lc-;icQ •

co.!Jw �'!,le'lp@ �� @lcsz� �It,� f!2CQQ

E

(p)

Q<lzµt@€JCS.l,'CQ?€J (l)C�I, C(SZo(.) SJ

Page 14: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

_@_�_°-���"::":_"'1":�.:5l:'�w��- __________________________________ ________________________________ , ______________ _

(b)

[1]

(i)

(ii}

(v)

• Analyzing high demand books• Analyzing the purchase trends

• Analyzing customer preferences

• eye:,� @c�®zsl' 'tl253 0�n,-f 8g@e; Bcd0coa�0c.nn- • l!>c� mr6�0® 6c:J:i B�@e; 5cd0cm�0co:d'• e,J5@w:f<i3lm 6ieJZS)25J8com sg@e; Bcd@c!'(o;l�©Wm

e'3e5dz» (Agent) 2

�25l'6) es§2c;o0c.:i£ c;zsfz» w@€:lo 2£3680 0e,6 CCTVm ct� cfJ�:>251 c;25f75) es125)808 cf8@:i:, 0u. �._ZQ$@) ®63:d' <:;w'25l W0251W, 5D6251CO roe:, @V25)15'J £lcJ25,::,z:,:,0 816;m6.;,® @c.:)08:d' 8�0D.

[1]

[2]

[2]

[1]

[1]

Page 15: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

@ (3•2:S>o �tooro_e'tes,'51:Sle$�"i)U ·--------- ----------- -------------------·---------·- _____ . -·-----·-----------------------------_______ _

4. (a)

•• •,,'·,�';! --··" ""''''"'·";�VM -�,f

;mputm '.{m:.rj;g,f,;tud!!r# i)-.

!-4...-f-,.--lwe-.-_-ra_g_e--=-su-_ --m-

h-__ n ___ -f ....

' : t, _ _ ,.·,-·,·-·��- . --··_" _ z.;. __ .,,..,_t_

[8]

Page 16: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

{b) (i)

(ii)

B - e�-€§ 1 - e3E:le)S <'f©ctlctl25i' ec;lJS:>@ 'tl6®0 (initialization)

E - G�� 1- e)2:S)�o (3)�IDc.:l i.£3B@ reel:> 9mb2m6�@(tl&j ()@l;SJ <t�®®2mctl ©�mctl i.£3B® (8mb2m6�ctl �G mu16�e) 231@5> m®)

3

• c18d'Z5JDz.:s:i <tL'i5J 92.oDeu re0@)5J cn�z;f i.£3B@ (Count)• ci8d'25JD2:5l eft6l woc:>00 ro0@)SJ @��c.:i/�251�Jmc.:1 i.£3B® (Print)

[lJ

[1)

(iii) [SJ

n::: int(input{}) a = 0 while (n > 0);

x = int{input()) if {x % 2 == 0):

a = a + 1 n = n -1

print (a.)

An alternattve code:

n � tnt(tnput()) a -.;: 0 while True:

tf n <; 8: break

x == tnt(i.nput()) if X%2 :::; €1:

a = a + l. ft ;; f\ - 1

pri.nt (a)

Page 17: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

5

_g; __ �0_isio �"'-� @�t!lo�2S)@.!!>2S>'�i) -----------------····----------·····-····--·-···-··----···-·-·-···--·-········--··-------·----·-

(a)

wc)�.:5): e-.:;25) ec; cfle°0©:i525)@ 25'3Dz6�D d'o:i825)/®co:id®zsi zsi625) @825)25) ct}:o)l@ o£3z;,25'J

@@0c6lco2m 1:006 ©z025'l. (cc;:i: for fJ-&tfzs)(f6ic,,)

moZSJ ,;zzrs!@tJm e;8? c.zry� @<;fl) Cz@&

A: C25J� 1 - n= int ( input () ) 25'38z6�8 88385®

while (n > 0):

n = n - 1

C: C25J� 1 0<025) � i'fllSJ 'll aZ516'lfil6�0) �e 25'3Di6�D ZS)©Q) Z)@

x= int (input ())

a = 0

if ( X % 2 == 0 ) :

a = a + 1

print (a)

E: e25J� 1 25'38i6� indentation

[2]

8Clle5® Cll25c)6, ©25)le)25) cae1� 9)6@:m c.:ii:s;io @25) 91:5-©o ®Ge.5 :mJbCll@c{wv e,03e.52lf2Sl2S)o@e:>. /e:io?§JJ25f15l a6Jai25f25)25l) av:sl

e,©&Z5fwi5l:JD 11 and m©amwiSl:JD Ill: ow25l @25)1@ 6M26l ew1 ec;l:5)@

8c.:ie5@ Cll25;?0i ©25'>o€l25'> . cac,iil f,pd@25) c.:iis;io ©b, 91:l� ©Geel 2Slol:5coi:iJ<;wD ac5Jco2lf2Sl25lo®tl. /ecio?§Jo25f§ a6oc.:i25f25)25)J a825l

Page 18: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

@. (3°2'il> .. fJoo,co e'<ao,b25le®irl2j)v __ ...... ___ ·---·-- ···----······--·-····-·-··-···-··-····-·-···--··--------··------····------····---··--·-·-----·---·-·----··

(b)

P: 3 / 3 NF

S: Customer (Customer NIC, Customer_Name, City)

Customer_City'(City, Postal_Code)

• Q: 3 / 3 NFT: Vehicle_Owner (Owner Id, Owner_Name, Contact_No)

• Q: It cannot be normalized further from 3 NF

[5]

T: - / Vehicle_Owner (Owner Id, Owner_Name, Contact_No)

• R: 3 / 3 NFU: Vehicle(Vehicle Reg No, Description, Owner_ld)

• R: It cannot be normalized further from 3 NFU: - / Vehicle(Vehicle .Reg No, Description, Owner_ld)

� J '56o1 A�'\1 uV r,c>o\6 ""> 61)""' �

e.5eDZ5J 'rlwf'@D25) e.58/f C;Zt!J� e6J:1 @<;21) <Jz@flJ: '

'-

s - e�� 2 (9J6®2ID C,525J6 e.:i��-€§ 25)(3 e'.Jzsf ro©6)25fw25)::,tJ25)c) e'.lz:s, C25J� @ra:lzn')

Q e.:iw T - C�-€§ 1

R e'.li:D U- e�� 1

Page 19: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(c)

(d)

Customer Name

M Customer

M

Vehicle

Vehicle Re;., No

1

Postal_Code

Customer_City

Refer the alternative answer i-n part dj.

1 Vehicle_ Owner

'){: I:· \,J -i)>" ------­

''<..JU Owner td

ti<:)::("'"fj-:t ----

[5]

A: e�.e§ 1 5Jicr3z:f - 6� 6� w@)5Jz:fw2S)Jtl0 (rents, owns), 253Di6� GH.m�CD25)Je)

e.5©©. (�e'.l e�� 2 )

B: c�� 1 - Customer, Vehicle �w Vehicle_ Owner (,525) �0:i/'.525)

8CD6@ c:aci.2£3 e5t'l32S)e).

D: c�� 1 - 8�Z5J@6o'3 e.:,®gb'� @u ( qdisid Bmme.,Cv, 25,;J5:l.ri"26i-®w25,;J6z ttico') 63d

qv2:5):im)

Rent(Customer NIC, Vehicle Reg No, Rent_Date, Start_Time, End_Time)

2. CREATE TABLE Rent

{Customer_NIC varchar{lO),

Vehicle_Reg_No varchar (8), Rent_Date date, Start_Time time, End_Time time,

[1]

Page 20: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

(e)

6 (a)

(b)

PRIMARY KEY {Customer_NIC, Vehicle_Reg_No);

(2)

• SELECT Owner_ld, Vehicle_Reg_No FROM Vehicle GROUP BY Owner_ld;• SELECT Owner_ld, Vehicle_Reg_No FROM Vehicle;

e:J&?� 'ild@Dm BB(; <;;2/52� e;5J:J ei;� ez@5J:

p

Q

R

s

T

(A}

(B}

X-

[SJ

[2]

[1]

0 0·ZSlJ6q!6l c.,c;w51CJ2liJ e=,o8b'wznc.5 �5®c) ee:io 601:l qDG,J:J:ji:S)J Bme(1,,Hfoc.5 251B®/@ee.e3@

• eicfw51c::,w. zsi:ibc::,@c{w <f8@JS2S)J e:iw ·zSJJb'co5JC:w &251JDm qDmn2SJ:i ee5D©• 0c::,:/075l e,cfw5lc::,25) cfD@JS25)J Bm@c'iilla©nc.:i z£B©• mi c)�0Dm De:i@l c.:l<l) e,cfw51 cfU@)525)J WSZi):> mi�© e:ie;w:> eiB<J3cz:s, qLJ(Q)S2S)J

qwJSc.o25)c::, �8® mw B@0(1a;ia©nc:., i:£8®• 25)€) 0w:!._ 25'lLJ2fil6a©nc.5 25:l6251 e� 25'3ai�®Z5J e.5e;ro:i aBcr:lcZiS:l oJc:i0-e,:i0-6Jdis.!

(ai�®) �b'a©nc:., i:£8©

[2]

• eic;w5l 5iillc::, edc::,/8&h e.5<i:> e,8'e;i6c:, �G acfwis10cocr.l cf25125)b' @c&:i825fcl3 d'vro:>Dro0e:i:ic.o:i mi�®c) q€ld6:>€l e.5lC@d

• q0@:is2S)) <.fi5l6 mifl® 9'2S1J€lo&c:, 2:5)6 Be:i�® @e:iv®u qDddJD e:iz.ced'

Page 21: Cots>O eJIDOCD ®'cO:Jb't))@® e) €¦ · @ Cots>O eJIDOCD ®'cO:Jb't))@® e) cf!.@aJ.m.  -2019 ®®c:i ctitro'o e:.i6ti!!!lt:D0dl ®cr5 g@c.:J&e:fo,c.:,

_@ C•!:,Jo _!io:ooCD _e�aol5ZS>e/!>z,/�I) -----··-··--·----------------.. -·------·--------···········-----·-·-------·· .. ····--·----

• 6z£nezn2IDD e:i:J0d'2IDllll0 q0a;i:J:5i5X> g�Q)l5l:J®2:i) 0e,@©ied'B®s) qe:>ed'che) e:i1ced• e5:Jbd25)25)e)c.o C,©<';e:l:J C@ 0-cea @ce,3zn e:i:iw2Gl �6-&c.o ;:mB®D c:,e,im:iB ©D.• 8:l:5:Je,awec.,§3 ewJ e:id:ie,25)c.o 2£nB©@ qD�o251® q8 z:s:,68• zsi3c;Sc.,@c;w cf0Cla:J:525)J e:iw zsi:ic5c.o@c;w ©znJ8zn q8csaJS2S)o 0-e:J2'SJ'26)6 eo�l!:5):i ©z�®D

cmmJB' ee).

[l]

Z:i',:il'5G5@cfw cfe:lCG:J5Zi):> c.:H�w:i oB25)@:>D (w6-D10§ @1�©) (testing) �8zsf

( e:ic;w253/dzsn@c;w a525)iwoD/wB-Di:o� @i:<3© w16)

DcaGJ25):> e,/325)®:iD (validation) / w.'.l25):i5Je:JZ5)u5 (verification) 2;id825f

zs,o/!Sro@c;D q£>c,a:i:;25)o : A, B lmJ<Jc.o@c;w 0-z,ioDzn q8a;i:i.525l:.i: D, F, G q25l82°Sf ©<'i2Glzsf

(4)