Computer Networks MCQs with Answers
Practice important Computer Networks MCQs with answers and explanations.
Chapter: 5
Q161:
In odd parity, the total number of 1’s in the data should be ________.
A. Even
B. Odd
C. Prime
D. Negative
Correct Answer:
B
Chapter: 5
Q162:
A parity bit is added to ensure ________.
A. Security
B. Encryption
C. Correct parity
D. Compression
Correct Answer:
C
Chapter: 5
Q163:
What is the main limitation of parity checking?
A. It increases file size
B. It cannot detect even-bit errors
C. It is slow
D. It uses complex math
Correct Answer:
B
Chapter: 5
Q164:
Parity checking usually detects ________.
A. All errors
B. Two-bit errors
C. One-bit errors
D. No errors
Correct Answer:
C
Chapter: 5
Q165:
What does checksum use to detect errors?
A. Bitwise XOR
B. Multiplication
C. Arithmetic sum of integers
D. Subtraction
Correct Answer:
C
Chapter: 5
Q166:
Which of the following is TRUE about checksum?
A. It can detect all errors
B. It is complex
C. It uses only addition
D. It is hardware-based
Correct Answer:
C
Chapter: 5
Q167:
Checksum errors are detected when ________.
A. The received checksum matches the original
B. The checksums are different
C. The receiver fails
D. The message is lost
Correct Answer:
B
Chapter: 5
Q168:
What is the limitation of checksum?
A. Can detect only burst errors
B. Cannot detect any errors
C. Cannot detect all errors
D. Too slow for real-time use
Correct Answer:
C
Chapter: 5
Q169:
What is the full form of CRC?
A. Cyclic Repeat Check
B. Cyclic Redundancy Check
C. Cyclic Redundant Code
D. Circuit Relay Code
Correct Answer:
B
Chapter: 5
Q170:
CRC allows error detection by treating data as ________.
A. Text
B. Characters
C. Polynomials
D. Packets
Correct Answer:
C
Chapter: 5
Q171:
What is transmitted along with data in CRC?
A. Encryption key
B. Original data
C. Acknowledgement
D. Remainder of polynomial division
Correct Answer:
D
Chapter: 5
Q172:
CRC uses which two hardware components?
A. Memory and ALU
B. Shift register and XOR unit
C. Cache and RAM
D. Register and Adder
Correct Answer:
B
Chapter: 5
Q173:
The function of a shift register includes ________.
A. Multiplying bits
B. Shuffling bits
C. Adding bits
D. Initializing and shifting bits
Correct Answer:
D
Chapter: 5
Q174:
The XOR unit is primarily used in ________.
A. Compression
B. Encryption
C. Parity checking
D. CRC
Correct Answer:
D
Chapter: 5
Q175:
What is one advantage of CRC?
A. It is complex
B. It is hard to implement
C. It is easy to implement in hardware
D. It slows down communication
Correct Answer:
C
Chapter: 5
Q176:
Transmission errors may be caused by ________.
A. Strong signals
B. Interference or power surges
C. High bandwidth
D. Stable networks
Correct Answer:
B
Chapter: 5
Q177:
Which of the following is NOT an error detection scheme?
A. CRC
B. Checksum
C. Compression
D. Parity checking
Correct Answer:
C
Chapter: 5
Q178:
Byte stuffing translates reserved bytes into ________.
A. One reserved byte
B. Two reserved bytes
C. Two unreserved bytes
D. Multiple characters
Correct Answer:
C
Chapter: 5
Q179:
In byte stuffing, ESC x represents ________.
A. SOH
B. EOT
C. ECO
D. EOF
Correct Answer:
A
Chapter: 5
Q180:
In byte stuffing, the receiver replaces ESC y with ________.
A. EOT
B. SOH
C. ECO
D. ESC
Correct Answer:
A