Sample questions
Question 1Easy
What 8-bit flag pattern marks the start and end of an HDLC/PPP frame?
- 10101010
- 11111111
- 10000001
- 01111110
Answer: D. 01111110
Explanation
The flag is 0x7E = 01111110; bit or byte stuffing keeps it from appearing inside the payload.
Step-by-step solution
- HDLC and PPP both use a dedicated 8-bit pattern to mark the start and end of every frame.
- That pattern is 01111110 (hex 0x7E), containing a run of six consecutive 1 bits.
- Bit (or byte) stuffing keeps this exact pattern from ever appearing accidentally inside the data.
Why the other options are wrong
- A. 10101010 is a common clock-synchronisation pattern used elsewhere, not the HDLC flag.
- B. An all-1s pattern would be indistinguishable from stuffed data without a distinctive shape; the real flag is a specific pattern.
- C. This is not the registered HDLC/PPP flag value.
Tip: HDLC/PPP flag = 0x7E = 01111110.
Question 2Easy
What is the standard maximum payload (MTU) of an Ethernet frame?
- 1518 bytes
- 512 bytes
- 65535 bytes
- 1500 bytes
Answer: D. 1500 bytes
Explanation
Standard Ethernet carries up to 1500 bytes of payload; jumbo frames are a non-standard extension.
Step-by-step solution
- Standard Ethernet defines a fixed maximum payload size for each frame.
- That maximum, called the MTU, is 1500 bytes.
- Jumbo frames that exceed this exist on some modern networks, but only as a non-standard extension requiring support at every hop.
Why the other options are wrong
- A. 1518 bytes is roughly the whole frame size including headers and FCS, not the payload (MTU) alone.
- B. 512 bytes is not the standard Ethernet payload limit.
- C. 65535 bytes is IP's own theoretical maximum datagram size, far larger than any single Ethernet frame can carry.
Tip: Standard Ethernet payload limit = 1500 bytes; anything larger needs jumbo frame support end to end.
Question 3Easy
With even parity, what parity bit is added to the 7-bit data 1011001?
- 1
- Parity bits are added only to bytes
- It depends on the receiver
- 0
Answer: D. 0
Explanation
1011001 has 4 ones; even parity makes the total even, so the parity bit is 0.
Step-by-step solution
- Count the 1 bits in the data 1011001: there are four of them.
- Four is already an even number.
- Even parity needs the total count of 1s (data plus parity bit) to be even, so the parity bit added is 0.
Why the other options are wrong
- A. Adding a 1 would make the total number of 1s five, an odd count, which violates even parity.
- B. Parity can be applied to any fixed-size group of bits, not just whole bytes.
- C. The parity bit is fully determined by the data itself; the receiver does not get any say in it.
Tip: Count the data's 1-bits: even count -> parity bit 0; odd count -> parity bit 1 (for even parity).
Question 4Easy
What is the Ethernet broadcast MAC address?
- 01:00:5E:00:00:01
- FF:FF:FF:FF:FF:FF
- 00:00:00:00:00:00
- FF:FF:FF:00:00:00
Answer: B. FF:FF:FF:FF:FF:FF
Explanation
All 48 bits set to 1 means every station on the LAN accepts the frame.
Step-by-step solution
- The Ethernet broadcast address is a single reserved value every interface is built to recognise.
- It is formed by setting every one of the 48 bits of the destination MAC address to 1.
- Written in hex, that is FF:FF:FF:FF:FF:FF.
Why the other options are wrong
- A. That address range is used for IP multicast over Ethernet, not for broadcast.
- C. An all-zero address is not a valid broadcast or normal unicast address.
- D. Only setting the first half of the address to all 1s does not produce the actual broadcast address.
Tip: Ethernet broadcast = all 48 bits set to 1 (FF:FF:FF:FF:FF:FF).
Question 5Medium
With 3-bit sequence numbers, what is the maximum sender window size for Go-Back-N and for Selective Repeat?
- GBN: 8, SR: 8
- GBN: 4, SR: 7
- GBN: 7, SR: 4
- GBN: 7, SR: 7
Answer: C. GBN: 7, SR: 4
Explanation
There are 2^3 = 8 sequence numbers.
GBN allows 2^k - 1 = 7;
SR allows 2^(k-1) = 4.
Step-by-step solution
- With 3-bit sequence numbers there are 2^3 = 8 distinct sequence numbers available.
- Go-Back-N's maximum window is 2^k - 1 = 8 - 1 = 7.
- Selective Repeat's maximum window is 2^(k-1) = 2^2 = 4.
Why the other options are wrong
- A. Neither protocol can use the full 8 sequence numbers as its window size; both must reserve some margin.
- B. This swaps the GBN and SR values around.
- D. SR's window must be exactly half of GBN's maximum for the same k, not equal to it.
Tip: Same k: GBN window = 2^k - 1; SR window = 2^(k-1), exactly half.
Question 6Medium
Which advantage does Selective Repeat ARQ have over Go-Back-N?
- It works without any acknowledgements
- Only lost or damaged frames are retransmitted
- It needs fewer sequence numbers than Go-Back-N for the same window
- The receiver needs no buffer for out-of-order frames
Answer: B. Only lost or damaged frames are retransmitted
Explanation
SR buffers out-of-order frames at the receiver, saving bandwidth at the cost of buffering and more sequence numbers.
Step-by-step solution
- Selective Repeat's receiver buffers out-of-order frames instead of discarding them.
- When a gap is later filled by a retransmission, only the missing frame needed to be resent, not everything after it.
- This saves significant bandwidth compared to Go-Back-N's resend-everything-after-the-gap approach.
Why the other options are wrong
- A. SR still fundamentally relies on acknowledgements, just like GBN.
- C. SR actually needs more sequence numbers for the same window size, not fewer, because of its half-window limit.
- D. SR specifically requires a receiver buffer to hold out-of-order frames until the gap is filled, unlike GBN.
Tip: SR = smarter but costlier; GBN = simpler but wastes bandwidth retransmitting already-received frames.
Question 7Medium
Which field of the Ethernet frame lets the receiver detect corrupted frames?
- EtherType / Length field
- Start Frame Delimiter
- FCS (CRC-32)
- Preamble (7 bytes)
Answer: C. FCS (CRC-32)
Explanation
The 4-byte FCS holds a CRC-32 over the frame; a mismatch causes the frame to be dropped.
Step-by-step solution
- The Frame Check Sequence (FCS) field sits at the very end of an Ethernet frame.
- It holds a CRC-32 computed over the frame's contents by the sender.
- The receiver recomputes the CRC-32 itself and compares; a mismatch means the frame is corrupted and gets silently dropped.
Why the other options are wrong
- A. The EtherType/Length field just identifies the payload's protocol or size, with no error-checking role.
- B. The Start Frame Delimiter only marks where the actual frame begins; it carries no error-checking information.
- D. The preamble exists purely to help receivers synchronise their clocks before the frame starts.
Tip: FCS = CRC-32 at the very end of the frame, the error-detection field.
Question 8Medium
The data bits 100100 are sent using CRC with generator polynomial x^3 + x^2 + 1 (bit pattern 1101).
What CRC remainder is appended?
- 101
- 000
- 100
- 001
Answer: D. 001
Explanation
Append 3 zeros to the data and divide by 1101 using modulo-2 (XOR) division; the remainder is 001, so 100100001 is transmitted.
Step-by-step solution
- Append r = 3 zero bits to the data (the generator 1101 has degree 3): 100100000.
- Divide this string by 1101 using modulo-2 (XOR) division.
- The remainder is 001, giving the transmitted frame 100100001.
Why the other options are wrong
- A. This matches a remainder from stopping the division one step too early.
- B. An all-zero remainder would mean the data is already an exact multiple of the generator, which it is not here.
- C. This matches an intermediate value partway through the division, not the final remainder.
Tip: Append r zero bits where r = the generator's degree (its bit length minus 1).
Question 9Hard
How does a receiver tell that a destination MAC address such as 01:00:5E:00:00:FB is a multicast (group) address?
- Lowest bit of first octet is 1
- The OUI belongs to a registered router vendor
- The last octet is an odd number
- The first octet is greater than 127
Answer: A. Lowest bit of first octet is 1
Explanation
0x01 = 00000001; the I/G bit (lowest bit of the first byte) set to 1 marks a group address.
Step-by-step solution
- The individual/group (I/G) bit is defined as the least significant bit of the first byte of a MAC address.
- 01:00:5E:00:00:FB starts with 0x01, which in binary is 00000001.
- That lowest bit is 1, marking this address as a multicast (group) address rather than an ordinary unicast one.
Why the other options are wrong
- B. Any vendor's OUI can appear in a multicast address; vendor identity is not what marks it as multicast.
- C. It is specifically the first octet's lowest bit that matters, not the last octet's parity.
- D. Comparing the whole first octet to 127 is not how the individual/group bit actually works.
Tip: Binary 00000001 (0x01) has its lowest bit set, marking the address as multicast/group.
Question 10Hard
The data bits 1101011011 are sent using CRC with generator polynomial x^4 + x + 1 (bit pattern 10011).
What CRC remainder is appended?
- 1110
- 1111
- 0100
- 0111
Answer: A. 1110
Explanation
Append 4 zeros to the data and divide by 10011 using modulo-2 (XOR) division; the remainder is 1110, so 11010110111110 is transmitted.
Step-by-step solution
- Append r = 4 zero bits to the data (since the generator has degree 4): 11010110110000.
- Divide this string by the generator 10011 using modulo-2 (XOR) division.
- The remainder left over after the division is the CRC: 1110, giving the transmitted frame 11010110111110.
Why the other options are wrong
- B. This is off by one bit from a small slip in the XOR division.
- C. This remainder would come from dividing against a wrongly-padded string.
- D. This is the bitwise complement of the correct remainder, not the actual division result.
Tip: Always append exactly as many zero bits as the generator's degree before dividing.
Practise all 45 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →