Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

i.

XOR AND XNOR


ii. BINARY FRACTION
TO DECIMAL AND
VICE-VERSA
CALCUTTA INSTITUTE OF TECHNOLOGY

PRESENTED BY : AFRIDE LASKAR

17700121015

211770100110005
XOR gate
Defination
XOR gate is a digital logic gate that gives a true output when
the number of true inputs is odd. An XOR gate implements an
exclusive or from mathematical logic; that is, a true output results
if one, and only one, of the inputs to the gate is true. If both inputs
are false or both are true, a false output results.

2
XOR gate – Exclusive OR

3
XNOR gate
Defination
The XNOR gate is a digital logic gate whose function is
the logical complement of the Exclusive OR gate. It is
equivalent to the logical connective from mathematical
logic, also known as the material biconditional.

4
XNOR gate – Exclusive NOR

5
Conversion of Binary to Decimal.
To convert binary to decimal follow this steps :

1. Multiply each binary number with 2 having the power


0 for last position , starting from right digit.

2. Increase the power one by one , with base as 2.

3. Sum up all the products to get decimal number .


Example

What is the decimal number of binary number 11001 ?

= So the binary number is 25(base 10).


Conversion of Decimal to Binary
To convert decimal to Binary follow this steps :

1. Divide the given decimal number with the base 2.

2. Write down the reminder and divide the quotient by


2.

3. Repeat step 2 till the quotient is zero.


Example

What is the binary number of decimal number 25 ?

= So the binary number of 25 is 11001.

You might also like