6 Computer Networks And Communication

Introduction to Information Technology · Unit 6

Computer Networks and Communication

Exam-focused notes for Computer Networks and Communication (Introduction to Information Technology, BIT101): what the TU syllabus asks and how it has actually been tested, with 10 solved past questions from this unit.

Computer Networks and Communication in short

Networks let computers share data and resources. This unit covers network media, layouts, devices, and the protocols that make communication possible.

Computer Networks and Communication: full notes

Computer network definition and importance

A computer network is a group of computers and devices connected together to share data and resources. The connection may use cables or wireless links.

Networks by size:

  • LAN (Local Area Network): covers a room, building, or campus.
  • MAN (Metropolitan Area Network): covers a city.
  • WAN (Wide Area Network): covers countries or the world. The Internet is the largest WAN.

Importance of networks:

  • Resource sharing: printers, files, and internet connection are shared.
  • Fast communication: email, chat, and video calls.
  • Lower cost: one printer or one software license serves many users.
  • Central data and backup: data is kept on a server and easier to protect.
  • Reliability: if one machine fails, others can continue.

Guided transmission media types

Guided (wired) media carry signals along a physical path.

  • Twisted pair cable: two insulated copper wires twisted together. The twist reduces noise. It is cheap and common in LANs.
  • Coaxial cable: a copper core, insulation, a metal shield, and an outer cover. It resists noise better than twisted pair. Used in cable TV.
  • Optical fibre cable: thin glass or plastic strands carry light signals. It has very high speed, long range, and no electrical noise. It costs more.
FeatureTwisted pairCoaxialOptical fibre
SignalElectricalElectricalLight
SpeedLow to mediumMediumVery high
Noise effectHighLowNone
CostLowMediumHigh
DistanceShortMediumLong

Unguided transmission media types

Unguided (wireless) media carry signals through air or space with no cable.

  • Radio waves: travel in all directions. Used in FM radio, Wi-Fi, and mobile phones. They can pass through walls.
  • Microwaves: travel in a straight line, so antennas must face each other (line of sight). Used for telephone links and satellite ground stations.
  • Infrared: short range and line of sight. Used in TV remotes. It cannot pass walls.
  • Satellite communication: a satellite relays signals between ground stations. It covers very large areas, used in TV and GPS.
  • Bluetooth: short range radio for connecting nearby devices.

Twisted pair cable features

  • Two copper wires are twisted into a spiral. This cancels interference from nearby wires.
  • UTP (Unshielded Twisted Pair): no metal shield. Cheap, easy to install. Used in Ethernet with an RJ-45 connector.
  • STP (Shielded Twisted Pair): has a metal shield. Better noise protection but costs more.
  • Categories such as Cat5e and Cat6 show the speed they support.
  • Maximum length for Ethernet is 100 metres per segment.
  • Advantages: low cost, light, flexible.
  • Disadvantages: affected by noise, short distance, lower speed than fibre.

Network topology types and features

Topology is the layout in which devices are joined in a network.

  • Bus: all devices connect to one main cable. It is cheap and easy to set up. A break in the main cable stops the whole network. Speed falls as users increase.
  • Star: every device connects to a central hub or switch. A failed cable affects only one device, and faults are easy to find. If the central device fails, the whole network stops. It is the most used topology.
  • Ring: each device connects to two neighbours, forming a circle. Data travels in one direction. One failure can break the ring.
  • Mesh: every device connects to every other device. It is very reliable but costly and hard to set up. With $n$ devices, full mesh needs $\frac{n(n-1)}{2}$ links.
  • Tree: a group of star networks joined to a main bus. Used in large organizations.
  • Hybrid: a mix of two or more topologies.

Network devices and their functions

  • Network Interface Card (NIC): connects a computer to the network. It has a unique MAC address.
  • Hub: sends incoming data to all ports. It does not know the destination.
  • Switch: sends data only to the port of the intended device using the MAC address. It is faster and smarter than a hub.
  • Router: joins different networks and finds the best path for packets using IP addresses.
  • Bridge: joins two LANs and filters traffic by MAC address.
  • Repeater: receives a weak signal and sends it again at full strength to extend distance.
  • Modem: converts digital data to analog signals and back, so data can pass through telephone lines.
  • Gateway: joins networks that use different protocols and converts between them.
  • Access point: lets wireless devices join a wired network.

Communication protocols and OSI model layers

A protocol is a set of rules that devices follow to communicate. Examples are HTTP, FTP, SMTP, and TCP.

The OSI model (Open Systems Interconnection) is a seven layer reference model made by ISO. Each layer does a defined job and talks to the layers above and below it.

LayerNameMain function
7ApplicationGives network services to the user (email, web)
6PresentationTranslation, encryption, and compression
5SessionStarts, manages, and ends sessions
4TransportReliable delivery, error control, flow control
3NetworkLogical addressing and routing (IP)
2Data linkFrames, MAC addressing, error detection
1PhysicalSends raw bits over the medium

A memory aid from top to bottom: All People Seem To Need Data Processing.

TCP/IP protocol and functions

TCP/IP is the protocol suite used on the Internet. It has four layers.

TCP/IP layerMatches OSI layersExamples
Application5, 6, 7HTTP, FTP, SMTP, DNS
Transport4TCP, UDP
Internet3IP, ICMP
Network access1, 2Ethernet, Wi-Fi
  • IP (Internet Protocol): gives each device an address and moves packets from source to destination. An IPv4 address has 32 bits, shown like 192.168.1.1.
  • TCP (Transmission Control Protocol): breaks data into packets and puts them in order at the receiver. It checks for loss and asks for resend. It is reliable and connection based.
  • UDP: faster but does not guarantee delivery. Used for video calls and games.

Functions of TCP/IP: addressing, routing, splitting data into packets, error control, flow control, and joining different types of networks.

Key points to remember

  • A network shares data and resources among connected devices.
  • LAN, MAN, and WAN are classified by area covered.
  • Fibre is fastest and noise free; twisted pair is cheapest.
  • Star topology is most common; mesh is most reliable.
  • A switch uses MAC addresses; a router uses IP addresses.
  • The OSI model has 7 layers; TCP/IP has 4.
  • TCP is reliable; IP does addressing and routing.

What this unit covers

  • Computer network definition and importance
  • Guided transmission media types
  • Unguided transmission media types
  • Twisted pair cable features
  • Network topology types and features
  • Network devices and their functions
  • Communication protocols and OSI model layers
  • TCP/IP protocol and functions

Computer network definition and importance

2081 · 5 marks

What is computer network? Explain the importance of networking. [5]

Show solved answer

Computer Network and Importance of Networking

What is a Computer Network?

A computer network is a collection of two or more interconnected computing devices (computers, printers, servers, etc.) that are linked together using communication channels (wired or wireless) to share data, resources, and information with each other.

In simple terms, a computer network allows devices to communicate and exchange information over a shared medium following a set of rules called protocols.

Example: The Internet is the largest example of a computer network connecting millions of devices worldwide.


Importance of Networking

1. Resource Sharing

Network allows sharing of hardware resources such as printers, scanners, and storage devices among multiple users, reducing cost and avoiding duplication of equipment.

2. Data and File Sharing

Users connected in a network can easily share files, documents, and data with each other without the need for physical transfer media (like USB drives).

3. Communication

Networking enables fast and efficient communication through emails, instant messaging, video conferencing, and Voice over IP (VoIP), connecting people across the globe.

4. Centralized Data Management

Data can be stored and managed centrally on servers, making it easier to maintain, back up, and secure important information.

5. Cost Effectiveness

Sharing resources and software licenses over a network reduces overall costs for organizations compared to providing individual resources to each user.

6. Internet Access

Networking provides access to the Internet, enabling users to access vast amounts of information, online services, e-commerce, and cloud computing.

7. Reliability and Redundancy

Networks can be designed with multiple paths so that if one connection fails, data can be rerouted through another path, ensuring continuous availability.


Summary Table

FeatureBenefit
Resource SharingReduces hardware costs
File SharingEasy data exchange
CommunicationFast and global connectivity
Centralized ManagementBetter data control
Internet AccessAccess to global information

Note: The above answer is based on standard computer networking concepts as the reference notes were not available for this topic.

Open this answer on its own page →

2080 · 5 marks

Write short notes on: a. Importance of Networking Write short notes on: b. Digital signature [2.5+2.5]

Computer networking refers to the practice of connecting two or more computing devices together to share resources, data, and information. The importance of networking can be highlighted through the following points: 1. Resource Sharing Networking allows multiple users to share hardware resources...

Open this answer on its own page →

Network topology types and features

2080 · 10 marks

What do you mean by network topology? Explain the features of Bus, Star, and Ring topologies.[10]

--- Network topology refers to the physical or logical arrangement of nodes (computers, devices) and the links (cables, connections) that connect them in a network. It defines how different nodes in a network are placed and interconnected with each other. There are two types: - Physical Topology:...

Open this answer on its own page →

Guided transmission media types

2079 · 5 marks

What do you mean by transmission media? Explain the features of a twisted pair cable? [5]

Transmission media refers to the physical pathway or channel through which data signals travel from a sender to a receiver in a communication network. It is the actual physical environment through which signals are transmitted between devices. Transmission media can be broadly classified into two...

Open this answer on its own page →

2081.2 · 10 marks

Discuss different types of guided and unguided transmission medium with suitable diagram.[10]

Transmission media is the physical path through which data signals travel from sender to receiver. It is broadly classified into two categories: 1. Guided (Wired) Media 2. Unguided (Wireless) Media --- In guided media, signals are directed and confined along a physical path (cable). The signal tr...

Open this answer on its own page →

0 · 10 marks

What do you mean by guided and unguided transmission media?Describe the different types of guided and unguided transmission media in brief?[2+8]

Show solved answer

Guided and Unguided Transmission Media


(a) Definition

Transmission Media is the physical or logical path between a sender and a receiver through which data signals travel from one point to another.

Guided Media

Guided media refers to transmission media in which signals are directed and confined along a solid physical path (cable or wire). The medium itself guides the signal from source to destination.

  • Example: Twisted pair cable, Coaxial cable, Optical fiber cable

Unguided Media

Unguided media refers to transmission media in which signals are transmitted wirelessly through free space (air, vacuum, or water) without any physical conductor guiding them.

  • Example: Radio waves, Microwaves, Infrared waves

(b) Types of Guided and Unguided Transmission Media


A) Guided Transmission Media (Wired)

Guided media uses a physical conductor to carry signals. It provides a dedicated path for signal transmission, offering higher security and reliability.


i. Twisted Pair Cable

  • Consists of two insulated copper wires twisted together in a helical form.
  • Twisting reduces electromagnetic interference (EMI) and crosstalk between adjacent pairs.

Types:

TypeDescription
UTP (Unshielded Twisted Pair)No additional shielding; cheaper; used in LANs and telephone lines
STP (Shielded Twisted Pair)Has a metallic foil shield; better noise protection; slightly expensive
  • Speed: Up to 1 Gbps
  • Use: Telephone lines, Ethernet LAN (Cat5, Cat6 cables)
  • Advantage: Cheapest guided medium, easy to install
  • Disadvantage: Limited distance, susceptible to interference compared to coaxial

ii. Coaxial Cable

  • Has a central copper conductor surrounded by an insulating layer, a metallic shield (braid), and an outer plastic jacket.
  • The metallic shield protects against external electromagnetic interference.
[Outer Jacket] -> [Metallic Shield] -> [Insulator] -> [Central Copper Core]
  • Speed: Up to 10 Gbps
  • Use: Cable TV (CATV), broadband internet, long-distance telephone links
  • Advantage: Better shielding than twisted pair, supports longer distances
  • Disadvantage: More expensive than twisted pair, bulkier

iii. Optical Fiber Cable

  • Transmits data as pulses of light through a thin strand of glass or plastic (core) using the principle of total internal reflection.
  • Structure: Core (glass/plastic) + Cladding (lower refractive index) + Protective jacket

Types:

TypeDescription
Single-mode fiberThin core; single light path; long distances
Multi-mode fiberThicker core; multiple light paths; shorter distances
  • Speed: 100+ Gbps
  • Use: Internet backbone, undersea cables, long-distance telecommunication
  • Advantage: Highest bandwidth, immune to EMI, very low signal loss, highly secure
  • Disadvantage: Most expensive, difficult to install and repair

B) Unguided Transmission Media (Wireless)

Unguided media transmits electromagnetic signals through free space without any physical conductor. It provides mobility and flexibility.


i. Radio Waves

  • Frequency Range: 3 KHz to 1 GHz
  • Nature: Omnidirectional -- signals travel in all directions from the source
  • Can penetrate walls and buildings
  • Use: FM/AM radio broadcasting, TV broadcasting, Wi-Fi, Bluetooth
  • Advantage: Wide coverage area, no line-of-sight required
  • Disadvantage: Susceptible to interference, less secure

ii. Microwaves

  • Frequency Range: 1 GHz to 300 GHz

  • Nature: Unidirectional -- signals travel in a straight line (line-of-sight)

  • Requires repeaters/relay stations for long distances due to the curvature of the Earth

  • Two types:

    • Terrestrial Microwave: Uses dish antennas on towers
    • Satellite Microwave: Uses satellites in orbit as relay stations
  • Use: Satellite communication, long-distance telephone links, radar systems

  • Advantage: High bandwidth, suitable for long distances

  • Disadvantage: Line-of-sight required, affected by weather conditions


iii. Infrared Waves

  • Frequency Range: 300 GHz to 400 THz
  • Nature: Short-range, line-of-sight communication
  • Cannot penetrate walls -- signals are blocked by solid objects
  • Use: TV remote controls, short-range device communication (IrDA protocol), optical mice
  • Advantage: No interference with radio waves, cheap and easy to implement
  • Disadvantage: Very short range, blocked by obstacles, cannot be used outdoors effectively

Summary Table

MediaTypeSpeedExample Use
Twisted PairGuidedUp to 1 GbpsLAN, Telephone
Coaxial CableGuidedUp to 10 GbpsCable TV, Internet
Optical FiberGuided100+ GbpsInternet Backbone
Radio WavesUnguidedVariesWi-Fi, FM Radio
MicrowavesUnguidedHighSatellite, Radar
InfraredUnguidedLowRemote Controls

Conclusion: Guided media offers higher reliability, security, and speed but requires physical installation. Unguided media provides mobility and flexibility but is more prone to interference and security threats. The choice depends on the application, distance, cost, and environment.

Open this answer on its own page →

TCP/IP protocol and functions

2079 · 5 marks

What is TCP/IP? Explain the working of the packet switching technique. [5]

Show solved answer

TCP/IP and Packet Switching Technique

TCP/IP

TCP/IP (Transmission Control Protocol / Internet Protocol) is a set of communication protocols used to interconnect network devices on the internet and other networks. It defines how data should be packaged, addressed, transmitted, routed, and received across networks.

TCP/IP is a layered protocol suite consisting of two main protocols:

  • TCP (Transmission Control Protocol): A connection-oriented protocol that ensures reliable, ordered, and error-checked delivery of data between applications. It breaks data into segments, numbers them, and reassembles them at the destination.

  • IP (Internet Protocol): A connectionless protocol responsible for addressing and routing packets from the source host to the destination host across networks.

TCP/IP Layer Model

LayerFunction
Application LayerProvides network services to applications (HTTP, FTP, SMTP)
Transport LayerEnd-to-end communication, reliability (TCP/UDP)
Internet LayerLogical addressing and routing (IP)
Network Access LayerPhysical transmission of data

Packet Switching Technique

Packet switching is a method of data transmission in which a message is broken into smaller units called packets, and each packet is transmitted independently through the network.

Working of Packet Switching

Step 1: Packetization

  • The sender breaks the original message/data into smaller, fixed or variable-size units called packets.
  • Each packet contains:
    • Header: Source address, destination address, sequence number, and control information.
    • Payload: The actual data being transmitted.

Step 2: Independent Routing

  • Each packet is sent independently into the network.
  • Routers/switches examine the destination address in each packet header and forward it toward the destination using the best available path.
  • Different packets of the same message may travel through different routes.

Step 3: Store and Forward

  • Each intermediate node (router) receives a packet completely, stores it temporarily, checks for errors, and then forwards it to the next node.
  • This is known as the store-and-forward mechanism.

Step 4: Reassembly

  • Since packets may arrive out of order (due to different paths), the destination node uses the sequence numbers in the headers to reorder and reassemble the original message.

Step 5: Error Handling

  • If a packet is lost or corrupted, only that specific packet is retransmitted, not the entire message.

Diagram

Sender --> [P1][P2][P3] --> Network (different paths) --> [P1][P2][P3] --> Receiver
                              Router A --> P1
                              Router B --> P2
                              Router C --> P3

Advantages of Packet Switching

  • Efficient use of network bandwidth (no dedicated path needed)
  • More reliable -- if one route fails, packets take another route
  • Multiple users can share the same network links
  • Only lost packets need to be retransmitted

Disadvantage

  • Packets may arrive out of order, causing reassembly delay
  • Header overhead is added to every packet
  • Not ideal for real-time applications (e.g., voice calls) without special handling

Note: TCP/IP uses packet switching as its underlying data transmission mechanism. IP handles the routing of individual packets, while TCP handles reassembly and reliability at the transport layer.

Open this answer on its own page →

2077 · 5 marks

Define: Internet, Protocol, and WWW. What is the function of TCP/IP protocol? [3+2]

--- The Internet is a global network of interconnected computers and networks that communicate with each other using a standard set of protocols (TCP/IP). It is a worldwide system that allows billions of devices to share information and resources across different types of networks (LAN, WAN, etc....

Open this answer on its own page →

Network devices and their functions

2078 · 10 marks

What is Network Device? Describe the features of repeater, hub, switch, bridge, router, and gateway in brief.[10]

A network device (also called networking hardware or network equipment) is a physical device used to connect computers, printers, and other electronic devices together so that they can share resources and communicate with each other. These devices facilitate data transmission across a network by ...

Open this answer on its own page →

Communication protocols and OSI model layers

0 · 5 marks

What is the need of communication protocol? List the seven layers of the OSI model protocol, in order. [5]

A communication protocol is a set of rules and conventions that govern how data is transmitted between devices in a network. The need for communication protocols arises due to the following reasons: 1. Standardization: Different devices from different manufacturers need a common set of rules to c...

Open this answer on its own page →