Chapter X Flashcards
What is the decimal equivalent of the binary number 1011_2?
A. 10
B. 11
C. 12
D. 13
B. 11
Which of the following is a self-complementing code?
A. 2 4 2 1
B. 8 4 2 1
C. Excess-3
D. 7 4 2 -1
C. Excess-3
In the 642−3 code, what is the decimal equivalent of
1010_2?
A. 3
B. 4
C. 7
D. 10
A. 3
Which operation is used to find the two’s complement of a binary number?
A. Flip the bits and subtract 1
B. Flip the bits and add 1
C. Reverse the bits
D. Subtract the number from 2^n
B. Flip the bits and add 1
What is the Excess-3 representation of the decimal number 5?
A. 1001
B. 0101
C. 0010
D. 0110
D. 0110
How do you convert the binary number 1010_2 to Gray Code?
A. 1011
B. 1111
C. 1110
D. 1100
D. 1100
Which property of Gray Code is useful in error correction?
A. Non-weighted property
B. Each code differs by one bit from its predecessor
C. It has an even parity bit
D. It is a self-complementing code
B. Each code differs by one bit from its predecessor
How many distinct Gray Code sequences can be generated for n=3?
A. 4
B. 6
C. 8
D. 16
C. 8
A parity bit is added to the binary number 1011_2. If even parity is used, what will the transmitted data be?
A. 10110
B. 10111
C. 01011
D. 11011
B. 10111
Which of the following detects an odd number of errors in transmitted data?
A. Two’s complement
B. Parity bit
C. Gray Code
D. Excess-3 Code
B. Parity bit
For a transmitted message 1101_2, an odd parity check is applied. What is the parity bit value?
A. 0
B. 1
C. 10
D. Cannot determine
A. 0
n the 7-bit Hamming code, how many parity bits are needed to detect and correct a single-bit error?
A. 2
B. 3
C. 4
D. 5
C. 4
What is the main purpose of the Hamming Code?
A. To encode weighted numbers
B. To add redundancy for error detection and correction
C. To compress data
D. To perform arithmetic operations
B. To add redundancy for error detection and correction