You are on page 1of 9

Binary Logic

Binary Logic
• Binary logic consists of binary variables and a set of logical
operations.

• The variables are designated by letters of the alphabet, such


as A, B, C, x, y, z, etc., with each variable having two and only
two distinct possible values: 1 and 0.

• There three basic logical operations: AND, OR, and NOT.


Each operation produces a binary result, denoted by z.

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 2


Binary logic (cont’d…)

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 3


Binary logic (cont’d…)
• Binary logic resembles binary arithmetic, and the operations
AND and OR have similarities to multiplication and addition,
respectively.
• In fact, the symbols used for AND and OR are the same as
those used for multiplication and addition.

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 4


Binary logic (cont’d…)
• A “truth table” is a table of all possible combinations of the
variables, showing the relation between the values that the
variable may take and the result of the operation.
• Logic gates:
• Logic gates are electronic circuits that operate on one or more
input signals to produce an output signal.

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 5


Logic gates (contd.)

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 6


Logic gates (Contd.)

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 7


Universal Gate
• NAND and NOR Gates are called Universal Gates because
AND, OR and NOT gates can be implemented & created by
using these gates.

NAND Gate Implementations NOR Gate Implementations

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 8


Logic gates (Contd.)

[10/01/2019, IITBBS] | [Srinivas Boppu] | [SES] | [EC2L006] 9

You might also like