Computer Science, asked by bhagavathym2, 8 months ago

List the difference between Binary and BCD adder with 2 examples

Answers

Answered by rama7644
0

Answer:

jsskufjodj4lihekdjehrodrn

Answered by 5025388p
2

Explanation:

Binary Codes:-

A binary code is basically used for representation of the binary bits 0 and 1 which are used as group of binary digits and are used for processing computer instructions and data,text and string representation,pulse code modulation in communicating across the channels,short and long distance over telephones.

A binary code can be generally classified as numeric code and alphanumeric code.Alphanumeric code contains alphabets and decimal numbers as a sequence of 0 and 1.Numeric codes only represent information in the form of 0 and 1.

For example 1:-

00010110110 is a representation of a binary number.

BCD codes:-

BCD stands for binary coded decimal in which the digits of a decimal number are encoded and are grouped into four binary digits one at a time.Its mainly used for accurate representation of decimal number and it's conversion to and fro with other number system.But the disadvantage is that arithmetic circuits to design it is complex and storage capacity is less.

The BCD can be categorised as either weighted and non weighted code.Weighted code is again further classified as positive or negative weighted code.

The positive weighted codes are 8421,2421,5211,4311 and negative weighted codes are 642–3, 631–1, 74–2–1.

To represent BCD code in the form 0 to 9 specific rules are applied.For example in a particular addition of BCD of 2 number if the result is larger than 9 it is treated as illegal code and extra 6(0110) is added to it to correct the result.

For example 8 + 5 in binary is 13. So it is a illegal code and extra 6 needs to be added to it.

The BIOS and computers are one of the prime application where BCD data are stored.

Similar questions