Learnacy Lab
A logic gate combines one or two input bits into a single output bit by a fixed rule, and which rule you pick — AND, OR, NOT, XOR — is what makes one…