if K or (L and M)
then
put "TRUE" into resultaat
else
put "FALSE" into resultaat
end if

A: K
B: L
C: M
|
|
FALSE |
TRUE
|
|
A |
001 |
101 |
|
B |
|
011 |
|
C |
010 |
|
Test Case
|
1 |
2
|
3 |
|
test situation |
001 |
010 |
101 |
|
result |
FALSE |
FALSE |
TRUE |
|
determines outcome |
AB |
AC |
A |
|
A: K |
not(K) |
not(K) |
K |
|
B: L |
not(L) |
L |
not(L) |
|
C: M |
M |
not(M) |
M |
Test Case
|
4 |
|
|
|
test situation |
011 |
|
|
|
result |
TRUE |
|
|
|
determines outcome |
BC |
|
|
|
A: K |
not(K) |
|
|
|
B: L |
L |
|
|
|
C: M |
M |
|
|