Level/NAND Gate: Difference between revisions

From Turing Complete
m (Gelthor moved page Turing Complete/NAND Gate to Level/NAND Gate without leaving a redirect)
(Added infobox)
Line 1: Line 1:
{{Header Nav|game=Turing Complete}}
{{Header Nav|game=Turing Complete}}
{{Infobox level
| section            = Basic Logic
| type                = Component
| prerequisite1      = Crude Awakening
| unlocks-level1      = NOT Gate
| unlocks-component1  = NAND
}}


Time for the first level with an actual logic gate. This level asks you to figure out the behavior of the NAND gate.
Time for the first level with an actual logic gate. This level asks you to figure out the behavior of the NAND gate.


{| {{Prettytable}}
{| {{Truthtable}}
|+ NAND Gate Truth Table
|+ NAND Gate Truth Table
|-
|-
! Input One !! Input Two !! Output
! Input One !! Input Two !! Output
|-
|-
| {{No}}|| {{No}}|| {{Yes}}
| {{Off}}|| {{Off}}|| {{On}}
|-
|-
| {{No}}|| {{Yes}}|| {{Yes}}
| {{Off}}|| {{On}}|| {{On}}
|-
|-
| {{Yes}}|| {{No}}|| {{Yes}}
| {{On}}|| {{Off}}|| {{On}}
|-
|-
| {{Yes}}|| {{Yes}}|| {{No}}
| {{On}}|| {{On}}|| {{Off}}
|}
|}


As the truth table shows, a NAND gate returns true unless both inputs are true, then it returns false. so set the result accordingly and press the verify button.
As the truth table shows, a NAND gate returns true unless both inputs are true, then it returns false. So set the result accordingly and press the verify button.


{{Footer Nav|game=Turing Complete|prevpage=Crude Awakening|nextpage=NOT Gate}}
{{Footer Nav|game=Turing Complete|prevpage=Crude Awakening|nextpage=NOT Gate}}

Revision as of 01:38, 15 November 2023

Section Basic Logic
Type Component
Prerequisite Crude Awakening
Unlocks NOT Gate
NAND
Scored No
API {{{api-enum-id}}} ({{{api-enum-number}}})

Time for the first level with an actual logic gate. This level asks you to figure out the behavior of the NAND gate.

NAND Gate Truth Table
Input One Input Two Output

As the truth table shows, a NAND gate returns true unless both inputs are true, then it returns false. So set the result accordingly and press the verify button.