Docsity

Computer Network, Essays (high school) of Computer science

Toggle sidebar
bg1
Computer Networks Portfolio Assessment 1
Name: James Sandhu
Student ID: 15010018
1) List four common LAN topologies and briefly describe their methods of operation. [8
Marks]
Bus Network
The bus is a long, central cable which is used to connect all of the computers as one. Each
computer has a cable linking it to the bus. A bus network is quite cheap to install as it usually
is just a long cable, however it can be very slow as all computers use the same cabling and
will stop if there is damage or a break in the central bus cabling.
Ring Network
In the ring network, each computer is connected to a loop of cable known as the ring. If you
took a bus and connected the ends together you technically would come up with a ring
network. A ring network can however cope with a break in the ring cable since all computers
are then technically connected to a bus network.
Star Network
In a star network each and every computer is connected to a central device, this device passes
message between all computers on the network. At the center of a star network it can either
be connected using a hub, (we described in the previous question how this is cheap but
slower) or a switch (faster, but more expensive). In turn a star network is quite expensive to
install as cabling and a central device are required however this then means it is very fast as
each computer has its own cabling which it doesn’t need to share, so it can cope with a
broken cable as only the computer connected is affected. It is the most common and widely
used network topology.
Hybrid Network
A hybrid network is in its simplest definition a network that combines two or more of the
previously described basic topologies. For example a network that uses a bus and a star
network is a hybrid network.
2) What is the difference between a hub and a switch? [2 Marks]
Both the hub and switch have similar roles and each serves as a central connection for all of
your roles and handles a data type known as frames. As the frames carry your data the main
difference between the two devices is the method which the frames are delivered. In a hub a
frame is “broadcast” to all of its ports which means that it doesn’t matter that the frame
should have only been sent to one port as sending it to every port ensures that it reaches it
intended target port. The hub cannot distinguish which port the frame came from and it also
places an awful lot of traffic on the network, in turn leading to poor network response times.
A switch, unlike the hub keeps a record of the “MAC Address” of any/all of the
devices connected to the switch. Using this information the switch can which system is
pf3
pf4

Partial preview of the text

Download Computer Network and more Essays (high school) Computer science in PDF only on Docsity!

Computer Networks Portfolio Assessment 1

Name: James Sandhu

Student ID: 15010018

  1. List four common LAN topologies and briefly describe their methods of operation. [ Marks]

Bus Network

The bus is a long, central cable which is used to connect all of the computers as one. Each computer has a cable linking it to the bus. A bus network is quite cheap to install as it usually is just a long cable, however it can be very slow as all computers use the same cabling and will stop if there is damage or a break in the central bus cabling.

Ring Network

In the ring network, each computer is connected to a loop of cable known as the ring. If you took a bus and connected the ends together you technically would come up with a ring network. A ring network can however cope with a break in the ring cable since all computers are then technically connected to a bus network.

Star Network

In a star network each and every computer is connected to a central device, this device passes message between all computers on the network. At the center of a star network it can either be connected using a hub, (we described in the previous question how this is cheap but slower) or a switch (faster, but more expensive). In turn a star network is quite expensive to install as cabling and a central device are required however this then means it is very fast as each computer has its own cabling which it doesn’t need to share, so it can cope with a broken cable as only the computer connected is affected. It is the most common and widely used network topology.

Hybrid Network

A hybrid network is in its simplest definition a network that combines two or more of the previously described basic topologies. For example a network that uses a bus and a star network is a hybrid network.

  1. What is the difference between a hub and a switch? [2 Marks]

Both the hub and switch have similar roles and each serves as a central connection for all of your roles and handles a data type known as frames. As the frames carry your data the main difference between the two devices is the method which the frames are delivered. In a hub a frame is “broadcast” to all of its ports which means that it doesn’t matter that the frame should have only been sent to one port as sending it to every port ensures that it reaches it intended target port. The hub cannot distinguish which port the frame came from and it also places an awful lot of traffic on the network, in turn leading to poor network response times.

A switch, unlike the hub keeps a record of the “MAC Address” of any/all of the devices connected to the switch. Using this information the switch can which system is

sitting on which port, so when a frame is received, it knows exactly which port to send it to which in turn in decreases traffic load and increases speed. So users will always have access to the maximum available amount to bandwidth, so the main difference is that the switch is faster than the hub and considered widely to be the better choice.

  1. Store-and-forward switches have an advantage over cut-through switches with respect to damaged frames. Explain what it is. [4 Marks]

Data is transmitted through Ethernet devices as a series of induvial messages or frames. Frames contain a header, data payload and also at the end an error check-sum. A cut-through device begins to forward the frame after only examining the first part of its header unlike a store-and-forward switch which buffers an entire frame before deciding whether or not to forward the frame in question which in turn can cause long delays. The main advantage store- and-forward switches have over cut-through switches with respect to damaged frames is that although cut-through design delivers lower latency the biggest issue is that it will forward damaged (corrupted) frames since the method does not wait to the checksum at the end is valid. Therefore a store-and-forward switch, after reading the entire frame can remove the damaged data which in turn prevents it from entering the network and eating the resources.

  1. An asynchronous device, such as a teletype, transmits characters one at a time with unpredictable delays between characters. What problem, if any, do you foresee if such a device is connected to a LAN and allowed to transmit at will (subject to gaining access to the medium)? How might such problem be resolved? (hint: the overhead problem) [6 Marks]

From looking at the question each individual character could be sent out as a separate packet, resulting in tremendous overhead. This problem could be overcome by buffering characters and only sending out blocks of characters.

  1. A TCP segment consisting of 1500 bits of data and 160 bits of header is sent to the IP layer, which appends another 160 bits of header. This is then transmitted through two networks, each of which uses a 24-bit frame header and has a maximum frame size of 800 bits. How many frames are needed to deliver the data? How many bits, including headers, are delivered to the network access layer at the destination? (hint: the large packet needs to be fragmented into multiple smaller frames to be transmitted over the network due to the limit of frame size) [10 Marks]

Transport layer = 1500 bits + 160 bits

Internet Layer 1660 bits + 160 bits

Maximum Packet Size = 800 bits

= 24 bits header + 776 bits payload