Professional Documents
Culture Documents
Very important
Add result of step 1 with ‘X’ Add result of step 1 with ‘X’
If there is extra bit, remove that extra bit and add on its
If there is extra bit, remove that extra bit.
remaining bit.
If there is no extra bit, find 1's Complement of result in If there is no extra bit, find 2's Complement of result
step 2 and add (-)ve sign. step 2 and add (-)ve sign.
Since, there is no extra bit i.e. 4 digits added with 4 digits and gives 4 digits
result
Calculating 1's complement of (1110)2 we get (0001)2 and putting (-)ve sign
Since, there is no extra bit i.e. 4 digits added with 4 digits and gives 4 digits
result
Since, there is extra bit i.e. 5 digits added with 5 digits and gives 6 digits
result
Since, there is extra bit i.e. 5 digits added with 5 digits and gives 6 digits
result
Boolean Algebra is algebra of logic, which deals with the study of binary
variables and logical operation. As every data are represented in terms binary
values, we need to manipulate those values by using some certain rules and
expression which we can do through Boolean algebra. It is most common and
basic method to analysis and design logic circuit. It was introduced by an
English mathematician George Boole. In Boolean algebra the variables can
have only one of the two possible value 0 and1 (False or True). Every modern
digital computers understand either this two values.
Boolean variable: Those entities which has either or 0 and 1 and denote some
specific operation ore known as boolean variable. Simply, it is an entity in
Boolean algebra which has only either of the two possible values. This
variable are denoted by A, B, P, Q, X, Y, Z….
let us consider,
F = XYZ’+XY
Operators are the symbols that define the specific operation. These are three
basic operators used in Boolean Algebra, ie. AND, OR, NOT. Every other
operations can be expressed in terms of this basic operation. For examples,
NOR operator is the combination of NOT and OR operators. The three basic
operators are:
A B Y = A.B
0 0 0
0 1 0
1 0 0
1 1 1
b. OR Operator: OR operator is represented by “+” So, A OR B is represented
by (A+B) . The result of the OR operation is exactly same as simple
arithmetic addition. That means result will be low (0) if and only both the
inputs are low. Note: A OR B can also represented bu AvB or AuB. Truth
table of AND operation is given below
A B Y = A+B
0 0 0
0 1 1
1 0 1
1 1 1
A A'
0 1
1 0
Logic Gate
a. AND gate: AND Gate is an electronic Circuit which produce high output
(1) only when both the inputs are high. The output is same as the result
of basic arithmetic multiplication. This gate may have more than two
inputs and produce a single output. Graphically AND gate is
represented as
AND gate is denoted by “ . ” So, output is expressed algebraically as, Y = A.B
A B Y = A.B
0 0 0
0 1 0
1 0 0
1 1 1
A B Y = A+B
0 0 0
0 1 1
1 0 1
1 1 1
A A'
0 1
1 0
d. NAND Gate: NAND gate is a derived gate, derived from NOT and AND
gate. This gate reciprocal the output obtain from the AND gate. That means it
will produce low-0 output when both the inputs are high-1 and produce high-1
output when any one of the input is low-0. These gate also may have two or
more than two and a single output.
A B A.B y=(A.B)'
0 0 0 1
0 1 0 1
1 0 0 1
1 1 1 0
e. NOR gate: NOR gate is a derived gate derived from the combination of OR
gate and NOT gate. This gate reciprocal the output obtain from the OR gate.
That means NOR gate will produce high-1 logic when both the inputs are low-
0 and produce low output-0 in all possible combination of 0 and 1. These gate
also may have two or more than two input at a single output.
A B A+B Y = (A+B)'
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
0 0 1 1 0 0 0
0 1 1 0 1 0 1
1 0 0 1 0 1 1
1 1 0 0 0 0 0
0 0 1 1 0 1 1
0 1 1 0 0 0 0
1 0 0 1 0 0 0
1 1 0 0 1 0 1
De-Morgan's Theorem
First Theorem: The De-Morgan's first theorem states that, “The complement of
a sum equals to the product of its complement.”
Graphical symbol
Proof:
0 0 0 1 1 1 1
0 1 1 0 1 0 0
1 0 1 0 0 1 0
1 1 1 0 0 0 0
Graphical symbol
Proof:
0 0 0 1 1 1 1
0 1 0 1 1 0 1
1 0 0 1 0 1 1
1 1 1 0 0 0 0