CSE422 - SWG - Assignment Solution 2
CSE422 - SWG - Assignment Solution 2
OF
CSE422
Name: Nahid Hassoan
9210I822
Fsiqrent :
Ans to the ques no-1 1)
(1
Eomple:
lo o j'lD
P2:
ofoping. 2 (Dto|0o1
2 o[olo 110
Tao pnt is whove t prin t ate selecded
and tho notera ooten tose
P2: OIdool
2^
ChpomoSD mes
(a)
Onot: a,b, c,d, e,f
thr 3: ,e,d,e, b, a
Rtngs
Sum ot oest
(b) {eha 1) -
lo +1g+ 2 2+5+2+6
0.0 13S
F(Che 2) -
F(chn's)
F(cho) O. O(44
o. 26
() tethg
fcdeba
Chrg: fe batcde
Child 1.
fadebe
befeda
ba Ulo3:fatcba
f ede ohild o4 bedede
4ohildren!
Chijd 2: boeda
Chila 3: lafe ba
Rid 4! be dede
Kns:2d) Muttes chrmojomes
Me: febede
Moi; bedefa
MC3:fa bede
Me4: bedcfa
frs:
F(wei) 0-01
+ 22+r +12f6tl0
F(Mes)
(Me a) 22+ [S 4 lo
Ans to hoe qes
Cheoraso me.
4415124
Clah ponts
possole.paip
eombiretlor C,2a8
ftness = 28- 8
24743SS 2
e<ash
4
Ftness 7 24
CnomoS Ome 3:
32 5 432)3
z 28-7
32-732 411
2
1
P( Ohr o2)=4
P (oho o3) - 14
32732411
apirg 3: 24742413
V
eleshing
pis
28-4
3
2 24
Mutted
Getspring 6245SS
Ftness 23
= 23
3
Ans to he uas no- 04
Max
In5
Min