What is the signed decimal value of the 2’s complement binary number 1101?
A. -3
B. -5
C. -7
What is the main purpose of using 1’s complement representation?
A. To simplify binary multiplication
B. To represent signed binary numbers
C. To increase memory efficiency
What is the quotient of 110 divided by 10 in binary?
A. 11
B. 10
C. 01
What is the result of adding BCD numbers 0101 and 0110?
A. 1000
B. 1011
C. 0001 (carry 1)
In floating-point representation, the mantissa represents:
A. The sign of the number
B. The significant digits
C. The exponent value
What is the Gray code equivalent of binary 101?
A. 110
B. 111
C. 100
The minimum Hamming distance for error correction is:
A. 2
B. 3
C. 4
What is the binary equivalent of Gray code 110?
A. 101
B. 111
C. 100
How does 2’s complement representation differ from 1’s complement?
A. It adds an extra bit to the binary number
B. It flips all bits and adds 1
C. It uses only positive numbers
When subtracting signed numbers using 2’s complement, you:
A. Subtract directly
B. Add the complement of the second number
C. Flip all bits and subtract
To find the ten’s complement of a number, you:
A. Subtract it from 9
B. Add 1 to the nine’s complement
C. Subtract it from 10
What does “r” represent in r’s complement?
A. The radix or base of the number system
B. The number of digits
C. The remainder after subtraction
What is the product of 101 and 10 in binary?
A. 1110
B. 1010
C. 1000
When performing BCD addition, if the sum exceeds 9, you:
A. Add 6 to the sum
B. Subtract 6 from the sum
C. Flip all bits
Self-complementing codes have the property that:
A. The complement is equal to the original code
B. The complement can be obtained directly
C. They are used for division
An example of a self-complementing code is:
A. Excess-3
B. BCD
C. 8421
How is Gray code derived from binary?
A. By XORing each bit with the next higher bit
B. By flipping all bits
C. By adding 1 to each bit
What is the nine’s complement of the decimal number 456?
A. 543
B. 654
C. 999
What is the result of adding 2’s complement numbers 0110 and 1010?
A. 0000
B. 1000
C. 0100
The binary equivalent of Gray code 110 is:
A. 101
B. 111
C. 100
In the decimal system, (r-1)’s complement is equivalent to:
A. Nine’s complement
B. Ten’s complement
C. Eight’s complement
What does the most significant bit (MSB) in a signed binary number represent?
A. The parity bit
B. The sign of the number
C. The least significant digit
What is the nine’s complement of the decimal number 456?
A. 543
B. 654
C. 999
To convert Gray code to binary, you:
A. XOR each bit with the previous binary bit
B. Flip all bits
C. Add 1 to the Gray code
What is the main function of error-detecting codes?
A. To correct errors
B. To detect errors in data transmission
C. To compress data
What is the signed decimal value of the 2’s complement binary number 1101?
A. -3
B. -5
C. -7
The binary equivalent of Gray code 110 is:
A. 101
B. 111
C. 100
What is the main advantage of floating-point representation?
A. It supports large and small numbers
B. It is simpler than fixed-point representation
C. It uses fewer bits
What is the BCD representation of decimal 7?
A. 0111
B. 1010
C. 0011
Excess-3 addition is used to:
A. Simplify binary addition
B. Represent decimal digits
C. Correct errors in addition
Hamming code is used for:
A. Detecting errors
B. Correcting single-bit errors
C. Data compression
What is the main purpose of using 1’s complement representation?
A. To simplify binary multiplication
B. To represent signed binary numbers
C. To increase memory efficiency
What is the ten’s complement of a number, you:
A. Subtract it from 9
B. Add 1 to the nine’s complement
C. Subtract it from 10
Weighted codes are characterized by:
A. Each bit having a specific positional value
B. Bits representing parity
C. Equal weight for all bits
An example of an error-detecting code is:
A. Parity bit
B. Gray code
C. Floating-point
Binary multiplication is similar to:
A. Decimal addition
B. Repeated binary addition
C. Decimal subtraction
The quotient of 110 divided by 10 in binary?
A. 11
B. 10
C. 01
What is the Excess-3 representation of decimal 4?
A. 0111
B. 1000
C. 0101
What is the result of adding 2’s complement numbers 0110 and 1010?
A. 0000
B. 1000
C. 0100
An example of an alphanumeric code is:
A. ASCII
B. BCD
C. Gray code