COMP2330 Data Communications and Networking Written Assignment 1 Due: 18:00PM, April 23, 2010
COMP2330 Data Communications and Networking Written Assignment 1 Due: 18:00PM, April 23, 2010
Written Assignment 1
Student Name:_______________
1. Which of the OSI layers handles each of the following: (a) Dividing the transmitted
bit stream into frames. (b) Determining which route through the subnet to use.
(10 marks)
(a) If a signal element encodes a 4-bit word, what is the minimum required bandwidth
of the channel if we assume a noise free system?
6. In Sliding-Window flow control, suppose k bits are used to specify the sequence
numbers of frames. It can support the range of sequence numbers from 0 to 2 k-1.
Explain, by an example, why the maximum window size can not exceed 2k-1.
(10 marks)
7. A channel has a data rate of R bps and a propagation delay of t s/km. The distance
between the sending and receiving nodes is L km. Nodes exchange fixed-size frames
of B bits.
(10 marks)
(4 marks)
10. A disadvantage of the contention approach for LANs is the capacity wasted due to
multiple stations attempting to access the channel at the same time. Suppose that time is
divided into discrete slots, with each of N stations attempting to transmit with probability
p during each slot. There is no collision detection. What fraction of slots are wasted due
to multiple simultaneous transmission attempts?
(10 marks)
11. What are the main differences between hub, bridge, and lay-2 Ethernet switch?
(2 marks)