What is Hardware?
It is a physical component that makes up a computer, that you can touch
What is Software?
Is any program that runs on a computer
Logic Gate AND
a:0 b:0 0
a:1 b:0 0 (same other way round)
a:1 b:1 1
Logic Gate OR
a:0 b:0 0
a: 1 b:0 1 (same other way round)
a: 1 b:1 1
Logic Gate NOT
a: 0 1
a: 1 0
Logic Gate XOR
xor gate represents the exclusive or gate when one input is 1 and another is 0 result is one but if both inputs are 1 then result is 0