0% found this document useful (0 votes)
31 views2 pages

CS 514

The document summarizes the answers to four questions about computer networks: 1) The advantages of a client-server LAN are resource and information sharing and simpler network management. 2) The fraction of time slots wasted due to collisions in a broadcast subnet is 1 - (probability of successful transmission + probability of all stations being idle). 3) Layered protocols reduce design complexity and define functions for each layer. 4) Frames encapsulate packets at the data link layer by using the packet as the frame's data field.

Uploaded by

Ishika Sen
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views2 pages

CS 514

The document summarizes the answers to four questions about computer networks: 1) The advantages of a client-server LAN are resource and information sharing and simpler network management. 2) The fraction of time slots wasted due to collisions in a broadcast subnet is 1 - (probability of successful transmission + probability of all stations being idle). 3) Layered protocols reduce design complexity and define functions for each layer. 4) Frames encapsulate packets at the data link layer by using the packet as the frame's data field.

Uploaded by

Ishika Sen
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CS 514: COMPUTER NETWORKS HOMEWORK # 1

1. An alternative to a LAN is simply a big timesharing system with terminals for all users. Give two advantages of a client-server system using a LAN. ANS: The advantages of client-server system using LAN are: Resource sharing can be obtained. That is data is available to anyone on the network. Information sharing can be possible where machines can communicate with each other. It simplifies network management. Many simpler machines called clients can work together and everything is controlled by a powerful system called server.

2. A disadvantage of a broadcast subnet is the capacity wasted when multiple hosts attempt to access the channel at the same time. As a simplistic example, suppose that time is divided into discrete slots, with each of the n hosts attempting to use the channel with probability p during each slot. What fractions of the slots are wasted due to collisions? ANS: The fraction of the slots wasted due to collisions = 1 (the fraction of the slots without collisions) There exist two situations without collisions: 1) Successful transmission. One station transmits and the rest of them idle. The probability is n x p x (1 - p) ^ (n - 1). 2) All stations are idle. The probability is (1 - p) ^ n. Therefore, the fraction of slots wasted due to collision = 1 - n x p x (1 - p) ^ (n - 1) - (1 - p) ^ n.

3. What are two reasons for using layered protocols? ANS: The two reasons for using layered protocol are: The design complexity is reduced. Each layer is provided with certain well defined functions to perform.

4. If the unit exchanged at the data link level is called a frame and the unit exchanged at the network level is called a packet, do frames encapsulate packets or do packets encapsulate frames? Explain your answer. Frames encapsulate packets. When the packet enters the data link layer the packet along with header is used as data field of a frame.

You might also like