Practical Test 20 %: School of Computer Science Degree Programme
Practical Test 20 %: School of Computer Science Degree Programme
Practical Test 20 %: School of Computer Science Degree Programme
DEGREE PROGRAMME
PRACTICAL TEST 20 %
d)
A B X
0 0 0
0 1 1
1 0 1
1 1 0
PART B:
Demonstrating in Tinkercad :
PART C
a)
Truth table :
A B C X
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Circuit diagram:
Demonstrating in Tinkercad :
Figure 1: Part C (a)
b)
Truth table:
A B C X
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
Circuit diagram:
Demonstrating in Tinkercad :
The adder works by joining the tasks of essential rationale entryways, with the
easiest structure utilizing just a XOR and an AND door. This can likewise be changed
over into a circuit that just has AND, OR and NOT entryways. This is particularly
valuable since these three easier rationale door ICs (coordinated circuits) are more
normal and accessible than the XOR IC, however this could bring about a greater
circuit since three unique chips are utilized rather than only one.
• Can produce an incorrect output for some inputs: If both inputs to the half
adder are 1, the output of the sum bit will be 0, and the carry bit will be 1.
This is an incorrect output because the sum of two 1s should be 10 in binary
notation.
• Cannot handle carry-in: A half adder does not have a carry-in input. It can
only produce a carry-out bit if both inputs are 1.
In summary, the output of a half adder gives data about the result of adding two
single parallel digits, and whether a carry will be required for the following
option.