Logic Gates

?

And Gate

AND gate: result is true if both inputs are true

Q = A.B

(http://www.bbc.co.uk/schools/gcsebitesize/design/images/el_and_gate.gif)

A   B   Q

0   0   0

0   1   0

1   0   0

1   1   1

1 of 9

Or Gate

OR gate: result is true if either input is true

Q = A + B

(http://www.bbc.co.uk/schools/gcsebitesize/design/images/el_or_gate.gif)

A   B   Q

0   0   0

0   1   1

1   0   1

1   1   1

2 of 9

Not Gate

NOT gate: inverts the result so true becomes false and false becomes true

Q = NOT A or Ā

A   Q

0   1

1   0

3 of 9

Nand Gate

NAND gate: result is true if any of the inputs are false

Q = ¯ (A.B) <- Line above part in brackets

A   B   Out

0   0   1

0   1   1

1   0   1

1   1   0

4 of 9

Nor Gate

NOR gate: result is true if both inputs are false

Q = ¯ (A+B)

A   B   Q

0   0   1

0   1   0

1   0   0

1   1   0

5 of 9

Xor Gate

XOR gate: result is true if either input is true but not if both inputs are true(http://911ransomware.com/wp-content/uploads/2017/02/maxresdefault.jpg)

Q = A⊕B

A   B   Q

0   0   0

0   1   1

1   0   1

1   1   0

6 of 9

Half Adder

To add together binary numbers, electronic circuits called adders are used- found in Arithmetic Logic Unit in CPU

 (S = Sum, C = Carry Bit)

Inputs       Outputs

A   B         C   S

0   0          0   0

1   0          0   1

0   1          0   1

1   1          0   0

7 of 9

Full Adder

(http://www.play-hookey.com/digital/combinational/images/faddr000.gif)

Inputs               Outputs

A   B   Cin         S   Cout

0   0   0            0   0

1   0   0            1   0

0   1   0            1   0

1   1   0            0   1

0   0   1            1   0

1   0   1            0   1

0   1   1            0   1

1   1   1            1   1

8 of 9

Boolean Logic Expressions

1) A.1 = A

2) B + 1 = 1

3) A + Ā = 1

4) A.Ā = 0

5) A.0 = 0

6) A + 0 = A

7) A + A + A + A + A = A

8) A.A.A.A.A = A

9) A.B + A.B + A.B = A.B

10) A.A.A.A.Ā = 1

11) A + A + A + Ā + A = 0

9 of 9

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Logic Gates resources »