Builders· 4-bit
A logic gate applies one simple rule to its input bits. A truth table lists everything it can do.
You already use logic every day:
A logic gate is a tiny circuit that makes exactly this kind of decision with bits: 1 means true, 0 means false.