Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Level/XOR Gate
From Turing Complete
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Header Nav|game=Turing Complete}} {{Infobox level | section = Basic Logic | type = Component | prerequisite1 = Second Tick | unlocks-level1 = Bigger OR Gate | unlocks-level2 = Bigger AND Gate | unlocks-component1 = XOR | unlocks-page1 = Truth tables | unlocks-page2 = Universal gates | unlocks-feature1 = Online profile | scored = Yes | highscore = 7 | api-enum-id = xor_gate | api-enum-number = 4 }} This level has you create the XOR Gate. It is like the OR gate except that it outputs false if both inputs are true. {{achievement |name=4 NAND = XOR |image=Turing Complete achievement 4 NAND = XOR.jpg |description=Complete the XOR level using ONLY 4 NAND gates and nothing else }} {| {{TruthTable}} |+ XOR Gate Truth Table |- ! Input 1 !! Input 2 !! Output |- | {{Off t}}|| {{Off t}}|| {{Off t}} |- | {{Off t}}|| {{On t}}|| {{On t}} |- | {{On t}}|| {{Off t}}|| {{On t}} |- | {{On t}}|| {{On t}}|| {{Off t}} |} The solution to this level requires more effort than just placing down a single NAND gate and some inverters. [[File:Turing Complete 4 NAND Xor.png]] The simplest solution, which is also required for the achievement, is to place four NAND gates. The first one has the input pins as the input, while the second and third have one of the input pins and the output of the first gate as the inputs. The final gate has the inputs hooked up to the second and third gate. {{Footer Nav|game=Turing Complete|prevpage=Second Tick|nextpage=Bigger OR Gate}}
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Table of Contents
(
view source
)
Template:-
(
edit
)
Template:Achievement
(
view source
)
Template:Component
(
edit
)
Template:Feature
(
edit
)
Template:Footer Nav
(
edit
)
Template:Header Nav
(
edit
)
Template:Ifnotempty
(
edit
)
Template:Infobox level
(
edit
)
Template:Level
(
edit
)
Template:Off t
(
edit
)
Template:On t
(
edit
)
Template:P1
(
edit
)
Template:P2
(
edit
)
Template:Page
(
edit
)
Template:TruthTable
(
view source
)
Template:Truthtable/styles.css
(
edit
)