Skip to main content

Data Communication MCQs with Answers

Practice important Data Communication MCQs with answers and explanations.

Chapter: 143
Q2041:
Fill in the blank: A simple parity-check code adds _______ to the data bits.
A. a block code
B. an extra parity bit
C. a redundancy bit
D. a cyclic bit
Correct Answer: B
Chapter: 143
Q2042:
The code C(5, 4) has how many parity bits?
A. 1
B. 2
C. 3
D. 4
Correct Answer: A
Chapter: 143
Q2043:
What is the minimum number of bits required for a simple parity-check code to encode 4-bit data?
A. 4
B. 5
C. 6
D. 7
Correct Answer: B
Chapter: 143
Q2044:
The encoder in a simple parity-check system is responsible for _______.
A. decoding the codeword
B. detecting errors
C. adding the parity bit
D. correcting errors
Correct Answer: C
Chapter: 143
Q2045:
The decoder in a simple parity-check system checks _______.
A. the validity of the parity bit
B. how many 0s are in the message
C. the encryption level of the code
D. the length of the dataword
Correct Answer: A
Chapter: 143
Q2046:
Fill in the blank: In a linear block code, the codeword length n equals the number of data bits k plus _______.
A. the number of zeros
B. a parity bit
C. an XOR function
D. decoder logic
Correct Answer: B
Chapter: 143
Q2047:
What is the main function of a simple parity-check code?
A. To encrypt messages
B. To correct errors in codewords
C. To detect single-bit errors
D. To compress data
Correct Answer: C
Chapter: 143
Q2048:
Which of the following conditions makes a codeword valid in a parity-check code?
A. It has an odd number of 1s
B. It contains only 0s
C. It has an even number of 1s
D. It is divisible by 3
Correct Answer: C
Chapter: 143
Q2049:
What will be the codeword in C(5, 4) if the data is 1101 and even parity is used?
A. 11010
B. 11011
C. 11012
D. 10101
Correct Answer: A
Chapter: 143
Q2050:
Fill in the blank: The extra bit added to the data bits in a parity-check code is known as the _______.
A. error bit
B. control bit
C. parity bit
D. padding bit
Correct Answer: C
Chapter: 143
Q2051:
How many valid codewords are there in a simple parity-check code C(5, 4)?
A. 4
B. 8
C. 16
D. 32
Correct Answer: C
Chapter: 143
Q2052:
What happens if the total number of 1s in a codeword is odd in a system using even parity?
A. The codeword is accepted
B. The codeword is rejected
C. An error is detected
D. The codeword is decrypted
Correct Answer: C
Chapter: 143
Q2053:
Which tool is responsible for adding the parity bit during encoding?
A. Decoder
B. Encoder
C. Parity calculator
D. Error corrector
Correct Answer: B
Chapter: 143
Q2054:
In a parity-check code, what is the role of the decoder?
A. Add parity bits
B. Check if the codeword is valid
C. Convert data to binary
D. Reverse the data sequence
Correct Answer: B
Chapter: 143
Q2055:
The use of even parity in simple parity-check codes means that _______.
A. The total number of 1s should be odd
B. The total number of 0s should be odd
C. The total number of 1s should be even
D. The total number of 0s should be even
Correct Answer: C
Chapter: 143
Q2056:
Fill in the blank: The C(5, 4) parity-check code is designed to detect _______ error.
A. no
B. single-bit
C. multiple-bit
D. irreversible
Correct Answer: B
Chapter: 144
Q2057:
What is the unique property of special linear block codes?
A. They are encrypted with private keys
B. They use double parity
C. They allow cyclic shifts of codewords
D. They eliminate all errors
Correct Answer: C
Chapter: 144
Q2058:
What happens when a codeword in a cyclic code is left-shifted?
A. It becomes invalid
B. It becomes another codeword
C. It is shortened by one bit
D. It becomes random
Correct Answer: B
Chapter: 144
Q2059:
Fill in the blank: A linear block code is considered cyclic if a _______ of any codeword results in another valid codeword.
A. bit-flip
B. rotation
C. removal
D. addition
Correct Answer: B
Chapter: 144
Q2060:
Which of the following is a valid property of a cyclic code?
A. Parity of codewords changes
B. Codewords must be of variable length
C. Cyclic shift results in another valid codeword
D. Codes are encrypted
Correct Answer: C

Test Your Knowledge

Take a timed quiz on Data Communication

🚀 Start Quiz Now