
IPFW CS 274 Midterm 2 Solutions
Spring 2007
1. B, B, A, A, B
2. 1. Contention, transmission, and idle states.
2. Error detection only determines where an error occurred
Error correcting can determines what the data must have been
3. 10010100 and 11000110 distance is 3
10010100 and 11111011 distance is 6
10010100 and 11110000 distance is 3
11000110 and 11111011 distance is 5
11000110 and 11110000 distance is 4
11111011 and 11110000 distance is 3
Hamming distance is 3 ( the minimum among all)
4. Hidden station problem: a station is not able to detect a potential competitor
from the medium because the competitor is too far away.
In MACA, A hidden station will hear CTS even though not RTS so that it will
restrain from sending data.
5. Orthogonal frequency division multiplexing (OFDM): Transmissions are
present on multiple frequencies at the same time
Frequency hopping spread spectrum (FHSS): transmission from one
frequency to another one according to an agreed sequence.
3.
(a) 00000101 10101001 11011110 01111110 11100000 or
00000100 10101001 11011110 01111110 11100000
(b) 01111110 10101001 11011110 11100000 01111110 11100000
11100000 01111110
(c) 01111110 10101001 11011110 011111010 11100000 01111110
4.
L/ (L + 8000 x 2 x 20 x 10-3) = 0.6
L = 0.6L + 320 * 0.6
0.4 x = 192
L = 480 bits
Frame size = 480 bits = 60 bytes
5.
The transmission for each frame or piggybacked ack is
2000/ (1 x 106 )= 2 x 10-3 sec = 2 msec
Time line t = 0 msec: the start of transmission of 1st frame of three frames
t = 2 msec: the end of transmission of 1st frame
t = 302msec: the full arrival of 1st frame at the receiver
t = 304msec: the end of transmission of the ack for 1st frame
t = 604msec: the reception of ack for 1st frame