Table of Contents
What is the use of 2421 code?
The Aiken code (also known as 2421 code) is a complementary binary-coded decimal (BCD) code. A group of four bits is assigned to the decimal digits from 0 to 9 according to the following table.
What is the equivalent 2421 code?
Let us find the 2421 equivalent of the decimal number 786. This number has 3 decimal digits 7, 8 and 6. From the table, we can write the 2421 codes of 7, 8 and 6 are 1101, 1110 and 1100 respectively. Therefore, the 2421 equivalent of the decimal number 786 is 110111101100.
What is reflective code?
Reflective codes: A code is reflective when the code is self complementing. In other words, when the code for 9 is the complement the code for 0, 8 for 1, 7 for 2, 6 for 3 and 5 for 4. 2421BCD, 5421BCD and Excess-3 code are reflective codes.
Is 2421 a non weighted code?
The 8421 and Excess-3 codes are sequential, whereas the 2421 and 5211 codes are not. Non weighted codes are codes that are not positionally weighted. That is, each position within the binary number is not assigned a fixed value.
Is 2421 a self complementing code?
The 2421, the excess‐3 and the 84-2-1 codes are examples of self‐complementing codes. Such codes have the property that the 9’s complement of a decimal number is obtained directly by changing 1’s to 0’s and 0’s to 1’s (i.e., by complementing each bit in the pattern).
Why is 2421 not sequential code?
A decimal number is represented in 4-bit form and the total four bits weight is 2 + 4 + 2 + 1 = 9. Hence the 2421 code represents the decimal numbers from 0 to 9. This is a weighted code, its weights are 5, 2, 1 and 1.
What is the equivalent 2421 code for the following BCD 0111?
Example
Decimal No. | BCD (8421) | 2421 Code |
---|---|---|
5 | 0101 | 0101 |
6 | 0110 | 1100 |
7 | 0111 | 1101 |
8 | 1000 | 1110 |
Which is an example of reflective code?
Hence the 5211 code represents the decimal numbers from 0 to 9. A code is said to be reflective when code for 9 is complement for the code for 0, and so is for 8 and 1 codes, 7 and 2, 6 and 3, 5 and 4….
Decimal Number | Binary Code | Gray Code |
---|---|---|
1 | 0001 | 0001 |
2 | 0010 | 0011 |
3 | 0011 | 0010 |
4 | 0100 | 0110 |
What is reflective code give example?
Reflective codes A code is said to be reflective, if the code for any number is the complement of any another number. For example, the code for 9 is 1111, whereas the code for 0 is 0000. Since 1111 and 0000 are complement of each other, the number 9 and 0 are said to be reflective codes.
What is digital 3 excess electronics code?
The excess-3 code (or XS3) is a non-weighted code used to express code used to express decimal numbers. It is a self-complementary binary coded decimal (BCD) code and numerical system which has biased representation.
What is 9’s complement?
The 9’s complement is used to find the subtraction of the decimal numbers. The 9’s complement of a number is calculated by subtracting each digit of the number by 9. For this, we subtract each digit of the number 1423 by 9. So, the 9’s complement of the number 1423 is 9999-1423= 8576.