You are on page 1of 76

.

T
TP'I
f
uninni'+a(io,i-'
)
L'-gt.
N
T.
Cl
S,
/U
+
r.-)
'
ct7
(/e{n^rc'
Lt
'
tg,utvnr N cE C 1ass

:#, J ^
,k,-t40h/

tt,*'u

(nr'u'ho*'

L'^'h-^ 1,

''mVffc

^'tt'L

lv*rn
1'

l&ad
elw'-'u:

,t^*lag

y-t/o-

A^"at-

"^'qH

Lnnu-a.s A-

f,

fu

trt'-

^- 6*

*-tr T

';t3^:
('A't*v
*(
c/t//
gorrz--tW
gor''*-"*(J^_2.

71

trY)-""4-"j07

a'

-yr'tri| qtu o"-: "*o^"

; :"

h
,1"--.*
,^ x),w6 $_tu__

tt^z cD.,eizv

d"A*-Y, F
":"'(l^
?o"*t*^* &!Yti t"l
,,*

s']'

o" -.. tr) M.,v


aUtrDLt/1-'t'-14

n^,L

"J ua

,t-!-pa.na"--JAA +*',;"k-t

?tr

;J^"rtl

oh'.""

) C'yr'r^^*,, t "*
^*
u'/t
r'-n-l u-P- ";
cr*frfu

/*'lc ur

n'rr'

;t't

:,'
^2'
J urrt )

[.,f

"fr,1/+_t/._

?re?-"v

I
"

3 .1 :'-'- '.'r'-,-{),,

:L

2/t+4 llZ 4t

t,

0 r-trrL

On r'tzZ\

WoaK

4J':"

at/* e{ut'Lvalz''^}:z-

Va,r,VrA4. {'o-

4 t

1-+
|'rtPtua't) ;,^' aler x1 1 42,,

"-[

a-t

%-1

zaAe-

8- ? N:-4 n r^:i lr
c ^,b) ,, ( L, .), [rr,uDl
g,P), ('f ,3)

I
r)

<ro,
n

)'o{

/.

tAA'e-- a44- VA-U^L

{ro-

o-L, L-tz(-4

?_C
)/ JE -A
/

VLL

ll

(
{

l(

x
,I

l{-l

'ft
"71

[.,*d.ioo2

+'r^z-t- r:qz-

va)*a

?--t*uC '(a-LY 1
: 6""r

td
th*

3" fa'Kz"-

{e-f 7 f-' xr v tztb-.7 b<,F-7> {o' ^'?7t>1c-d,77 <u-f> /* z'*au

-,. ," J"t_"] 1

S fa{.oznt

7.

r.'lrrr--^J E

cT-

L^-;L LutL ll^Z

*'- "t f''

*r'
*,:: nfi*
ez'N du*.^L I lru cr'ofr*^d'4^*
*.4',r?ctua \wn
"jzrnz;'tz 3
ef;vatl'h(t- danz4
l;'L
brcJ'to'? )
a}2a zcJuzxt
a-xe' {-r
A^m"u
tr^z
x/
1*
2A"7'1 t'A>:i
"TT

uL<-

b).
S\ 1 at

'1

b'c) { ct A> J

1e'f7
/a,b)
O
tf'l'O/o,b7 1e'?7
b /1,'2 t{'(7
2 brcT

@ tc/)7 1e'f7
@ /c,47 afr(7

3u

b **

kY i

r
{

0/

l-rl
|
il

rl

x,

-l-

r(

tt{1

ca^er

t4'f

n\/1"

Korbt"rY(

tApAK
I

iir-

,n
'tbn*
vu){'
,tnvrdn A vnla,vt .,
T-V"vvo

+v

a'

t*z-

9"0 T? z{
^n'*ry"'- i't'
;tr A- fu*'
' f* 'a48-

-t1'/'1-L
+h

a
,l I a a,..z1/) "'{"^
,at
n*
rmb,4
noLf'+'
"r^

,)'^'

tMei o-nL-

+:

no
I
^ tn(*
'
vnLA

t; ,.W'
A/1/w t'v"

^^,

v^L'4/-

ct

'"

*l-

{zu+

tL

{o<- tu-wl;A ^*f z:zmn^(


vA!^^/-

('*<' ^a'" tz
{

^;/L
rra-t*<t

,-Zaen

t"-/l- L

'f

fuomfrA

alfA
j*ntiA

t'zo

tl)

t/v -'nlnel

4c'{

%1

Al'rtnZl 7e{
t)

7(2

a
6.re xt>A, %1'1
Au- 212>t, 2( 2'< e-

q
U

-l
LX

r<(--i

Z.

71

-dn

ro

ta"L^azt

tr

1a {/"U'A

Ih;*

t,

JJ)A
n

.fot

n'o"--a'( 7
Pn-'b
A4i- -(arrvattl e,
afl'6^,t
a4-o
{*
4A

Valutez

VrJ4)

'Y

e-'

8.

^
2-z
$uv

-A/^?,1^-

8*^Ob

3o l--/"'u'(

fl -u*&

'ffu

lz*ca't<t

nI

/(/LwA^/\2( 2_

Rrb.4,* Eq

P'b,r* f rk
...

*^(
f^t
'3*
1

w"L:Q r*L"ut

,*n*|*)yu&-

rorr't't #*'n a n'&)-tt^4*

R.tt'v'"*

y^'{*

t[u 6Uf*L*

,r
-D

Cr"'ttc'gt;

thL

&onn^
Xt

'7'u"

'f

f+'"'fa"?at'n<'t

'ft'-o

fu cF

-{*
All

h
v
/1"<-

a-.1" +L*^rn4

il^Z q;*'la"tz-

z_4
at*
4crhY
{b,,'7
rnr-' ,4
{t",L7.
4s-1L'' *-,
aW
/f,
A
at
ize,t)
7t

Xv(z-

'

4,b2 1ert7
,1 a t'b7 .
fabz 1 vL, /a'7

/f,l>.

aLrLT, {.2, f7
<Lrc7 zf ,A)
lL7
1LtL7. 1a'
a^-X &a rY\
1L, Q'g 2/
'

r . t,
go 'te(/"'4P11
v

'>1

4r'

Ir,o

;
I
6 I " ',

tq
r(

')z\

e/

"

l-1o
l"{

\.i

xl

J-e fuacz'"zz-

4*
OU//L

^'r^nU

qnX-va-lzr-rz- "ln ro "o azL


ILA Au ," e-r ufl !^n;"^f 7
t^
It^z Ao ,-t 2 oz cz/,t]

J,P Mh*,
vlrt
ll

LU

L,'
P-y

,'
/L.L; A a c^ A cauj"z- )
Aw ]
4iL/r 47 L. c /, nnf ft""

-'

Kg:

u:'

il^.

^ry

tJa-

n
t)

2 tt- P z^A'l 6tf

fztt-rnzl^Jufa

')

t{ e-

Ulit

/,
rT

hrN F

t1

9*o,-ho.
r{ ca [zn-e-

rlol 4 c"-

'2_

eq ^^ -Aa U;tl

,
rJ

.\nau<- tt-z* caJzl)

*rr-+'*uu^g

/^-1:1 4-,.A
Vo8o-b&/
7
^-e
$ "ru^'tc
*'"V h ezr>na.l q u^L tLutLea.7b, c e'i'at ' lL<&u A-'-"'^l'' )'J
tt: Jn-n: f2A'
ef iva'Lt-'t''

c-\a,, ta''( ca-x)

A.a,Y" B*br^r,k

P"h*
bla4k reant
^1

ct/-/ eifrcy,

,/"

't

4/ b,

b'"s

{"-t-

t^za-/4/
o>'<-

/4

*r-*krn

LT

aao a-(.

'44<!'

4 d" d.nt'-

'A-

*nt

44C,

c-

23

tn-r(.a(/4

i* v^l,i-4 va0'"2' {7
s-n-Qa

>
na
uz+-bA-Z+ I

641. in ralil vaL^z


n

,-l'-'2

t-

cl*e-

C-

94-

-l
I

t";R. Z

-l
I

t^: K3
t

^p

e-o

Rtf

ht Re
tn2

.-\ 61

7
.'--

PI

*',"-A'J*

\tlo*

7',1"a, bex*

R,

brr+-

tptI k2-

<T

sp3

<_

(R

:LL
3R*

%
Vz, [n- ,h" L
uc

Vz-{*u-

9ol
a LL

C"<;

b.

Va'bv-

C,, *Ve

/1 a'af c-n-r*7n^

X d

h"b

-^-7"-

n,tT -**V-

a- ftet T'

1.'t2",'z,A^e+

t-

-l
-l

l,/

a-tf,) *V

ftf 16- 'AtL P*U'n


W[^^c

a-

n* a rru'U^-

vil;q b,,l; *T

r-

ra't7

a-loove & oo '

-l

od tt>

t "n,': -*T
nP ]- u'4'

rl
2, tl-.2--44,{-4

T*u^o

S klr

Ma-tn<-p,

Wl/^z-

y-*bJ 4f

Va/-y_

Vr"lwao

- n

^
lt'

'

AL^'a-

LU

n c

c- r'ot--''n

*^fa-,-)a

t
^ ,.t,
A^'T
t4
r t aL-<p- L at b
UG
*'T
. .0..n ^ brc nPl
\/aw
h'
o
az c '# ^ot"T

V^l''*-'q

.^/-/
b.c 't'al- Wu*fu
'
^
VAlj^/- T
,/

l/'

a,

] n,< h4x* I

tt

(.e-

L+,nc{l'f><-

L'

-ft

Va);

v-

n,-

M,
vt,
I

-{I .'rn'o" tw

ffir

)-a
f'U

r/lI

va-L'n'<lF*-<W
4
/

n'b L'<

q e'04
1"q^

Lr) Va,I444

{lr','-

I etz
o

trs

Dz:
(Dn Vn
/-L

Y3

wer,kt

a1z_

d-^'unx

r t]

Yn'fn'tl'
AA 1t)

l, L/ea4

^-u"4
ea"-rA

va!^4!_ i**

@ "f'-"(
,Ahir.

'

Vt

z\

{ r"-ur
-tL-)a^t
A
.1 V
A*A)
J
)fl^n'
(I
'0
$'(lu*u : Lp> Kt4
U

lnl t

(*

nanLtf,

I-l

II

fg-

Joral

h-

,/J

ri-VfuL{-}LQ-

I m'ev't'n

t-fi
I"LL t-_

\/1

Z- t Z-)

t: *7Lrtl

z-

r-

l\t4/r

lz_ h4.fW

,,Dt,,

Y)

Un^

YJortJ

o-'

r-'^n- L'z- 4'f"a't4 -zzlaf


\/drA olus L'4-> o,'1- J'LL i/f
o'{ a-s thA'- dt-e- n'- 'su&in'(fr-u
4-n-t+

n o rao'

h,o uez4 f,a'- caz1Z;a'une.r'-a!

E'6

a)'-a- A 4-"n<-

;*"**

fz-a(--ca-+a

'

fr
f^J^ll/e N

t,f ry11

,*u

,cl)

l- '/

,1"^

kc{

Rnb-4+

Fe+
.3-;-d

',lf q

Lau-ccK rdxz*?,

thE r?,pn .r;ry4


l,cr
(l
a,\ ;Dt-tr) WL,*- .u

ccuL

bo?L
l<
lJ

we3

l.I>

lq I2-

ts

Iqt2-

l4t2-

t2

14I2'

I
I

WP\
o:[ry

I^/ Kb

w?*

5/-

l4lL

lr-

t>

r({

*W

tZ++ro.Z. -S"lz<*

-z

l/a

st)

>ol

,D"};tu

mhnut,

{."**,u-

l ztz*

e1W

6n

tcW

r1--

611.12-

-f

Vc"r,{ a-F/,-

1'sr

^.u-f A^q

{r-

6-y\1_

y'.td {r
tv

I to Irqtz
cu-ta^A/kt enIE d'ol))
,nO',', t K
))
Aaq
t)
A^{
-n
tt
A

))

70*- t)

7*u

nz^)t)yk-

{oL
I

vaiab'U^

o-tfi;

hn

[*^
TT

.(

PrL

-l

8 B,z

)K'

a-/

sRl

-l

sRt

I9

-l
-l

3Rf

-l

JRl

_-\

ly-'-

-t

14tzt&t I

.fl

tkll
tsl

t&tt

VA)^'4el/

tql2l

t7 )L

\J,-./,-.7/'

db-onLK

4Al

// 44tr"'
tt

*J'mn'

,,

dn^ '

t/ -,''Jn, \'r^

f-+

cenx{l* )-"f

c.onfr /axali'^-

6.%

cQ-aa-a

o{t'J"uil*nzz

r4L
Y1

9t

P4
V

U*,
I v uu-

\-.

(L

(ee^= ^0tu3-

,)^ b

/t

U^

I"^'

a- h'u-rt -

vto*!-(
f

t"n+a'tzt

-(w*' zt--L

A.+a
bl

lqqL

al*-l

Ir

tf

3o

2o

3t

2ivo

Holq

fel

"*J

("^*l

A ooo

WNL
ttld

VAL44-

-Tetr

%
t+

c-'-a'&1 htf

c'L con'tnno-n

6w-L
wozt-'Au S"Uf
wL l^-a'l'<- 4 ilt>"'"j

t^-rt-A

tJN{-

4-b)

I e A1 42sJ

/l

y,wak

^T

{A"'^d' %=)4)
f A^l Ady'- s"3
J1ry
n.U 4)t,Bt\r
(

E:

cI"a,'j

nn ntl, A

{%:

TN

b*

'

f ,rr*t)^'

22

Fa-

w-aatn /oq/ 30 U7:


l
nn,z^Ix Qtzr< 3t

q n 'v'tt

t{1t

r""ov,UL

'rlq'\

(^)* ilft

lNe-

"

*^

fl

pY

td

e,o 6p

taqL

ir"rtl

ilf

f nvnti4,[f

N'e-

Ar'r, 36 fu4-arou

a"^Lrt** ,

h rTt

'T-

.! /"r^b 'b'a^ fu'


A^"+
cdafr'n- a"^ (rt'o

[Lf

ccmrni s"; 6'o


4'P^r

'K-/ 'iLru

*, 3 b tnnt caztl
f (sx +Kt
u

f'*bb

m
c^

oom@r?T

^f"rrr:
n/\ a'" "kt'
'0;;^h
ilrtA(

'lil
tt
nr^v, -ll nff
,:;;
EaArt-b
e+aKJ
an'u
4'
v^q;/aLlu
p
,,n
0
a
rwtrry
^r t'T
-Tfu- ";^) C-"*u
\
g**
t+o]
I
L
fr -nnhu-a.tr.^x

+;

',1

lt"'o:

L>:

aJ

{[*'Kx=
t D )<A. la &toctt e ToJ
{r ' 7-u'
';
Lt,^*,,t',::
L^^/tr"'
8r =
''lF vaia-I\^t aA-!au^'tj') A-oo's \

Itw-

Il

Jg =

Lo c\l
-f
L

'

'l-

n tr, !rx' 7r"J


)

-.1

33' f s+"rk, g+t'k4 >eo]


b ' { Lr^u'!" ban"l";-'}
83 - {t b"*1. b"*AI" 7'?uJ
Lo fu' 2* ;z vof''l
L
&^
6taz'n - L
Tvew
U
"

A*a/A.. ?j

,rlr^n..t

lt^Z '0"*V 'fu"'-i^^h'


l
^hz-r^

fi"^uVal^neztAotKj''Kfo'l<t4["''n-z!ze4w*l?6'
U

C^Ik ltuh o*

For fi aa.(- {'n'*'*Q . rwl-

i^

vnlnnz-

-fiw-"

at*J^'

J'x

Pilz-VA

tAt-aX

Noo"''-\

fr"+ r/zru

[n,*t

sb,xt

fZ

^.*t1"

Y"w

{r

lo

/.iNr

{rn*d

EcT
A

CcutL

l-,Xz

.9NL
.'

8x z-

gfit"n

E.xuL

tc

Lo

ho

+e

7ze*t
/

"l

{e
't

too

5h,^4,,toori^oLC

Qobtn'YF

8u\"'*

6wL

Valn'tz

<fo

-l-

t0

ho

hs-

ho

_I

Dq
Nz-

o
* ,/-

lR3

+)

hn

Inr

3e

*t

PL

3-{

gl

Rh

NRg

:lw*q ,

pob',r"r?

_L
884

9"9'
R3

rRq

Rr

ue

-l
uo

--\

;Kb

sK*

le

9Y

-.)z-_,

-L

l-rlo

Wt^t- r'4 '^ *YU


(

-l

.))

sbd<t

+;
+{

a/

t)
)./

8""*L

1l

l1a*La'6't

e+od4

Ar'
<\

P{- |erm'hnilrn

{{

BJ,^* *^W fu
lp eA

,w ff,
lfp

c7s

tfo

3t

ooz

't

l.11
dltr-/

3s'

lr+

tl^^ 1

lr

8^t".Ax

c'k'<

tc

IO

ao

Jn

Va[,ud

V-

tP,*A
DA
r-

i**
to

\ro!;obUt

t-nfaL'y'

._\

ax"A

+t
QY

-L
cpr
-)
-)
t)

n
Yo.vYn

[^"a)il

dt t-

tlv

}yt,H$
vAMbW ,'*FL
s{or#'/

BarrAt

[.,s. 4rfue"
[-eckt t1 ftqrrcA
84r'c&

B^

rnb

Lnr* , t{oc*-t t

r-+

il"xay
t)

I1

Sawla ))

gu,-*ptt|

sa

n7e- FcT

'

1=

thL

Pt+:*'*fl

I
I

crr-l-;

v7

kh'ttn'
-

Sl

Ut

Lo,Yt

f,
o

t9

CKL
oK3

l/rzn a

2-e-

lg

a^//lr 2

l'po z 7ab

\axo"L> , Sahz >,. rc*J

a+

f>

9a-

6oo

{
({

)s

9eo

2{oo

gbs e4va,*.rr"ts
'"t

/'"|".n-<z

noer,
-

kLo"Y''{

fuI*trnr(aL
or4-

b"slLWU = s.Lb/+toooJ.
t4-c-ks,
!n'k".

ctoto

-a

ra,uffa

: t /Szi
{
l.o c['-", 8-lo'k,
f
,S+a 4u '
JJ '
lutu,
f

{I

5l e

Aa.u*n"

iuobrcu

r 't'

rT- 4-oL

5T
l'+j

36o

11
'
)r,{rrr^l fnbte
p

zcC c"i

rw-

a^aL(*-

.-'=7

Bnseo 'fFslrnt

+at"U" A onu b ezv- t4sd tD rz-7zt o tn-{


1
en ytzl_ .ATi c'L( a'elahon*f^

fioz h P"h'*t

gzctqi,rla 'fr"Hu

z+ub fofr *
fi"7
|^
trht bj*most ooWn'
rhz n'6* A hZ mt7 foufi'ovt /
f

40

es
L
""F] U
d.u *na;i*, ff ,*
'
n-b-A
U
^'X
A.*rn f*1.^
'(
b
ll^Z
fon"A Pl*unn ;'^7
( Dh X^4> b 'lakn
alfr
"'n
,y\ lt^L wh*

a-

8^A'-

\nni

lt

.TO t

r,

tlr*s
-

t(\

& -fu-iu^t- fabtn-'


{.4-

<:-"r

- -

'-=-------1

s+#

ru)r"

c4

c-2

4.

)-

a9
a"\

-r

f
a;

F-

C3

a{l

xnnh

p.+Lz-Z

x
x

,o44tj- -

b^4

U )nlbnal

t'D n..
K,r--L.U

rt (<
C-pndi*i
L4/

2'd *4

L1/t2'^-'

,lrr*.

ffz-t'

uo/?ttt
"ttlo

a' I
1

org 64,, a"rri


/zr>- o cztt+-L

oL k"ht q'
b<h'.Lai
'fxz'tztw<
'a
Cu.^oX*+
t
rn?-..11^t )';'

tr^z

c*nAf*)

)-.s

GLt'e-

,^, A

)w?.et

Ln- L Lz rpt ruLll 4u


'{A;L
co-nlf, +i u,^
| #t"La ,^nLv er ,"2

LNID

we( ryfV

dg|es
- '\
4
ff

n-'\

o* hbb

Dr
t^?
O
''
\Ld
t/ b'**ffi
u-A*il'[''bLn
"lL
u"' fo
Aa';

Bf

(
n*-A)firua-re'U;-*'lC;D'l-F*'<-FtftfutLx-tz-^C';a A""l s1 u-'L 'f^&UJ
It)
t-'w"'
CaYA
U

ntT

A Fz'w
r. 'id'{
U
@

Ata'

Dr f".
'2..,\-

4"9L

oQ,

'4-

c^ l(

con-at*

o
-b

-h Dw4 \

P;/"

I'r^- awz
ne?- ^/'ou^*A 'lo
't ate-

'

"^-

"-n2;4i

f*bY
to+

+"L

Cl^--

**V 4,

&s
{orrrl

INe-

FoT-

*'rlnn

o. L,, a

a-bo

e;

xr^&A
a'<9-

a^J

Ca:''t-

3, q

tL

e)
\n

u*

Ao ou(-

eft;

2
,),
U/
cfo

'4, a:b
u

pa1':

Jata

-L, C
o

fl4"

a.:L b

(-/

r.\

a->

l""f oct 'L b&""/- a,/

c4

^
6p

4/ *Fot-t;hc.

<-Ke 4 ffi./
tt^J- .<--,
t--*a,hi^fr lLZ
U
D
(o-< Au- .E ,- A"-"^-

u,fr
+

x4e^- _/_-_Lt- 4 ^3
u

IA

++-

/^-Ll

k,'n;

-.'T-

: tY'0t^.LwL--t4l

.l

f^.*W;

I<

!2.

f4

u-143

hroa

az-c[-u-uw *n/
R-a

R2*

T-

ra--I

,-to *.Lli t* t4z- ?

to

n- l^

*ry
Rt

-:'cvJi h'*""

r'

Lz>uz(-".f1

*fl*}

a,L l2a.4p_ t o_f


i.' ,aV l*l e,tt#"L W- tt '
') ]'*Lut T:*

^=Z--

nil**r-

vz- Ao",<vz_
-Ka,,<_

r,

-r

32

!'- z4)

-4n

t{- f<-ww

,-;.;-t-..1'1

'r-t--'.:{-

Vd,

'1"*

i"6,.-L

f rt+,-c-w-l.b

h"''

./.-

CA--Ir)

-t- C*^wf k(u^e h^.lk^-^t- *

l,.

1*'

tL-<'Oter.|L

VatiabL.

e;thf-e f< t o4 M t- e-,q3

bu

Mt /

h.--!;9

1- IL;

14

2 4 t'4j ^f

-fL^,u 2- fe'L'l '


14 -! a"^^P- I]rnx-

CAL+

^o{

16
L"-

'+

'e

L/LlA4/\Lea

(D^

ru
?il"

liil,*

-0

2,"'rr ,

?/L

a2
a'

TE(
ll^z- v ^31"^^A
1,
e4

); t tcts-o z""t;"/
b,.o
L '^,U;J*
/'''',n" t
24d't-t,.r^liA al n',L- x"*It ?
F'-j

4A*

eC"4'v<t

c
/A/' al

ca/',!'

/p*/.C/ tlE **

-<'^-n-

*
Z"^fu- ^

rc b

ra,bt' fl'e "'- Pf,Y^1- L /h;z'


e'r
'r
J
f
f- hT'hu
rt

Qnlr*
D

ril

Ar^"L tattbot*^la

"-*Mil
/-o--^ L

Aa'l-

Ao x^^'lz

ca-"'t-

'ax-22

dffiu +"* e<- 6*P",^l-"o*

r Dr i-;lf b*-l'R-

b"l;'l-oru,/

cl:
e

,.

w*W""'-lq'?
^.-r*LlX

(3 . Mo^-W

1a/'

Ke

--I
t

lJ

Je= 32-

2 y^l^^"-

E*cJ^"-d

t-

i--fa'?
*"* tts/

ua*^(

"--'^'*

A4l- 2

r- G"!l ,l^

It

x,tJ-

/ tli

A''^'L

16\ r-

rQ',.r

i'./

,l

r
T

't

(:-

r'

9",,b

fex-

2-

q1

L..tn hrt'vu-

C)T
T

6T
\_-/ f^
rT

4*nibV
(J'

Yr-'U'-t

rlo"*

Co"l;l; o*

P"fer
?',1'to
JV
5

-ll

t=
.T

1-I

cl

cz

LZ
a, l
a2_

a\

T'tr 12
I

T J

t;

&e-"ia*Tr*t"1'\n.
'K,A!A

n
I

d aawtr. 'rt.Q
'

gnrcnei

n ''^A^liw* '\l

Wbo,

^L Lnvu

VI *1"*U"1

tf

F)

relwn o^-t

"*ru

,c^
\:--/

T
't I sfino[

Terrt

f1
(r1
tv

*i n^g-g

.f/

'i-

r)
f ("
r)

@t=

T'

1-

$u^

*fu) r"- [t^o-

Q t-

p*a*-s

(xpa

i-

,l

--7

a-'

1'

k ^4

craz

oS87

FFrT
Tl=FF
FTf:F
x

XX

:.:

./+rwu

/SD

,o

t.

+" r-.Lt t7 b ^l-

) dr^_{,, c n),

t)

-A.nr[* on*bt
M#tttwJ
Aeto.rnls,.ftrs
'|

[,n-(n

d'z

r^/S^ ]un( t-"'tLt

,futid

a4-L'

"{."Ut, '^

t^-L

/.

ca,,LUA

b'Dn-

'l-ehl;' "fn'tic' ln
A* 5*b["'--

f-7ftrntu P-

,..-...F

T"* val'"'t'< "[ax

ffnbtn + 3 7"r

ct : a,t b+cc>: b<a+c


( 3:c <

Vru.ia'hht

I a'b7
(tr:Q'C/.
Cb.^b'

C2

uj^rJ

+ ro6)
t-TT
I

rtf
r
F
I

TT-T

atb?

e4

t1 -

FTT
T_ -T

-f -j-

7-F

)n"lP'*

-lt"ut"-

nD

/"4

Tabfe

t^

^.

Av--,b*bt!-ru-

u4z

7.11

Test Casc"s frcm Table 7. 1


f

(-.rse

t)t

1l)

;i

ftJt._
)-r I

Nrrt ,i Irr"trrtilt'

{JI"J

;l

Nul a lrt.itrplit'

r-.i -

Ylzt

|.4'ilt
Mn
IL

,l.d'lrDn

.1

J 1-t r
tJ t.)

Iquilattral
lrnptritiblr'

l) I{,

Irn;ru..rtltlr

l)-17

DTB

ln"l;"ror:ilrlr-

lJ i {-1

t,

lrrlrr

)l

rij

lli's
l:irri t'lt'\

Dlrl

5e

Ite

c?-JAE

'-'rl 4W

[ri.rtrgll

tI

N*l

DT4

-tW

rlir't Irr l
( )utltttt

A !^;:14

N\zzJ

<,tuW

rt'lst't'lt'r

.rlet tt'

9ote

\u'utr"'"

fuuta,* 4^kL +".

$aU t,,^J'* *.q Vl*


14r f* In- 4,1b.*,^(
tfr-

Nlu'

ax+

c"'';

tJ'l
d ,.,
Oetx-A) t1 Mx-

IY

a" 'L""6)
At"
-[E
i
x*ov),t'- w 3f *r:
:
hovt-*L
I
n^t

bm<-t)n

,^-*'

Lt^

nn*^Jt;

ou

+^'""*)

y'<a

'/

+d

' t ^,I:

2r

ez' f

4,
f,'T

n1

tL

(1tLsl)

rla-q
V

AI

)out z1J/
'rl
V

tt
\
oa:JoI
9s' {
3tl
e4L
4
L
.,
uy
a/^.'
r
ilr4
| (l
Yt : | ,o: :/ '^
-J
;l
0'(
a
2
;
[*J
f,u ''Pi
fz
tto.Ax
j

---J

/t

bwA'h* ::
nr
L'L

ft*

l tgWLt*

'

tr-,

^^'OQ

t3:

y*a-r.,t'V

')
--f

Ll^ 4n'

(2,

1^

-t.)

L'1"\' u I

Ct, Eofl ; fit

r t? o
'42-7

t1

e2

(e,)r:j ; 9z 2
n0
(e: *-X
u.*
Ey?
-o
*:f
c#:
c*: u9,Y**; ft2'
al ,
fo"o'btQM; oF AuE
'4- )- '

-r

,l

-/t':

9>t

1u{lAr*1

tL Antn)tL8?

nl
'
il-J

Aoyt

{L/l )*q.
ft

^v

(ih

II

+'
-- I
\L ,Qo/t

-Y3 t

fr^1

|i

rt-\

-Y4

n^l

{L(/,Q"a

Ir
tt?
'I

,l L^8

Iv

(z-

W--*l'E
*- u l'(i ;*

(/a"'it

l'4 t ?

-8:

3,,U
u

x4

{n
'Cl

Al , *l
,4-

)-,

'EV?

,.].

ll

?,

poeh'bb-

Afn oP

1^
,)

-f'

/'-x v ;922
t5. JaX

^U
(e: )1
U .*
t)
c#r

ftuYtl'4

2,
(3: ,*r'-Lf ; t1 t
crt:
,nEau ; frt?

(z

-__-J

A ''ol '4 *( ['^J


,Tnu

o'^n-

CL '

urn*L
/I

(l

bwl'b'^"
::
*"'^--'L/t"'-/'"-"/

3rt

cv
T \o/'t'<

Qt ,.

3")

AuE

-r

-(F,uJ

&

t^^.U)

tA

];tu,, k rw-Ari nut ra 'p.e; L


Lg C*> esb ry^(u , fu[rt, b It"**-

r.cnA:

,% /t@uQ
/l
UV

&V ,"ofo.rr b t''


gn n^*.

]ril '
u

Y1

={

Dtt:

& &4A Qn L-ulo4 p*ht{


,vv-

c4

^f

,!n"[

''

4al'a-

^
AffJ
Au
^'
-h
* p,n*l^ f"no^LL

LunwLE

{ro^An

43, f*rttn
,Dt

9B'

{e:-

x) ax'f

gazg/^f)
U t^
t{'o*-(J

til-n^fE

tt Aq!*)
(/

{h

)3e&

)
\:21
L-7 = toJ

)4' {k1 "


v$

Aa"l.: 3t)

tJ

n)
:
:
'
1(** (* A ^ wD1
"a a/
-'
;; ,tfr, do*'

/1

1a

(]

il

eaX

ea8

20"

Cou i'\v1/\

il'^J
'T
*
3

luo td

'l

grct"tt

un *a b u-

"(
lablt 7.l

St'r orxl

Trr

De r

isiorr [.rbk"

rtilh f (' Rttlt':

\1i

'ill

'\1

rri

ll

il'

t,

l:i

r\.1

it

Iil
1i

'.

l)l

'!i

\i

li
'rl

\l

11

, !i

e-+

i-u-\D
,,let+

3t3t3 +3tJ +3t3+3=


ti- t+ t-r) +l-1- lr-l+3
.3e* t,-V g e) tl yJ q/ r

r3::-

3a;b

<__a

) {oo 3Ltoor

wrz ;h 4a"

=TA

A"h'on

r<rzp

eT.

;,

a^-ol+l

,!o i+ b

')

|
nr,^ l^
l3n{ qt4Q_ '/au'
jooluDvo
u
J7

n u*i

--[hzrz-*a4 Ao q

t' ,

un

) zz 'z-ts

t\
I

Eec

.g[r* n[tl b4.t\

Lta-o

YzJ A-f '/ Z c+lrl t


^ th ,/

J aAo

II
II

Oz cu'4Mh u +'ebL'o'
fl'e1f" Y
St
E
Antut^'b* U ^d eild
g'4
+ nl '
+,
^l*nubp'cau4

c'o

t L*o

\k"o

| *n ^ [tr '

lAtsf

LE
^
"-, / ^o
:
fqg
wLtr
rr,tn
={

,,J

*LtF -1"-"t 3o )"ft


\
Pn*y'"
u"*ft
3)
(tr-0''''z
vv) ^
7-<?

u'!

lnnat^[l;

'a

r"towttr'n' v'r^wlF
7

^T

'Dzu^D'x)

=
':'*^/J
Dr = t LoX, rr^o(t,r{l
29
92, I Aoy ' ry' '3
'117

Dr

i I .Alx
"\
(j 'e'l'
o)q=roJ.
'

Dq= {

^"1
4 A^^l'
3t
;
Ds l ful'
Yr

if 'l!*'tu*" ^brf)

'[rrlltu'
V

44

Vu^

:^ ^

L'o*vv+-vtA

fJ

l.rf

rlt' i.

( 1..il(,tllit
r l: r:1.ry irr
r ) \t'ril

l)rrisierrr IrlrJt, ior lhr.Ncrtt).tf t, I


rrrrr tii,rr

l -{

| ,\1t ,\1r
l)l t)-, I)1

nl

Ut

^.1

tr.l

i
lr';

I1-: ,\.1-l \1-,


i)l
li_, ,i

'' i

rr)

,\l

\tr

I'

'\r lirrl:,
,i i itrlll,;..;frl1,

ir..

rlrr- | !'lrlr'l1l (i11\

.l 1

rt,r,1..1

11,11,

.rl I'r, rr.lltr.ni rllir,tfil


,: tir, iillf
,

,,,

:rr, t{.itr,

lll

\,.i,

tl
rtt
lli

li

\jr
lr,

JJ
lt

r.
'

\1j

\.i I

u.l:

,i

il

k[u haw,

n"u

&urlt-^ L.

l-

3,

e-2 Yhbr

-f[',2 DT (4t\- L

/'d'A
*tT
c-o
Yz)*-cl
^^A'
? 2lt 2-L
t)-tTt
1
ott fr..* S or^-(- ao*op

"

>><

tr,-

*jo rv 7 ' k- ova-

AL;
llJz-

*ngC,-

{{ r,t

lL^-L

lrtat<'.

ry

D^L

ct.Kx1

,(,a,-Q

/tJ

&'a-r,

4 to^

lk4-

'f-

v'd,

br-L/

4--- b

t"-rt

'l- ; /f
ca&z -

tnzl- catu
+eftL
t'o*
Qnr:
FIo

Cat e -JP

^'fh
6A

l.t-

h7^u '

n\
Mnx
(,/

fs-

<

ol

L+Pu'

+?;"(
d A/w

6- 1

7**'

-9-oOl

)oo

l9

-soo
2001

20 0I

Szc
&a- c

3)

)oot

lq

>ao

tb

F.b

t*?
[ .-r-

2s

f ')t
F"L

)-8

-\

lg
tq

Ftb

{o

7'/

do

#-A

,fnb
'>

14 d,,1 wol
(I
vr^l,l

3\

l)-ll+

2q

)4

3"

Iwwua lf
tb f,a^ Loo

,-oo

?nb bol

Poc l-Do)

L {*^ Lo o2'Ib fnj >oot

Leo +

2oo

29 f.b

l rLax we?

!*,rilAi[f
P^

,-ee Y

I t4 a't )-oo)

2ao 4

J-oo

Jeo)

3o

tc

{r

, hy,J

3l
t5

t>.1

)b

2-oo

{ a'^-

1r

Czy

ttut)

wu
h*ttnlr,
Ir

"E'^nolio-^<

-[Ln- AzJab"' {-t'L *""A''IfCl'a<wlP;-fd'


'$aX- of
fUo-ahoo^

\*rYc*trA

t '[tu'n o-U u bf ' vi


co tfu
fu'
V
?rU, t+f '+h'c)

"_]\

'

u''tl
s*L
*'L
*'"1 +S' )P
T ry

tl^L lrtr
1
I
I
,u'''"|i^n't
^*
rcrcco'ulA
,-"fuV
r,ft*hfr'A
'
ot.Ho'^t
a
-{" Lt'A"'ie''*
eV
w*rA a s *L.z
:D+eL^uTl

=ttt'xf
o^

ebl rr,"*J

9,,*"ho^

Ba^k

Yri'*

'ln* vTU 1,*"+'D^/

4,*r+;, '
ln'""

^
r

fl.\t

t,

'*P
lt^L Lu;{*h'n-t
u yv/a-rn'r'fi-s '-^/o*Ty
ry!"u^yLl*^!. \

r^,,.

vnLru-

fi.nto(yit

t'ui

[rn"^*k")

*,Lf
r'*"fl
tl'nla
7*"r-,o(
Au*
p+-o
Er
';:*, +*^,' wt 1w n"Lr /'8,
) {--rzn(.p- eUnt
Y)
q"ffi: et /2.u- a n*a'*yt- (r^^b^)

'

D.rr

P'le 'rl'r

Aq;c. l*

w{r.qe-

0)

q l^^'drw Jrl lrt- tt^r'tlr,FJ #

VJ,ltJ

caw

*n'ru*f
1

lzrbl,ew

<xa-+-ro

C-

tb /'g r'14 11ni mhn-

I to n^ax-fu)

lre Lb'n

') Bor^M"rf l/a'l'"t-Tua$nq ;;) e 1wiva4'ou-

\d-fo

trt

L "fLau^

",,)

ol-oa **a un

Dz,t

J,*

-l--t

c"- u!,a'

t-

nr f a
F^fle,_&

,L,+',>l

ulo, ocr^'^^$

, o!u{ (A/c- '.^Yf wittf, an


U

QTLewylt*

( to

L+^'a<'Vl)

L IJnA "'*A n"a-Rsbnu+


B'tA , robwkn -o l-^+i1
{ox
I
o
/." ^*')^)

)'l E^pW tt; $*dvwro-wn- Liogra)*


t

)A)e- *A+.4,.0

.(-- t-o

-,\

)-\ytArn
L

Tr

U;yo.ltnu-

r)a'm

$bt coAa-t {*

E
L--rrf-

i*,A*-A

'rt^2'

r"ot +-71

1 ^^L
{A *nV/-- l"* W'^. frc "'''^D'

gLl^Pu

O frYt'^'*
D
9
)

bouz*L^1 va'W ^^^W W

At'- PrCIbb^-

o-ov)^jca*

$t *t &att

lt*-

(r"r;"^
(u -{-' n^

Ezy\",^ F-cT Je-toor*m\ s'r', n


$'abZu*
axrt-nYV
tt''
zPlo'*
t"-'

tl

py
D

fu'**^:^

('^^t

Pno'b-""iw-

) r^*ag
FnfLo^

u'

t
9

e)

+)
r)
/,

"'4/

Po-'n'h'^ V"bt'-

^u 4ntu^
Q6'w
C'tt'tw+t

*iv',- =t-'

LLt-

P'1-

D MY

!"-btt'"+

t-*(

Pl{'<-

'

po"a'-- +-l'L

j
v' ^A?uaau1 wL^' n"hl
$r ft*' 1'-' $
t^a-tr
wW
klwot-"t'
Pl't$*f*

tt^z'
*pt,,,,^

v'"*

c'a-{'-

e^0

DNIT_V

SrBu

qre&L riesv^f h

'J'--_U-t.ro TXro

l) f)c+'tt*
tf-

,7

2 p"Le

ArQv,Allpo/

$*qxa*
t//
v

fi,^r-

#r^^*L

{-" tW

+;"'v'6t"- f'eLu'n"

DV*Evanvt +'^Y-

t' At\^k'-"
"

D"t*

A,b

la*bao
ar
9
'Q fl'*- 2s ^
* +^)"'fLt
siAtt
3
LNL^
o 4,+ (\t
X

) 9*-p^*

+A*"(L

C a,

b')

&ot*z tz

-^

c ,qW [t' hAL A


n wqv+ ( \'H&. B A

tl\
,/ 44.)
'b)
t\

li

At
0u

tt/l

:/
iLl

Co
c-1

, t, L(-,

IJ

YY,

l/L'

va rn
l. 4tul
,U

Q'v,-'t*
,)n^Xrn

rkf ( !;k.

Abld

frLI't't-

(u
{ Jn noh)
^\,L
(1o,rt :* bt
"
dft, Y(f{a!'-Y tt+o (lr*
1"
U

Ccn*l u^--oW,

[uc-

.q

ft(

Q*farL

z'\

4'W1
)

[6 a]"'-

L^ril\

y;

S+

'^Ak {**

Gbo^--

{*ff^

@
r*v

p$z't-

4*f^

A.t

"t

7-tn*

,1rt-z*z-\- ILA

9CIry L^t-rrq k^

4-,f',"

0
L,J4- 4.zuc-

A'( a

hP d-e-

'

tS

. t\--

L ;th7

ftuLLI//,(--{'"4

I^"P d'4-

@--'@ elqu
ry
wA.n'

./1

n-t"-F

h-<_

It ,z

Du+

.,

*r*b r,r,rr_.) fr t"

t
D.* ?atk-*r-''"-f

tl^"-

coAz

YeYrtsn^-P

{rn,,')."*

lt^4- c-or-\r'L {)

*P*(*^

n u'< |'-th'nn' ? ["-'- 2"4;-

F\

tH)

Y
v
f>'t
tq)
Y'v'
G\
Y
\/

+ ( sotr*

o'LcA!-)

qwna-

qofu'g

Lstt nou)
F q'

((l

+oltawt

1.^f^fu

^L7*LLm

a-\

q/)

n^ f"fk
J*:.
,-^_r' --L

rrt po> fr"nctI

--_-\_/-\__a_

l/t

+- f.W

;"

l,

Tt^r-

bp^+ .k^-

DL.;

or'o-rr-

tl"7-

\
'l\

-Lon

a,"-'uo/l

f^,ry
a- cl^"f^- A^- 6c^-J--

"^ (o*
vD/ [

d'-- f ^k
s 4o"^, tr^T*]

t-t.U;

- 1, - Aoi n^ (r^h
er'

w-tL, tb.

d*Az.;qt'rn I k-V- ^^t 4

^-- f t-

+"^t-^;al

'eet[

)";h'rr\,{ k^W E,f;^

- l, -

"g^-w1"
Wltk

gr",

A/-t;

6'4-

'lt -

*y

?^Lh4

^r)

\
eoyY4l Pg /A-

(ne,r^4i ur,'
il;,"t (*W^
t0
(*^ Cla- .9o ttx tx- +, lLe- 1-?,"^k ,noAn

D-

?*f
r il

"

tW-

^^A

e-^J,

p{.oE-nu
^-4-z+ A.-n'e- rn

b
*2/ Lu -ulJoA {^a &oi,,u,,, *A'^"
UI

v,
.b*(E
I

q"- qI,-',L lt"z- i;h'o| *


I

,^.erQ-z<

,P..^^ \ ^.A'(

Yzz-

z. L

L^4

o,^+J'-V re.e-:1! c'nn(.{.

L a

b> 7^u

,""f6 8w h
'.ttn
-'-ra

',

A
+

'(t4i- 2

cr

.tF

TAJ
co

nzizb

O-l

tn
/^t
vl

'-

""vr* d

6A

9o1nz-ntz-

\ll

"- "Ao h

ln
t

S;aVU *.A.

fl

a.Y-

c-* & a-

7al.r- 0<'zf

,r"ri

tt;

a-

nLzq{

h--

w)(.(,a

i,J7"*=o
o

a-e-

rna. ri ,nt^]

^'tA7ov.

'*f*
77

ftye-e_
-r^("u.oAp-, wilhT

tJ

"-ZtAo

%1/-^d-P-

.? O ^(- n'e]a4 o a-4

,Pnailh

P-*f-^

1,"/ j

/\
U

"

f'.- a-

a ll

a-

4I

to^+{zA {
A

Canu fi

fi

n*ht

z-

ocJA'XYaQ: L

1
Ao'^-

fi!"ZE

2,

h- hh'A ?^d!"
L tr^Z d^iLM4 ('f4
odt- tvB - tn%r b ?It f"-ff"* f"f, 4 rilf-

T(Trr&t

ca

DD- fffi'

w'tr'4

frL*

6"+tet -t^-

-e

u.cee-4te-r

=o

WTott'

ilI4/

^0
.L

rvw

wr-r(*u

fuf--f7u'g"a
PE- yet L^arnz-

C&ae-

atr
l/

'l)

Hs I aff^
L

h,t -fr
fL-^ft w" Tl rh

Cate

,-g

A
B

Ca+L g
c-a4<- 3

t.O

tl
12-

D
e

IS

ttt

ry
,/'

1s-

"H

Caa,u +
Ca'l.e-

Ca44_ 3

k4. j

e4<

Il

l-l

Crrz<_

t -f-

t&

t1
),,o

'L/44L

L_

AA,L T

l-l

A.J

rLr

n
l-/

&3

{tu4

I^

Ce^,le- t7.

LP

-1'

/t

e-arX-

C4,.k-

Caae 3
C2&-

{'./-"h,',( bB- f*
:-)

f*^
fyil
Q^ tla- no)t,

- l, "Lf

q^.f"

-?

ll
Lh-<-

pa(.tr

^n
1a4
/

Do

o.,tu

lna

ItE

ve /la

a.&""n-

.be

fow

*il^^(, pbu;n
,{

p,e 6 bn

,.,.r..i.-M*it=

b^ " (-l'l: Tuk ryl


U
B^A

fn- *n*t-t q, A

,91'"r'r]'*e-

t)

co\d

vu*"<

/1Aqcdb

4rn

liz-f a^e-- 't^rlzT r

vuM

A'^*

1t)

e-ail* o['l*x

ve-n-\o" s po"n "^ tU; sa'^R4-?r+;^II^z


o-A I 7an
tlL Eltoce *-l-L
veo-fe<ettrzs
*7
-tl-v?j'
^
lo.'a ?. ft"Z b.^2 Ye-JwK
rL
Ayvz.Uza I*'

{)

'&;i ;':

B
.

,ii:

nA-

"- lnt?- l*+'^n


ll

t.,irt:

'
..,1

f\t cabJx Mrt^ f'"W r*Jk;A

:.!.

.&

$
:T

Co*t'As a

"TC-

L""V
*'h"*
+/'c"
il^*'o'f
sb1 I : F;J
ft-zla,t- '{"4 # uf*
fe /tE- *f'
b^
tu,-a*ofr- ;fa*TF
v
,eoc-^t'- nu'turo
y"V;-)* +^Jfu fl*L
n

I'

6'<!-

Pt

A/ 8- L, k

,'

A/

?,
P^
,-3

A, B. / F. t4

D,D,

rFrh

frrl, 14

?s

?'*;

B, C, ,3,, t/ 4

fe

)3

?-5

P1tc

P4: ArB. (-/,q

OO

I trc

ol

?z' ABcBcq
Ps , P 8{ rq

2-o

ol

tfyav<l;+ |

P'tkf ,A6

tq '
Ps '
Fl,r :

to

o o

hDEPq

ol

oao

A'bFGt

OI

h B@g eFq

l('

gy:-^ A Bc sc- Bct-l


b"d

Th,-

ol

pnl fi"a

e ho^

oolo
:

o lo

O 0 0D

I
4Aflia Lha

oz^AL

ou-e-

r4xt- l"fuf

*fun*

filE
,

8o p^LR

o o f o o
I o .o lo

OL

Pr, P3, Pr7, Ps-

lo

)
l

f^-cfI'4

b a"-L1,-u

,
/q

"tz'*

C" Sl-!4fov4
L% e'L'ta.*i

$r.n.ttn

/r-

pOwt <-

+,

An*'

aZ*'['

f""tr

Pi

u^ :'

Arfrrtt "",+

*(*

cl-A

Ap-4. , ('te-

o{,

ba-

'*-'#w<rA

;,,-

P4eur,,be-- 4tfu*^'h'c r-<j *c


(/(V

fr-./*^

D l/

13r*r-Eu- Fvl&)

/-.,-/<_"

?r xlz-zt,ul/ *n'{ 7'


,' (-(f p( "
,(
P
.r" ) uLu<

Ou-@a/t- >/ L
7

*Oe-r.^ZOI

n/)

b*t-

ttteA

fr-*

rn

b^ruLf"^n

'-+"u"

w,li.!^- a'Lo*d

14.

ou

b 7,*,*Yo **7'^** f^'ti

Iru- D

- ?^W
vtca)' L-hrr-f
v(a)' to. ytz:sjnAtPen[n( -fi^H,

LaLr'x exavryL

A-

.l

spled B untnl* !''tt:

h/ g/ ct E,/

c-a

+Gl

A-niu un "*l- ( ot*Lf*7 )


A
-&+
fi"u?
l?
Ct''-

D{--e- l'-"}L

.l)r'Lt:
/*\4 ?
"D

A/o/

AI
A+

+q

E7

AtaLd

n'n-'

A, ,D,
A^-iA't 4,

t*Au P, B, ^ #T
F, q'
n-odn B/ A^,

1,*fr+

uf*
I
#f
^

A, B''' F/q

d, r'\ ffi 7

KY

@
-_p'

tq{-zi fu';"
,fXalln ue- e-cl7z- z ;-'g(i'*l

4t;A Fufu ;" A, g- -k^

o't'.-

f*

A/ B. cr 4

lhnL

*re

^t,A-P'P"Au^I-

!2611;

il

J'*{'fiLLa-

^r-l'h0

q u*^^-[il

(l

n.o
'F
nzt''<

yr.z)
rl

t/

tf_

;nLt\-s

t;4

f_:,

,n^o-{x).

il *r:<

t,-

a"4

fa4

fta

1---^
'o^r'

\v

tf)

li--Lcon

VCq)= e-h+)-f
,/ C C4)
o'*d-2,^*

FA

futfu

gubr] tlu- $^2, Lia- fott':


I
F\

1/A

f^,

tnylL

A-B-c*E*F-H-

tr Yy

opu{N

J-k-11

F4

L^4+-

A -B^c- tt-F-H - J- K-N-N-o-{a4

fl,

\lv

d^ip

N-o

^+ B Pz:

A-B^ D - E- F-H

-J-k- tq- N'o- [e#

frp Fl r''l: F ?a: A-B-c-E-tr-Lt-p-t/"(I

,lFtrP0 atkl Pq

p-B-c''E'F-tt-

- Ap{
ftp F! ^rT
I

l;

B* c- tr -

$*x-D-K*^l-

F- f-t- J - L-^4- ^,-e-*a'(-'

ooY
n - ] ' ttr
*f*t:ou'(

'tnJ+7P^-'t"'F

,,
it**fl'e-s
F i{bz
0-"7
w&
-r(
^*7 f,e-*r'-{'L
tL{u
b*+
tt4.- Ab -Do low 7/*f
1".
U_,/l

7t'tl^'<

"

c
/--\ (A

?r
tb r,-olu (2
\--'/
,f'
U

snP&t

frcu*n{, *Aj-w

^<-

t*oue-'^t-

n*!'-@

@ t 4r<-"**4, 1t'7t' l^,r.c- t^-- J,


frrr.n^*r-

ne/r--

pt-

tht"o

{;

pe

/'t

tL /.n.^7Aa,_

tt-

oX

13@F
X

'J k

NI

t.rt

c>

O Etr

Jo tlrr" oJ
/l

B*+^
|Pn
-*'

:-

ktrn ^'L4-1t^L4'
3 ,1 'qA

D"-

fre
p^.Aa

f)
\,/

l-z

J- LL/6 {

f;

rln

*'f

B cFr4T

xl

K14

o k'^l-',grn["t""-

7*'r^hh
o
{n*
EN
/:-/
1=
tr
Bc

Pry'.
/2

oX

n
I

ln"r/

/)

B ctr

8 -b

[-1

tt-Hr']o/n'*

{"1 ^

F A a f ant-

+p*t;fr
tl

E[t*e-r

{'*u
?*V** 'l' {;4

lu a *.7 Qz

V-

m^>G,x'

t/- f

L'

L-

la4 / ,.
n ?rfn r/ '"

>c)

r
e/

4L
/\
l-/

dr r)

4,

r'->a4
t

r,z

f+'t'tA"z'

f L,/

aQ

t-\

b)
.ll

/'I

l)r ^ft

=b
pt{i f- : c

.(-LL\ 4.-

"/
\J\-

+ /
,/

,r

tnr:'/

e -nf

-r

?D- le ,t

rL!

'YLq)

E-

'i

.'7
'lr

+-t'r-

P^tu'
Prt . f- 2 - 3-+
|

ac5

-1"'

P"., l-

?s:

L *?--s-ir-

-,L-+-

6-Y

l-

bc4

'r,*-( D
q/
;+
t
J,^rr,,*,* nd
U

)'ia'.*

",,t

vrilr'e-

ob(")

,\u
+/

hnf ,

^=
Cart z-b=r)
8&t

ol*

I,*L;-''

ex,ty*itr>'

Gi

|6'-

f*n

c c" fr**

yy^- {'" acP

F4,L

f."C,7
(.1

,/\
h)
VA'n 'b
\f,

b ;4 1e
a

(uQ-

1)

b'f
cblc'\
Li^li-

,
,i)

YnN

'

' ['

'J

lt -

ito

t'zt

L'

trclrtP

t:1^2\ L,.-c-

I)l

ii I

\'/t

ih)
r/
t'

L)
.n

tb)

l''''''

,r^1

"l-,

s**tn'**n

^
&'J"

f,d
U
[

vC ca)

-z QP n-rff

' ll -<f >t;) =rg


PE i-2 -3'

t-3- +-rL

s:

-2 -t L- ? -ls -ti'

' ' f- z- 3's -E --l-r -/L


1Y"

1-3-9- b-tg*tb

\f^ + bry*'Lu'f lr'tt'''


I

ut cov' tt

-V

ft"+

krva'Ldro
s\-\fr.^A

tuv-

fL

)n*;o

c- gu+

*ozt

wj"i-t"

l"

r'J"^j,.'V

a'e)

+-

r,^aa-lLLlz-

rcL/U.X, A-

*6*tvv-4'"-w**"a
nvclqt
Q,st nvtl4t
n l) q;st
(l
f UvvdtXe,S
*^^Mfu)a)
<-------

--:-:-:---

F*qh* \***f

Widr'

Dco ?
q

cl

c'r

n*'a

ua

+- ,^,.*-

6+t*V*rPve

DP- ?'fu

o s' J"
Vc{^/w
'

**\

q^* cotr'v\-e/
alz,"-,'lLt

U>

)'n,",'r$r^4

^'U
aa"L

boltJ J<^^t- W &l*

A-6'46'{'

/cz e
lr .
yc-42

Pl

:'ry::;wa
Dl ^b''
V^W fV ,,"|*rhr*
^,^T
3.

;\

b) cfiu )

cu)

,,,W

+os;bL ,o wdu.*t)'utt fl

Cc v,A"

-f,

{'*tlu'*
D

DLtr

o*

o ,+*--o

''\

t4

li'"- e-*-L Azur"''

%
U'Ynfu

c"W

t^t"ot4.'L'1A-

Pea"l"Lc

(*tu
f"-+.K
b^t4
,io
I4't
,

ak"fur*rt^*'u

u'*T
P*-v'""[,

(c."r,)

t-e.^6

ln+

gvLut

?*a: rnV

cr;ve.n

gL

'

c e T<-

f.

,.y.

c.eA

Ae-vice +p-44- ca4Lt 4t''2ef

b"Lt" rw+arfi

,;

ai'o<

'Le

f<-.,4t

U
o24ra2-L'16-b

c<

a4tL et'*{'L

coh d\'(JIL; hnrfo,-- 4o 4x'tu { f-tou


ye{e\} .t- efiMu n*,x. il^ d-'
cAfu
s,n7tt- yei
(u (t-ut'
!r,k" n> L s4 a cP mf g"'^d b *

?^r);

anFrurc;t-

onTrui'v'

{vr"+ er^Lroer: .t" fs'ex- o+ f/'-f/4*La,fiw-ut+<

h CtW"-'n* cnw'-e\
fu+',X,-4,

LF*'\;

awtttt'l

7{WDt*-L^k

u'bL

4T+aI'4' 1b""*'u^
q?
frt4.^1
(.c^N;$^
l-r'Xa

e>""'Aivt'-

Coil*&t* Cov'u f
a
" e-*tAe*'k
6,4 f"s-;Mv*Y \)'""4
fu

''i
n

" fo

cd

h5),1
(

q
t,

',

[,r'r-{
rr

OC

ll

,ol) nY{.rra-{ h
^^

y,r

?/\
U

^1t "/t'r-,)

h"td-ccn 4z 7 te'n-\;>^r

( r..

b-*L;'ffrn *T

+'*^4rJ
tl^,\,e

rfx^n-

r,At
/

{fu4

t"lL

1,

1 1^*

\ nvu<f.j'^h'

oa'"L

UrC"t

*"fl
I[il

f"k
{"U-U"z

.lp*,^

bo

/t-

rtn-e-

pg

fnw
v-l

(7,
t

f
r

t--*.

<'{t-r-a'w
I

k^'L''fi.w

fi-

q-

,T

r
t

12

f=

F
6

T
T

F
6

-5-

' -t

LrLt-ey

c_

ll^'-t
huLifi'vtz
a-Ww'--

T-

'fu's-"t*

rr,(z

ea-'\/r OGztx-

c u*-'a /^^4-

c--

T fa"A:
e/lP'ae+-f "V

^,/X ^tud

cor-.{i
A1 b,

fuw^*u

9J>-paIUltt

tzt{'z|, (Ci)

q___

F-

\J

1"'!t.2"

*^( ""r

,-\,V

fu

DD IPC"LI;

t -V,t*y
(l

aaveuo) lti^-

rDP pnLt; uI
7R"FL i., ^lu,

iv,;

t^avn^x".l

-1 1",-(-^ JJ> fr"lh

Fz<

'1' 1 1**''^^l 'tPz'b

A- lr*
h
, fi r
xa
b?futP-'A"rA^k
P*w

u*r^J

(ftl

,^<u,,g

(4-

t/
V

( ca)

f_

fw, w- t,oJ-w
.,|.

rI

IVtu-- 6.4

Vrr""tofh{c_

L4

^ n'
rnL"h'*9
A4^q
v*t<-

At4""""-l C Az'u)vea

cnL- PP yr'W I

l2<-

*,-t))L a.*
;
lnLafi '

Ll'vLArL

&"U tI

6-

bo)rtvnu"

r;.tt-

wL*-)i,-

Cr*,A;

olhA JP P^LE
c4

Lnww

**

^t DD-Ya't't'l

ilI ""*e-'?"*Lt
f"fr
1
ut 'I

DD-f*W

frtx'*

L""7 covvttT< (,r)


i* Q,,Au
-a'v-et

ct* ILA- )-

L"T
.*
Iltt^z

Lt"-

+*+ c.;!eL tlr-f

n {-f-- c rc"f,-o Ln^al

tl.;;-

?)

- y> e,^.: "to


t."y 1 rt': ttk" +- -ait tLa t'
$,.*,r*rtnIL*- %q, tu lx'V| r [t*^* tl;
-ro3*
ucA
c* lL.yt- 'f ,rl- r\ Au"{C
+/t{(5,
Atun'eirn

cnu-d)fi

0-'7 b"'t
ataf
*
L
q-',f
tt^L
H*f}fy
+.
| fL'
| "u

0
vw 4@
4
Lu*f-d
"A*ofn
$cca.12
?,
t-"f tf ot'o"Ll
ynotF
Lh, &pvu-x-

^*

'n/1t''

we c"

tl

On{'^t>,vffiJ
:

1)

*1*

t*y'

A-6,M1L".;

N\.L +^*lj--f

^*W

[[rE- appb

'u
O^I |'"L-JT*

,[:on

44-p._ Q

/f

tl1- &-t ta e-ctL'\


^*-A'*u '
tk d ka4
a-v! 6{"V*,*

4'a-Fcau,t

l*"*

,flr*

^f{xr^-i*"-J")

lo"to ln*

Uff e.'l- (- +"U'T '"*"V"^'4

a, Jd

Lcvu-ta-q

6-

tn^{r..

fi-r,{e^_^El

w*

[t^z-

orT

1.-^/",2t^

L"ry ( u,"fi *no,h),,,- [*,;,,",.*'A*)


fl

O Jr*pt L""ff'
c/"v- i*ar]
{h. DVI,
\VW"*t
1l['*

,/\ /t r

o.wp6

ff

fD

r,Lr4

S.t,*f,t- !'evy

Wt,^-hx

h^6,s1
lr<
Ur^-^-

n'l*-u-

't'|r-

il'Z

ill-,**tt* (""r*^ tt**

ll

.\

\
0

Aroeo
,
I

-rytE%'l
O.^tq 6vw
(l

lv^
-+1,"/b

t!)
Ir

c^-trS

o1-lt yt nt)

^^\

paa ,*"(^

tt"n"f

t:;-T

F-JL"f

PJ*'LuD'I''|^

LE+

Nr- tz,l G,y,


rF-

s!+

I l^&L

r"+
"

)^^n4,+ Lovo

'''"un*^

I
I

*U olt"a L"' f t'

r.*
fu\,\ h),lA^LLlA^'

V*lu"

e Ctr')*^k
'r*nnx,*o<l

Y\

l)

rr.-r

X-oop aF Lln;
I

.:

D
a
.fa"aw-t'W+

q Vn+b
r

,,?
U,,'t^

rn'\.;Lr

6)

!t'f t* .f"

ft'r,n'pL

*T

\-l'-

tLlJ^r4h"'<-

*"f

ft-,",f e-fy-f

OtLe "*fdu bofo ,.+ N-'+;


t'r-?W) (rr*
iv
,u'yi.o/

t/

K
f_/

,/

@
1

Vr*L,":-t

^-'LL-rr>

r'

tL'A

Vc''Lv*t

- C,l-huu'ttl- "^"H- ^U
(.,o^t otL-"*&hA Urf

a-U

,'

\,/.l./

Vc+trnus

-.J f^w1x'T

(c )
\//

-lr

rcu_eL,.hh.l tz,YU

'\

vl

'0'"lAi3 e'nAf,

N;;1- w\*1'-

ew{wnaA

"'t

t. |/

Vt

L^*-

A<!''--

'fn''b/

'.

,{1 ^rL

Lwy ia '(^)'fz'*l'J

1116

o[["8

Lt-,n c^=*u-li^*Lnd , utrn cz--.n L {}46) *-j


4 ynut e-'p'eQ S-* !;"*f-L' 1"7 '
V

A'tu ft^t offn"L AW


1-"y

Yt--(-p

**t^A"'{

+- '"-"C4

tlE

5a

0-l

['o,

tm',

L[,

a-4.\,

.8%42

2";4,f c.. a

tt-,<

t4l-,p-/.Ll

6e7a cf';L'nt-*'

- l=.J gawk;] u^f u -? (az-+,- b.- r,a'n*y"{-z,l D1\tf-*t 0-"< b4/'t* cen b+4
tu **ff^^
f^f
*LW*,f, sL\i,. *ez4 &*ff.*,1 ,-*hA
V
*h,, ^^Lt'l h'a r>ur- s b,.-r'D-/
1" ^
^f
6r*{,*-h,

e-u-

bc_

kr.r/-

v
v
6)
lr-

\J

IO"

Y-'

et'
l
I
I

I
I

'Jr

L' tl,;
uT'''[
l'tr
Ct*a"*"-,
O"*{tr"A
/ $*fr^'-"'"-"/
,lJ I
wi

h*' a^-i;u 1 oLro-'n{-;'-'t

3t:

,?* ,o r*ol

Lp

C-f nnnbu

yc e-LL

N\nw+.

iJ

tt;

.o-Lal;"ur(,,p or-""n

t/
bAa*u* [ t"+ s) / ?"t,4, a Ln 4
U
/t

1'y'L'f"?

?*ff* [t* r)
I

Q".U;'^
E

| ,* fY-J
I

^rt'c

l,n'cLU

)e*

--/'4-t

.d a-2"""U

Lu'r*ntv

y^LO

lI;

eyr-ti

()

frV

l).-A,r;u.L^ C *+

b{-z- ? ^'L- s (.a /4-

Ita",f

\ ou""l,1- | r"tE<

c,oa

t)

l*.-,y?.*

Lt)*",\'t^ ;

k\4

W+",1 tL>-r tf^'l'


I la-t7t - ,k.*

"{.V

,{L^'a"'|,

bt c[trt*'P

7^M

g(,,o*Ll tf-

nlr-

re^k

i"pr,il*
u&"n {>wA t

G\^4- 't*Att

.
-t- | a

Lnnt- *-t

ta

0
I

h
)*.-t*

vu*iu
,^*ry*r'-J

^ll,U

-1".;)'U

a'e-

l-'"'f

(')

..o.o

L@Trc*f'vL

Yo4lt-Yt-

c,o\Vu*fonol"

?^r b*A Y
lr*-tiv

b*U^naw) ["'

ll^a"t

fu-fin -r

no*bL f"U

J<-a'Yw'rflJe--

f).-'

,iW4

ttA

'Y)-/eU-p | ^tlr'

wf

wln".u"- .-l^aT"

Cr)^r; Q w

or*(
io"<

s7'-'"f'a

')t

pn(-rn

P.rtO;'-"

c'c,

ry E+

e-A i,nrt

t<-tft'^rl fo

lL:,..-

L ----

'r'

.1

g'pa-crtfL_q4
I

,I

'r+"J
\ ,Yur4x-a L*L

tk:A

vcJr\>'t
/

fuy'L7t'r
|r*7 a"'t-

DATA FLO\il TESTING


Data flow testing focuses on the points at which variables receive values and the points at
which these values are used (or referenced), It detects improper use of data values
(data flow anomalies) due to coding errors.

Rapps and Weyukers Motivation*: " it is our belief that, iust as one would not feel
confident about a program without executing every statement in it as part of some test, onc
should not feel confident about a program without having seen the effect of[Jsingthe
value produced by each and every computation.

Early data flow analyses often centered on


define/referen ce

an om al

a set of

faults that are known

as

ies,

A variable that is defined but never used (referenced')

A variable that is used but never defined

A variable that is defined twice before it is used

Data flow testing


1. Define / Use Testing
2. Slice-Based Testing

DEFINE/USE TESTING
The following refers to program P that has program graph G (P) and the set of program
variables V. In a program graph statement fragments are nodes and edges represents nodc
sequcncc .G (P) has single entry a:rd single exit node. We also disallow ctlgcs fiuttt ttudc
to itself. The set of all paths in P is PATHS (P).
Dgfinition.of usage node and defining node

Definlng and Usage Nodes


" Definin$ node (e.g. input x, v = 2, etc.):

DEF(v, n): Node n in G(P) is a defining node of


var v in V iff value of v is defined at n.

'

Usage node (e.g. output x, ? = 2\v, etc.):


USE(v, n): Node n in G(P) is a usage node of
var v in V iff value of v is used at n.

r
Definition of du-oath:-

Definition-use (du) path (wrt. variable v)


A path in PATHS(P) such that
for sorne v in V
There exist DEF(v, m), USE{v, n) nodes s.t"
m and n are initial and final nodes of the path
respectively.

eTrnlfion-ctear tcfc) pa
wrt. variable
A du-path in PATHS(P) where
the initial node of the path is the only defining
node of v {in the path).

Definition of P-use., C-use


A usage node USE(v,n) is predicate use denotsd as P-case , if statement n is preclicate
statement (example if a<2)

If statement n is computation statement is denoted


Example :-( Commission problern)
1

program commission(INPuT, OUTPUT)

2. Dim look , stock , barrels as lnteger


3. Dim lockprice,stockprice, barrelprice As Real

as C-case

(examplc C:C+Z)

1. Dim

totallocks ,totalStocks , totalBarrels As Ilteger

5. Dim lockSales, stocksales,ba:relsSales As Real


6. Dim sales , commission As Real

7. lockprice=4s.0

stockprice= 30.0

9. barrelpriee:25.0
10.

totallocks:0

11. totalstocks:0

12. totalbarrels:0
13 .input(locks)

14.Whle not (locks:


I

-l)

5.Input (stock,barrel)

l6.Totallocks :total locks +locks


17.

Totalstocks :total stocks +stocks

18. Totalbarrels

totaibarrels +barrels

19. input Qocks)

20.End While
21. output ( "Locks sold", total locks)

22. output ("Stocks sold", total stocks)

("Barrels sold", totalbarrels)

23. output

24.locksales: lockprice *totallocks


25.

stocksales: siockprice *totalstocks

26.barrelsales: barrelprice *totalbarrels


27 sales= locksales

stocksales+barrelsales

28. output( "Tota1sales", sales)


29.

if

(sales

> 1800.0)

30. then

31.

commission:0.i0 *

1000

32. commission :commission +0. I 5 *800.0


33.commissi.on
34. Else

if

commission +0,20

(sales >1000)

*(

sales >1000)

/d-:-->.
qlf.r

35.Then
36. commission:0.10
37. commission

1000.0

commission +0. I 5 *(sales_l 000. 0)

38. Else
39. commission =0.10
40. End

If

41. End

If

42.

* sales

ouput ("commission is S',, commission)

43. End commission.

DD-paths and Nodes for above example


D

(3

Nodes

7,8,9,1q,1 1,72,13,

14

l5,l6,l7,l g,19,20
42225,2.+2s2627 28

D
E

29
30.31.32.33
34

GI
rii
II
t
J

35,36,3.1
I

38.39
40
41,42,42

du-Pathr for Stock$j


First, let us look at a simple path:the du-path or the variable stocks.Wehac
DEF(stocks,l5)
andUSE(stocks,l7),so the path<l 5,77> is aclu-path with respect to
stooks. No othcr is
defining nodes are used for stocks; therefore, this path also definition clear.

du-Paths for Locks:

Two defining and two usage nodes make the locks variable more interesting: we have
DEF(locks,13),
DEF(locks,19),USE(locks,14),and USE(locks,16). These yreld four du-paths:
P1:<13,14>
P1:<13,14,15,16>
P1:<19,20,14>
Pl:<19,20,i4,15,16>
Du-paths pl and p2 refer to the priming
Value of locks, which is read at node 13: locks has a predicate use in the while
statement(node 14), and if the condition is true (as in path p2), acomputation use at
statement 16.The other fwo du-paths start near the end of the while loop and occur when
the loop repeats.

du-Paths fo4

lgjallocksi

The du-paths for totallocks will be lead us to fypical test cases for computations. With two
defining nodes(DEF(toallocks, 10) and DEF(totallocks, 16)) and three usage nodes
(USE(totallocks,l6),USE(totailocks,2l), USE(totallocks,24)), Wc might expect six dupaths. Let us take a closer look. Path p5:<10,11 ,12,1.3,14,15,16> is a du-path in which the

initial value of totailocks(0) has computation use.


du-Paths for Sales:-

Oniy one defining node is used for sales; therefore, all the du-paths with respect to
must be definition-clear. They are interesting because they illustrate predicate and
computation uses. The

sales

First 3 du-paths are easy:

PI0:<27,28>
Pll:<27,28,29>
Notice thatplZ is a definition-clearpath with 3 usage nodes; it also contain paths p10 and
pl1.
If we were testing withp12, we know
P 12:<2J

,28,29 3A3l "32,33>

we would aiso covered the other 2


Nodes for V

C:t9
lockPrice
stockPrice
barrelPrice
totalLocks

1o_cks

stocks

r8

15

lockSales

/4

stockSales
barrelsales
sales

25

an

27

3,34,37,39
31,32,33

totalStocks
totalStocks
totalStocks
totalStocks

Ycs
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

locks

27,39

du-Paths for Commission:


Selected Detne/Use Nodes
Variabl
cornmlsslon

31,32

comrnlssl0n

Yes

coflu]uss10n

No
Yes
Yes

commlsslon

cofiImlssl0n

'

commi-.sion
commission
commission
commissl0n
commlsslon

No
nla
No
Yes

32,J
32.12

Nr-r

n/a

Yes

comrnission

commtsslon

commission

3rc2

No

37,37
37,42

Yes
Yes
Yes

n/a
Yes
Yes

No

nla

Yes

Yes

mfilmlSSlOn

coillmNslon

commission

comrtusslon
commission

Yes

36.42

3gS39,33

3W

du-path Test Coverage Meticq

All-Du-Paths

All C-Uses/Some p-Uses

All PusesiSome C-Uses

lo,,-"-ur".

lou-"o**,

SLICE-BASED TESTING

e9

DATAFLOW TESTII\G

and the points at


Data flow testing focuses on the points at which variables receive values
data values
which these values are used (oi referenced). It detects improper use of
(data flow anomalies) due to coding errors.

not feel
Rapps and Weyukers Motivation*: " it is our belief that, just as one would
of some test, one
confident about a program without executing every statement in it as part
should not feel confident about u p.ogru- without having seen the effect oflJsingthe
vaiue produced by each and every computation.

Dataflow testing
1. Define / Use Testing

2. Slice-Based Testing

Slice-Based Testine
of program
The following refers to program P that has program graph G (P) and the set
represents node
variables V. In a program graph statement fragments are nodes and edges
edges from node
sequence .G (p) has single entry and singie exit node. We also disallow
to itself. The set of all paths in P is PATHS (P)
set V
Definition:-Given a program P and a set V of variables in P, a slice on the variable
rt.t.*."1n,wdtte; S(V,n), is the set of all statements in P prior to node n that contribute
"t the values of variables in V at node n.Listing elements of a slice S(V, n) will be
to
cumbersome because the elements are program statement fragments'
list fragrnent numbers in P(G).

USE

T\?ES

P-use - Used in a predicate stmt


C-use - Used in comPutation
O-use -Used for oulPut
L-use - used for location (pointers)
I-use Iteration (Internal counters,
loop indices)

It is much simpler to

EFT
I-def-Defined by input
A-def-Defi ned bY assignment

ontains interesting dataflow


properties , and these are not present in the triangle problem( or in next date
these examples while looking at the source code for the commission

function).Follow

problem that we used to analyse in terms of define/use paths'

( Commission Problem)
i . program commission(INPUT. OUTPUT)

2, Dim

lock, stock, barrels

as

lnteger

3. Dim lockprice ,stockprice, ba:relprice As Real


4. Dim totallocks ,totalStocks , totalBarrels As lnteger
5. Dim lockSales, stocksales ,barrelsSales As Real
6. Dim sales , commission As Real

7. lockprice-45.0

8 stockprice= 30.0
9. barrelprice=25.0
10.

totallocks:0

i 1. totalstocks=0
12. totalbarrels:O
13 .input(1ocks)

14.Whle not (locks: -1)


1

5.Input (stock,barrel)

l6.Totallocks :total locks +locks


17.

Totalstocks :total stocks *stocks

i 8. Totalbarrels
19. input

totalbarrels *barrels

(locks)

20.End While
21. output ( "Locks sold", total locks)

22. output ("Stocks sold", total stocks)


23"

output ("Barrels sold", totalbarrels)

24.locksales: lockprice *totallocks


25.stocksales: stoclqpdce *totalstocks
26.banel sal

es: barrelpriee *totalbarrel

27 sales: locksales

* stocksales*barrelsales

28. output( "Totalsales", sales)


29.

if

(sales

> I 800,0)

30. then
31.

commission:0.10 * 1000

32. commissicn :commission +0. 1 5 *800.0

+0'20 *( sales >1000)


-:3.commission: commission
3-1.

Else if (sales >1000)

36.

commission: 0.10

* 1000'0

*(sales-i000.0)
37. commission = commission +0.15
38. EIse
39.

commission:0.10 * sales

40. End

If

41. End

If

42. output ("commission is

$", commission)

43. End commission.

Program grap-h of the the commission problem

6@

Slices on the locks variable show why it is potentially fault-prone.it has a P-use at node.l,
and a C-use at node 16 and has two definitions, the I-defs at nodes 13 and 19.

l:S(locks,13Ft13)
S2:S(locks, l4|{ 1 3,14,t9,20)
53 : S(locks, 1 6): { I 3, 1 4,19,20\
S

34:S(locks,19)={19}

The Slices for stocks and barrels are boring. They are short, definition-clear paths
contained
Entirely within a loop, so they are not affected by iterations of the loop. (Think of the loop
body
As a DD-Path.)
55 : S(stocks, I 5p { I 3,1 4,1 5,I9,20}
56 : S(stocks, I 7): { I 3,1 4,I 5,19,20)
S7 : S(barrels, 1 5): { 13,14,1 5,19,20}
S8

S(barrels, I 8): { 13,7 4,1 S,l 9,20}

The next three slices illustrates how repetation appears in slices. Node l0 is an A-def for
totalLocks
And node 16 contains both an A-def and a C-use. The remaining nodes in Sl0(13, 14,19
and 20) pertain to the While loop controlled by locks. Slice S10 and Sl l are equal because
nodes 2l and 24 are an o-use and a C-use of totallocks respectively.

0): { i 0 }
S 1 0: S(totallocks, 1 6): 1 0, 1 3, 14,16,19,20}
{
S 1 I :S(totallocks,2l): 10,13,14,16,19,20}
{
59 : S(totallocks,

The slices on totalstocks and totalBarrels are quite similar. They are initiali zeclby A-clefs
at nodes I 1 and 12 and then are defined by A-defs at nodes 17 and 18. Again, the
remaining nodes (13,14,19 and 20) pertains to the While ioop controlled by locks.
S 1 2:
S

S(totallocks, I 1):

{11}

13:S(totallocks,17):{ 1 1,I3,

14,15,17

S I 4: S (totallocks,2

,19,20}

2): II I,I3,I 4,1 5,17,1 9,20j


S I 5 : S (totalBarrels, l2):
{12}
S 1 6: S (totalBairels, 1 8tr IZ,I3
,14,75 ,l6,lg ,20}
{

S 1 7 : S (totalBarrels,

231: {12,13,1

4, 1 5, I 8, I

9,20}

The next six slices demonstrate our convention

( ?.frq)
regarding values defined b]-

assignment stzuements (Adefs).


Str: S0ockPrice, 24) - l7l
S,r: S(stockPrice, 25) = [81
Sr: S(barrelPrice, 26) l9l
S4: S0ockSales, 24) = {7, lO, 13, 14, 16, 19, 20,241
Srr: S(stockSales, 25) = lB, 11, 13, 14, 15, 17, 19,20,25l.
S23: S(barrelsales, 26) = t9, 12, 13, 74,15, 18, 19, 2A, 261

The slices on sales and commission


th. interesting ones. Only one defining
"r.
node exists for sales, the Adef at node 27, The remaining slices on sales show
the P-uses, C-uses, and the O-use in definition clear paths.
Sra:

S(sales,27)

ll,

12, 13, 14, 15, 16, 17, 18, 19,20,21t,25,

g 10, i.l,

12, 13, 14, 15, 16, 17, 18, 79, 20,24, 25,

17,8,9 10,

25, Z7l
Srr: s(sales, 28) = {7, 8,
26, 271'-

S(sales,29) = ii7,8,9 10, 71, 12, 13, 14,75,76,77,18, 19,20,24,25,


26,271
Srr: S(sales, 33) : {7, 8, 9 10, \1, 12, 13, !4, 15, 76, 17, 18, 19,20, 24, 25,
26, ?71
S2r: S(sales,34):17,8,910, 11,'1.2, 13, 1,4,15, 16. 17, 18, 79,20,24,25,
26,27l|
Srr: S(sales, 37) : '7,8,9 10, 1'!., 12, 13,74, 15, 16, 17, 18, 79,'20, 24,25,
526:

26,271
S3s: S(sales,

38) = |-7,8,9 1A, \'),,'!.2, !3, 14, 15, 1.6, 77, 18, 19, 20, 24,25,

26,27l.

Think about slice S2a in terms of its "components," which are the slices on the
C-use variables. \We can write _Szl i Sro (J 9,1 u Sro u Sz, U S, U Srr. Notice how
the fiormalism corresponds to our inrui$on: if the vaiue of sales is wrong, we first
look at how it is computed; if this is OK, we check how the components are
computed.
Everything comes together (literally) with the slices on commissioq. Six A-def
nodes are used for commission (corresponding to the six du-paths we identified
earlier). Three computations of commission are controlled by P-uses of sales in
the IF, EISE IF logic. This yields three 'paths" of slices that compute conurlission.
S(commission, 31) = {31}
Srr: S(commission, 32) = 131,32J
Su,:

Figure

10,4 lattice

of slices on commission.

Srr: S(comrnission, 33)


=

11, 12, 13, 74, .t5,


24,25,26,27,29,30, Y:8:910,
31, 32,33l,

Sro: S(commission,

36)

Srr: S(commission, 3;7)

16, 17', i,B,

tg,

Z0,

136l

17, 8,9 10, 11, lz, 13, 74, 1.5, 16,


17, 18, "Ig, 2A;
24, 25,26,27,35, 371
Srr: S(commission, 3g) =
{7, 8, g r0, l"t, j.z, !j, 14,75, 16, 17,
18, 7g, 2A,
24, 25, 26,27,2g, 34, 381

vhichever coq-npqq4tioa-isjaken*alr
come rogerher_in_the-.last_sliee,
Srr: S(commission, 411

= .'7, g,910, 11, 12, 13, 14,


16, 17,7g, 79, zo,
24, 25, 26, 27,2g, 30, 31, 32,
33, 34, 35" i6, 37, 3gl

!j,

The slice information irnproves


our
it is a direcred aryclic sraph in which rrxighc. Look ar the iattice in Figure 10.4;
slicJs
,ofr;';fi;
JrJ';"o*senrs

rhe proper subset retationsf,ip.


"..
This lanice is dr*awn,so rhat the
position of rhe srice nodes roughly
corresponds
with their position in rhe source .fa.,
The definiJor-, .t.", parhs <1r3, 5r>, <t7g,
51>' and <50,51> correspond to the
edges that show srices sle, sr, and
Sro are
subsets of slice soo' Figure 10.5
shows a lattice of slices for rhe entire
progranl.
some slices (those thar are idenrical
to otheJ fr"rr"-t"r., delered for clariry.

Figure

10.'5 laftice on sales and commission.

I
Guideiines and observations-refer text page- I 66

You might also like