Computer Networks Complete Notes
Computer Networks Complete Notes
Application: -
(i) Resource Sharing: - Through a network, data, software and hardware resources can be shared
irrespective of the physical location of the resources and the user.
(ii) Reliability: - A file can have its copies on two or more computers of the network, so if one of them is
unavailable, the other copies could be used. That makes a network more reliable.
(iii) Reduced Costs: - Since resources can be shared, it greatly reduces the costs.
(iv) Fast communication. With network, it is possible to exchange information at very fast speed.
Q4. Discuss the factors that govern the selection of a topology for a network.
Answer-
• Cost:- For a network to be cost effective, one would try to minimize installation cost. This may be
achieved by using well understood media and also, to a lesser extent, by minimizing the distances
involved.
• Flexibility:- Because the arrangement of furniture, internal walls etc. in offices is often subject to change,
the topology should allow for easy reconfiguration of the network. This involves moving existing nodes
and adding new ones.
• Reliability:- Failure in a network can take two forms. Firstly, an individual node can malfunction. This is not
nearly as serious as the second type of fault where the network itself fails to operate. The topology
chosen for the network can help by allowing the location of the fault to be detected and to provide some
means of isolating it.
(ii)
• Star Topology:- In this topology each workstation is directly linked to a central node. Devices can be easily
plugged or unplugged to the central node, as need dictates. Any communication between the stations
must pass through the central node.
• Tree Topology:- In this topology the network is shaped as an inverted tree with the central root branching
and sub-branching to the extremities of the network. Transmission in this topology takes place in the
same way as in bus topology.
(iii)
• Bus or Linear Topology:- In this topology, all devices on network are connected to a single continuous
cable called a bus. Transmission from any station travels the length of the bus in both directions and can
be received by all other stations. The destination device, on identifying the address on data packet
copies the data onto its disk. When the data packet reaches at either end the terminator on that end
absorbs the signal, removing from the bus. This topology can be used for smaller networks.
• Ring Topology:- A LAN using the ring topology is connected in the closed loop. The data packets
transmitted, circulate along the ring. The destination station copies the packet content on recognizing its
address on the packet. After a packet travels a full circle, it is removed at the source station.
Q9. Briefly discuss the role of following devices in the contex of networking.
(i) repeater
(ii) router
(iii) bridge
(iv) gateway.
Answer-
(i) Router: - A router works like a bridge but can handle different protocols.
(ii) Bridge: - Device that links two networks together.
(iii) Gateway: - Device that connects dissimilar network.
(iv) Repeater: - A repeater is an analog device that works with signals on the cables to which it is connected.
The weakened signal appearing on the cable is regenerated and put back on the cable by a repeater.
• In enterprises, the gateway node often acts as a proxy server (a machine that is not actually a server but
appears as a server) and a firewall (a system designed to prevent unauthorized access to or from a
private network). The gateway is also associated with both a router, which use headers and forwarding
tables to determine where packets are sent, and a switch, which provides the actual path for the packet
in and out of the gateway.
Q18. Compare-
(i) Star and Bus topologies
(ii) Star and Tree topologies
(iii) Bus and Ring topologies.
Answer-
(i)
• Star Topology:- In this topology each workstation is directly linked to a central node. Devices can be easily
plugged or unplugged to the central node, as need dictates. Any communication between the stations
must pass through the central node.
• Bus or Linear Topology:- In this topology, all devices on network are connected to a single continuous
cable called a bus. Transmission from any station travels the length of the bus in both directions and can
be received by all other stations. The destination device, on identifying the address on data packet
copies the data onto its disk. When the data packet reaches at either end the terminator on that end
absorbs the signal, removing from the bus. This topology can be used for smaller networks.
(ii)
• Star Topology:- In this topology each workstation is directly linked to a central node. Devices can be easily
plugged or unplugged to the central node, as need dictates. Any communication between the stations
must pass through the central node.
• Tree Topology:- In this topology the network is shaped as an inverted tree with the central root branching
and sub-branching to the extremities of the network. Transmission in this topology takes place in the
same way as in bus topology.
(iii)
• Bus or Linear Topology:- In this topology, all devices on network are connected to a single continuous
cable called a bus. Transmission from any station travels the length of the bus in both directions and can
be received by all other stations. The destination device, on identifying the address on data packet
copies the data onto its disk. When the data packet reaches at either end the terminator on that end
absorbs the signal, removing from the bus. This topology can be used for smaller networks.
• Ring Topology:- A LAN using the ring topology is connected in the closed loop. The data packets
transmitted, circulate along the ring. The destination station copies the packet content on recognizing its
address on the packet. After a packet travels a full circle, it is removed at the source station.
Q19. Write two advantages and two dis-advantages for STAR topology.
Answer-
Advantages of the Star Topology:-
• Ease of service:- The star topology has a number of concentration points (where connections are joined).
These provide easy access for service or reconfiguration of the network.
• One device per connection:- Connection points in any network are inherently prone to failure. In the star
topology, failure of a single connection typically involves disconnecting one node from an otherwise fully
functional network.
• Centralized control/problem diagnosis:- The fact that the central node is connected directly to every other
node in the network means that faults are easily detected and isolated. It is a simple matter to
disconnect failing nodes from the system.
• Simple access protocols:- Any given connection in a star network involves only the central node. In this
situation, contention for who has control of the medium for the transmission purposes is easily solved.
Thus in a star network, access protocols are very simple.