Professional Documents
Culture Documents
Logika Informatika2
Logika Informatika2
p ~p p q p^q pq p q p q
T F T T T T T T
F T T F F T F F
F T F T T F
F F F F T T
If p then q else r
T
T
F
F
T
F
T
F
Truth Table
for a Statement Form
Ex: Truth table for ~ p ( p q)
p q ~p p q ~ p ( p q)
T T F T F
T F F T F
F T T T T
F F T F F
6
Tentukan nilai kebenaran (truth value) dari
sentence berikut, dengan menggunakan truth
table :
a. F: (f and g) if and only if (g and g)
b. G: if (if p then q) then q
c. H: ((p or q) and not r) if and only if (if
p then r) and (if q then r)
THANK YOU