Exercise
https://texercises.com/exercise/half-adder-gate-from-xor-and-and/
Question
Solution
Short
Video
\(\LaTeX\)
No explanation / solution video to this exercise has yet been created.

Visit our YouTube-Channel to see solutions to other exercises.
Don't forget to subscribe to our channel, like the videos and leave comments!
Exercise:
A half-adder takes two singlbit inputs A and B and produces two outputs: A S which is the least significant bit of the result and a carry C which is the carry-out bit. The S is if A and B are different and if they are the same. The carry is if both A and B are and otherwise. Construct a half-adder circuit using only textttXOR and textttAND gates. Draw the circuit diagram for your half-adder.

Solution:
center circuitikzscale. % XOR gate for Sum draw nodexor port xor ; nodeanchoreast at xor.in A; nodeanchoreast at xor.in B; nodeanchorwest at xor.out S Sum; % AND gate for Carry draw - nodeand port and ; nodeanchoreast at and.in A; nodeanchoreast at and.in B; nodeanchorwest at and.out C Carry; circuitikz center array|c|c|c|c| hline textInput A & textInput B & textSum S & textCarry C hline & & & & & & & & & & & & hline array
Meta Information
\(\LaTeX\)-Code
Exercise:
A half-adder takes two singlbit inputs A and B and produces two outputs: A S which is the least significant bit of the result and a carry C which is the carry-out bit. The S is if A and B are different and if they are the same. The carry is if both A and B are and otherwise. Construct a half-adder circuit using only textttXOR and textttAND gates. Draw the circuit diagram for your half-adder.

Solution:
center circuitikzscale. % XOR gate for Sum draw nodexor port xor ; nodeanchoreast at xor.in A; nodeanchoreast at xor.in B; nodeanchorwest at xor.out S Sum; % AND gate for Carry draw - nodeand port and ; nodeanchoreast at and.in A; nodeanchoreast at and.in B; nodeanchorwest at and.out C Carry; circuitikz center array|c|c|c|c| hline textInput A & textInput B & textSum S & textCarry C hline & & & & & & & & & & & & hline array
Contained in these collections:

Attributes & Decorations
Tags
algebra, and, bool, bool'sche, chip, circuit, computer, digital, digitalelektronik, elektronik, gate, logik, logische, not, or, schaltelement, schaltung
Content image
Difficulty
(3, default)
Points
5 (default)
Language
ENG (English)
Type
Calculative / Quantity
Creator uz
Decoration
File
Link