Hardware
Computer Logic - Example


Below shows a half adder circuit. Click on the input buttons to switch between states 0 and 1. Try and predict the output.
AB CD
00
01
10
11
00
10
10
01
Truth Table
* Column C is the sum and D is the carry
Click on the inputs to see how changing their logic state affects the output. All the possibilities are shown in the table called a 'Truth Table'.