The Excess-3 decimal code is a self-complementing code because
Complement can be generated by inverting each bit pattern.
A decimal code is self-complementing when the code word of the 9’s complement of a digit (that is, of \(9 - d\)) is obtained simply by inverting every bit of the code word of d.
In Excess-3, each digit d is coded as the 4-bit binary of \(d + 3\). For example, 2 is 0101 and its 9’s complement 7 is 1010, which is exactly 0101 with every bit inverted; similarly 0 is 0011 and 9 is 1100.
This works because \((d + 3) + (9 - d + 3) = 15 = 1111_2\), so the two code words always add to 1111 and are bitwise complements of each other.
The binary sum of a code word and that of its 9’s complement is 1111 (15), not 9, and nothing relates the 10’s complement in this way. Excess-3 is also not a weighted code, since no fixed position weights produce it.
Hence, the answer is Complement can be generated by inverting each bit pattern..
The character set used in Windows 2000 operating system is __________.
The equivalent hexadecimal notation for octal number 2550276 is :
Which of the following statement(s) is (are) not correct ?
i. The 2’s complement of 0 is 0.
ii. In 2’s complement, the left most bit cannot be used to express a quantity.
iii. For an n-bit word (2’s complement) which includes the sign bit, there are \(2^{n-1}\) positive integers, \(2^{n+1}\) negative integers and one 0 for a total of \(2^{n}\) unique states.
iv. In 2’s complement the significant information is contained in the 1’s of positive numbers and 0’s of the negative numbers.
Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow?
In 16-bit 2’s Complementation representation, the decimal number 28 is
Consider the given number (45)y where y is the base of the number. Some of the possible values of y are given below.
(A) 5
(B) 6
(C) 7
(D) 8
Choose the correct answer from the options given below :
Match the LIST-I with LIST-II
| LIST-I | LIST-II |
|---|---|
| A. (100110011)2 | I. Error detection code |
| B. Complements | II. CISC |
| C. Parity Bits | III. Negative number |
| D. Variable length instruction | IV. (133)16 |
Choose the correct answer from the options given below:
If X is a binary number which is power of 2, then the value of
X & (X – 1) is :
The hexadecimal equivalent of the octal number 2357 is :
Convert the octal number 0.4051 into its equivalent decimal number.
What is the full form of EBCDIC?
The 2's complement representation of the number (-100)10 in an 8 bit computer is
Consider the values A = 2.0 × 1030, B = -2.0 × 1030 C = 1.0. Assume, that the floating point numbers are represented with 32 bits. What are the values of X and Y, when the following sequence of operations are executed on a computer?
X = A + B
Y = A + C
X = X + C
Y = Y + B