The Gateway to Computer Science Excellence

+9 votes

Best answer

The Excess-3(XS3) code for a given decimal number is determined by adding '3' to each decimal digit in the given number and then replacing each digit of the newly found decimal number by its four bit binary equivalent. The table gives is the Excess-3 code. For example, XS3 code of 24 is obtained as

2 4

+3 +3

5 7

0101 0111

Thus, XS3 code of 24 is 0101 0111.

The key feature of the Excess-3 code is .that it is self complementing. In other words, the 1's complement of an Excess- 3 number is the Excess- 3 code for the 9's complement of the corresponding decimal number.

For example, the Excess- 3 code for decimal 6 is 1001. The 1's complement of 1001 is 0110, which is the Excess-3 code for decimal 3, and 3 is the 9's complement of 6. This property of Excess-3 code makes it useful in some arithmetic operations.

Hence,Option**(C)Self-complimenting Code **is the correct choice.

0 votes

Excess-3 code = BCD(1248) + 0011

After this we see that BCD(1248) is not Self Complementing code BUT Excess-3 code is Self Complementing code as well as Sequential code also.

Hence ans is (C) Self-Complementing Code

After this we see that BCD(1248) is not Self Complementing code BUT Excess-3 code is Self Complementing code as well as Sequential code also.

Hence ans is (C) Self-Complementing Code

0 votes

Excess-3 Code is also called

- XS-3 code
- Self-complimenting code

**Option C**

It is also non-weighted code, ie, the bit position doesn't play a role in determining the value. Other non-weighted codes: Gray Code.

Gray code is also called Reflected binary code, and it's considered a minimum error code.

- All categories
- General Aptitude 1.9k
- Engineering Mathematics 7.5k
- Digital Logic 2.9k
- Programming and DS 4.9k
- Algorithms 4.3k
- Theory of Computation 6.2k
- Compiler Design 2.1k
- Databases 4.1k
- CO and Architecture 3.4k
- Computer Networks 4.1k
- Non GATE 1.5k
- Others 1.5k
- Admissions 595
- Exam Queries 576
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 17

50,644 questions

56,523 answers

195,607 comments

101,286 users