teach-ict.com logo

THE education site for computer science and ICT

3. AND

The second logic gate is AND. AND takes two inputs, and the rule it follows can be described in English as:

"If both inputs are true (1), the output is also true (1). Otherwise, the output is false (0)"

 

The truth table for the AND gate needs to describe every possible input. That is, when both inputs are 1, when one of them is 1 and one is 0, and when both are 0. See below:

Input A Input B Output
0 0 0
0 1 0
1 0 0
1 1 1

The only time that AND outputs 1 is when both A and B are 1.

 

Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: What is an AND logic gate?