Wahrheitstabellen: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=AND= {| class="wikitable" |- ! scope="col"| Gegenstand ! scope="col"| Menge ! scope="col"| Kosten |- ! scope="row"| Brot | 0.3 kg | $0.65 |- ! scope="row"| Bu…“)
 
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! scope="col"| Gegenstand
+
! scope="col"| E1
! scope="col"| Menge
+
! scope="col"| E2
! scope="col"| Kosten
+
! scope="col"| A
 
|-
 
|-
! scope="row"| Brot
+
|0
| 0.3 kg
+
|0  
| $0.65
+
|0  
 
|-
 
|-
! scope="row"| Butter
+
|0
| 0.125 kg
+
|1
| $1.25
+
|0
 
|-
 
|-
! scope="row" colspan="2"| Total
+
|1
| $1.90
+
|0
 +
|0
 +
|-
 +
|1
 +
|1
 +
|1
 +
|}
 +
 
 +
=OR=
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| E1
 +
! scope="col"| E2
 +
! scope="col"| A
 +
|-
 +
|0
 +
|0
 +
|0
 +
|-
 +
|1
 +
|0
 +
|1
 +
|-
 +
|0
 +
|1
 +
|1
 +
|-
 +
|1  
 +
|1
 +
|1
 +
|}
 +
=XOR=
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| E1
 +
! scope="col"| E2
 +
! scope="col"| A
 +
|-
 +
|0
 +
|0
 +
|0
 +
|-
 +
|1
 +
|0
 +
|1
 +
|-
 +
|0
 +
|1
 +
|1
 +
|-
 +
|1
 +
|1
 +
|0
 +
|}
 +
=Ones complement=
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| E1
 +
! scope="col"| A
 +
|-
 +
|0
 +
|1
 +
|-
 +
|1
 +
|0
 
|}
 
|}

Aktuelle Version vom 7. Februar 2020, 08:33 Uhr

AND

E1 E2 A
0 0 0
0 1 0
1 0 0
1 1 1

OR

E1 E2 A
0 0 0
1 0 1
0 1 1
1 1 1

XOR

E1 E2 A
0 0 0
1 0 1
0 1 1
1 1 0

Ones complement

E1 A
0 1
1 0