**(i) ****No. of inputs and outputs**

Number of inputs = 4

Number of outputs = 5

**(ii) ****Assigning letter symbols**

Symbols of inputs – B_{4}, B_{3}, B_{2}, B_{1}

Symbols of outputs – A, B, C, D, E Continue reading

Know Electronics

Reply

**(i) ****No. of inputs and outputs**

Number of inputs = 4

Number of outputs = 5

**(ii) ****Assigning letter symbols**

Symbols of inputs – B_{4}, B_{3}, B_{2}, B_{1}

Symbols of outputs – A, B, C, D, E Continue reading

**Binary to gray code**

- First, write the binary code and copy down MSB. The MSB of gray and binary code are same.
- Then, add MSB and next lower significant bit and write down the addition of them.
- Continue the same process for all bits.

**Binary addition**

****Some **rules** to know before we move to **binary addition**.

0 + 0 = 0

0 + 1 = 1

1 + 0 = 1

Conversion of decimal to any number system of any base is a generalized method.

Letâ€™s directly move on to conversions.

**Decimal to binary**

All we have to do is just **divide the number by 2** and** write** the** remainder in adjacent column**. Then, **write** all the **remainder from bottom to top**. Thatâ€™s it, it is the answer.Â Isn’tÂ that simple?

**Binary to decimal**

It is sum of product of the coefficient and corresponding power of 2.

E.g. **(11101.001) _{2 }to decimal **

=1 x 2^{4} + 1 x 2^{3} + 1 x 2^{2} + 0 x 2^{1} +1 x 2^{0} + 0 x 2^{-1} + 0 x 2^{-2} + 1 x 2^{-3}

= 16 + 8 + 5 +0.125 Continue reading