0% found this document useful (0 votes)
202 views

Computer Network 1st Assignment

Propagation delay = Distance / Speed of light = 5 km / (2 x 108 m/s) = 25 x 10-6 s = 25 μs Data rate = 1 Gbps = 1 x 109 bps Bits sent in propagation delay = Data rate x Propagation delay = 1 x 109 bps x 25 x 10-6 s = 25 x 106 bits So the number of bits Computer A can send before the first bit arrives at Computer B is 25 million bits.

Uploaded by

Rodney Alexander
Copyright
© © All Rights Reserved
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)
202 views

Computer Network 1st Assignment

Propagation delay = Distance / Speed of light = 5 km / (2 x 108 m/s) = 25 x 10-6 s = 25 μs Data rate = 1 Gbps = 1 x 109 bps Bits sent in propagation delay = Data rate x Propagation delay = 1 x 109 bps x 25 x 10-6 s = 25 x 106 bits So the number of bits Computer A can send before the first bit arrives at Computer B is 25 million bits.

Uploaded by

Rodney Alexander
Copyright
© © All Rights Reserved
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/ 3

1.

What is the difference between port address, logical address and


physical address?
Through logical address the system identify a network (source to destination).
After identifying the network physical address is used to identify the host on that
network. The port address is used to identify the particular application running
on the destination machine.

Logical Address: An IP address of the system is called logical address. This


address is the combination of Net ID and Host ID. This address is used by
network layer to identify a particular network (source to destination) among
the networks. This address can be changed by changing the host position on the
network. So it is called logical address.

Physical address: Each system having a NIC(Network Interface Card) through


which two systems physically connected with each other with cables. The
address of the NIC is called Physical address or mac address. This is specified by
the manficture company of the card. This address is used by data link layer.

Port Address: There are many application running on the computer. Each
application run with a port no. (logically) on the computer. This port no. for
application is decided by the Karnal of the OS. This port no. is called port
address.

2.what are some of the factors that determine whether a network


is a lan or a wan?
The general factors are size, distances (covered by the network), structure,
and ownership.
The main difference between LAN, MAN and WAN is the scope and coverage of
the networks. LAN (Local area network) is usually used to connect computers in
smaller distances such as in a building or in offices. They use various topologies
such as bus topology, ring topology, star typology etc to connect the computers
and share information only among the computers connected in LAN. A
Metropolitan Network covers larger coverage than LAN and is usually used for
connecting a city rather than single organization. A Wide Area Network is
collection of networks or many LANS. The perfect example of WAN is internet
which connects thousands and millions of networks. Another factor which
distinguishes between LAN, MAN and WAN is that LAN and MAN are owned by
certain entities such as government, educational institutions or organizations
whereas WAN (i.e. Internet) is not owned by anyone.
3. Compare the Internet to a telephone network. What are the
similarities? What are the differences?
Answer:
The telephone network was originally designed for voice communication; the
Internet was originally designed for data communication. The two networks are
similar in the fact that both are made of interconnections of small networks. The
telephone network, as we will see in future chapters, is mostly a circuit-switched
network; the Internet is mostly a packet-switched network.

4. For each of the following four networks, discuss the consequences


if a connection fails.
a. Five devices connected in a mesh topology?
b. Five devices connected in a bus topology?
c. Five devices connected in a ring topology?
d. Five devices connected in a star topology?
Answer:
a. Mesh topology: If one connection fails, the other connections will still be
working.
b. Star topology: The other devices will still be able to send data through the
hub; there will be no
access to the device which has the failed connection to the hub.
c. Bus Topology: All transmission stops if the failure is in the bus. If the drop-
line fails, only the
Corresponding device cannot operate
d. Ring Topology: The failed connection may disable the whole network unless
it
is a dual ring or there is a by-pass mechanism.

5. We measure the performance of a telephone line (4KHz of


bandwidth). When the signal is 10 V, the noise is 5 mV. What is
the maximum data rate supported by this telephone line?
Ans 4,000 log2 (1 + 10 / 0.005) = 43,866 bps
6. What is the total delay (latency) for a frame of size 5 million bits
that is being sent on a link with 10 routers each having a queuing time
of 2 us and a processing time of 1 us. The length of the link is 2000
Km. Th e speed of light inside the line is 2 x 108 m/s. The link has a
bandwidth of 5 M bps. Which component of the total delay is
dominant? Which one is negligible?
Ans Propagation time = distance / propagation speed
= 2000 Km / 2 x 108 m/s = 10 ms
Transmission time = Message size / Bandwidth
= 5 x 106 bits/ 5 Mbps = 1 s
Queuing time = 10 routers * 2 us = 20 us
Processing Delay = 10 routers * 1 us = 10 us
Total delay (latency) = 10 ms + 1 s + 20 us + 10 us
= 1010.03 ms = 1.01003 s 1 s

7.Two computers are connected by a fiber cable, 5 kilometers in length. The


data rate is 1 Gigabit per second. The optical signal velocity is 2 x 108 meters per
second. Computer A is to send a very large stream of bits to Computer B.
Computer A begins at time t=0. How many bits will Computer A send (output)
before the first bit arrives at Computer B?
A.

You might also like