All Exams Test series for 1 year @ ₹349 only
Question

Excess - 3 - code is also known as

The correct answer is

Self-complementing code

Excess-3 Code Explained

The Excess-3 code is a non-weighted binary-coded decimal (BCD) code. This means that unlike standard binary or weighted BCD codes (like 8-4-2-1 BCD), each bit position in an Excess-3 digit does not represent a specific power of two or a fixed weight. Instead, it is formed by adding decimal 3 (or binary 0011) to each 4-bit BCD digit.

For instance, to find the Excess-3 code for the decimal digit 0:

  • Decimal 0 in BCD is 0000.
  • Add binary 0011 to 0000: $0000 + 0011 = 0011$. So, 0011 is the Excess-3 code for 0.

Similarly, for decimal 1, its BCD is 0001. Adding 0011 to it gives $0001 + 0011 = 0100$, which is the Excess-3 code for 1.

Self-Complementing Property of Excess-3 Code

The Excess-3 code possesses a very important characteristic: it is a self-complementing code. This property is why it is frequently referred to by this name. A code is considered self-complementing if the 9's complement of a decimal digit can be directly obtained by performing a 1's complement (bit inversion) operation on its Excess-3 representation.

This unique feature is highly beneficial in digital circuit design, particularly for simplifying subtraction operations, as it eliminates the need for separate circuits to calculate the 9's complement.

Self-Complementing Property Demonstration for Excess-3 Code
Decimal Digit Excess-3 Code 1's Complement of Excess-3 Code Decimal Value Represented by 1's Complement (Excess-3) 9's Complement of Original Decimal Digit
0 0011 1100 9 9
1 0100 1011 8 8
2 0101 1010 7 7
3 0110 1001 6 6
4 0111 1000 5 5
5 1000 0111 4 4
6 1001 0110 3 3
7 1010 0101 2 2
8 1011 0100 1 1
9 1100 0011 0 0

As illustrated in the table, for any decimal digit, taking the 1's complement (inverting all bits) of its Excess-3 representation directly yields another Excess-3 code. When this new Excess-3 code is converted back to its decimal equivalent (by subtracting 0011), it precisely matches the 9's complement of the original decimal digit. For example, for decimal 2, Excess-3 is 0101. Its 1's complement is 1010. Interpreting 1010 as an Excess-3 code, we subtract 0011: $1010 - 0011 = 0111$, which is decimal 7. The 9's complement of 2 is indeed 7. This direct relationship is what defines the self-complementing property.

Analyzing Other Code Types

  • Weighted code: A weighted code assigns a specific weight to each bit position. The decimal value is found by summing the products of each bit and its corresponding weight. Common weighted codes include 8-4-2-1 BCD, 2421 code, etc. The Excess-3 code does not follow a fixed weighting system.
  • Cyclic redundancy code (CRC): CRC is an error-detecting code widely used in digital networks and storage. It's designed to detect accidental changes to raw data and is based on polynomial division over a finite field. It is not a code for representing decimal numbers.
  • Algebraic code: This is a broad class of codes used in coding theory, primarily for error detection and correction. These codes are built upon algebraic structures, such as finite fields. While CRC is an example of an algebraic code, the term "algebraic code" itself does not describe the specific nature of Excess-3 code's decimal representation or its self-complementing property.

Given these definitions, the correct term for Excess-3 code based on its unique property is "Self-complementing code."

Was this answer helpful?

Important Questions from Number System

  1. Consider the following statements :

    1. (25)! + 1 is divisible by 26

    2. (6)! + 1 is divisible by 7

    Which of the above statements is/are correct ?

  2. If the sum S is divided by 8, what is the remainder ?  

  3. If the sum S is divided by 60, what is the remainder ?

  4. Find the sum of squares of the greatest value and the smallest value of K in the number so that the number 45082K is divisible by 3.

  5. How many composite numbers are there from 53 to 97 ?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App