Chapter X Flashcards

1
Q

What is the decimal equivalent of the binary number 1011_2?
A. 10
B. 11
C. 12
D. 13

A

B. 11

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

C. Excess-3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In the 642−3 code, what is the decimal equivalent of
1010_2?

A. 3
B. 4
C. 7
D. 10

A

A. 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

B. Flip the bits and add 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Excess-3 representation of the decimal number 5?

A. 1001
B. 0101
C. 0010
D. 0110

A

D. 0110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you convert the binary number 1010_2 to Gray Code?

A. 1011
B. 1111
C. 1110
D. 1100

A

D. 1100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

B. Each code differs by one bit from its predecessor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many distinct Gray Code sequences can be generated for n=3?

A. 4
B. 6
C. 8
D. 16

A

C. 8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

B. 10111

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

A

B. Parity bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

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

A. 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

C. 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

B. To add redundancy for error detection and correction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly