SemSure
←Computer Networks · Unit 1OSI and TCP/IP models✓ 0/61/64
① Topic

Why layers?

Definition · Layered model
A network model splits communication into layers. Each layer offers a service to the layer above, uses the service of the layer below, and talks to the same layer on the other machine through a protocol. A change inside one layer does not affect the others.
Definition · OSI model
The Open Systems Interconnection model of ISO has seven layers: physical, data link, network, transport, session, presentation, application. TCP/IP, the model the Internet actually uses, has five (or four) layers.
Samjho
Yaad karne ke liye neeche se upar: “Please Do Not Throw Sausage Pizza Away” = Physical, Data link, Network, Transport, Session, Presentation, Application. Har layer ka sirf ek kaam, aur woh apne neeche wali layer pe bharosa karti hai.

Opens chatgpt.com in a new tab with a ready-made prompt for this topic.

③ Learn

All seven layers in one table

The table is empty. Press Next step to fill it one row at a time (7 steps).

#LayerMain jobData unitAddress / key ideaExamples
Exam tip Part A loves these: encryption → presentation; process-to-process → transport; framing and error detection → data link; layer-2 data unit → frame; SMTP → application, TCP → transport, BGP → application (runs over TCP), PPP → data link.
② Question

OSI layers and end-to-end data flow

15 marks · Part CAsked in: Nov 2025 Q26

Examine the OSI reference model and analyze the role of each layer in ensuring successful data communication. Compare and contrast it with the TCP/IP protocol suite.

15 marks · Part CAsked in: Jul 2025 Q26

Sketch the OSI layer and state the role of each layer in data communication and discuss how each layer interacts with the layers above and below it to enable communication in a network.

15 marks · Part CAsked in: Jul 2025 (P2) Q26

In a network communication scenario, a sender transmits data to a receiver across multiple layers. Using the ISO-OSI network architecture, explain how the data flows through each layer, highlighting the key functionalities at every stage.

8 marks · Part BAsked in: Jul 2024 Q21b

Explain the ISO-OSI model of computer network with a neat diagram.

③ Learn · step 1 of 4

Identify each layer and its service

The table is empty. Press Next step to fill it one row at a time (7 steps).

#LayerMain jobData unitAddress / key ideaExamples
Exam tip Part A loves these: encryption → presentation; process-to-process → transport; framing and error detection → data link; layer-2 data unit → frame; SMTP → application, TCP → transport, BGP → application (runs over TCP), PPP → data link.
③ Learn · step 2 of 4

Draw the stack and identify where data travels

Link 1Link 2ApplicationPresentationSessionTransportNetworkData linkPhysicalNetworkData linkPhysicalApplicationPresentationSessionTransportNetworkData linkPhysical
Sender at left, router at centre and receiver at right. The router rebuilds the outgoing link frame around the network-layer datagram.
③ Learn · step 3 of 4

Follow one message across a router

Host A sends 1000 bytes of email text to host B on another network. Going down, every layer adds its own header (the data link layer also adds a trailer). This is encapsulation:

1 of 4
③ Learn · step 4 of 4

Map the layers to TCP/IP

Draw the two seven-layer stacks side by side with a router in the middle (layers 1–3) and arrows showing data going down at A, across the medium, and up at B. Mark the headers H7…H2 and the trailer T2.

1 of 3
④ Exam answer

Booklet answer · OSI layers and end-to-end data flow

Identify each layer and its service

#LayerMain jobData unitAddress / key ideaExamples
7Applicationnetwork services to the usermessage–HTTP, SMTP, FTP, DNS
6Presentationtranslation, encryption/decryption, compressionmessagedata formatTLS/SSL, JPEG, ASCII
5Sessionstart, manage and end dialogues; synchronisation (checkpoints)messagesessionRPC, NetBIOS
4Transportprocess-to-process delivery, segmentation, flow and error controlsegmentport numberTCP, UDP
3Networkhost-to-host delivery across networks, logical addressing, routingpacketIP addressIP, ICMP, OSPF, BGP
2Data linknode-to-node delivery, framing, MAC addressing, error and flow control, access controlframeMAC addressEthernet, PPP, HDLC
1Physicalsend raw bits over the medium: signals, voltages, bit rate, connectorsbits–cables, hubs, repeaters

Draw the stack and identify where data travels

Link 1Link 2ApplicationPresentationSessionTransportNetworkData linkPhysicalNetworkData linkPhysicalApplicationPresentationSessionTransportNetworkData linkPhysical
Sender at left, router at centre and receiver at right. The router rebuilds the outgoing link frame around the network-layer datagram.

Follow one message across a router

Host A sends 1000 bytes of email text to host B on another network. Going down, every layer adds its own header (the data link layer also adds a trailer). This is encapsulation:

Layer at AData unitWhat is addedSize now
Applicationdata–1000 bytes
Transport (TCP)segment20-byte TCP header1020 bytes
Network (IP)packet / datagram20-byte IP header1040 bytes
Data link (Ethernet)frame14-byte header + 4-byte FCS trailer1058 bytes
Physicalbits–8,464 bits
WhereLayers usedWhat happens
Host A7 → 1email app → SMTP message → TCP segment (ports 25 / random) → IP packet (A's and B's IP) → Ethernet frame (A's MAC, router's MAC) → bits
Router1 → 3 → 1removes the frame, reads the destination IP, looks up the routing table, puts the packet in a new frame for the next link (new MACs)
Host B1 → 7each layer removes its own header (decapsulation): frame → packet → segment → message → mail app

Layers talk peer to peer: A's transport layer “talks” to B's transport layer through the TCP header, even though the bits physically travel down and up. The IP addresses stay the same end to end; the MAC addresses change at every hop.

Map the layers to TCP/IP

Draw the two seven-layer stacks side by side with a router in the middle (layers 1–3) and arrows showing data going down at A, across the medium, and up at B. Mark the headers H7…H2 and the trailer T2.

Explain each layer in two or three lines using the table (job, data unit, address, protocol). Then explain encapsulation with the size table and the router step.

PointOSITCP/IP
Layers75 (or 4: network access, internet, transport, application)
Developed byISO, as a reference modelDARPA / IETF, from working protocols
Session and presentationseparate layersmerged into the application layer
Model or protocols firstmodel first, protocols laterprotocols first, model describes them
Network layer serviceconnection-oriented and connectionlessconnectionless (IP) only
Transportconnection-orientedTCP (connection-oriented) and UDP (connectionless)
Useteaching and referencethe real Internet
② Question

TCP/IP layers and the coast-to-coast exchange

15 marks · Part CAsked in: Jan 2024 Q26

Illustrate TCP/IP model with a neat diagram.

8 marks · Part BAsked in: May 2024 Q21a

Using the internet in Figure shown, show the layers of the TCP/IP protocol suite and the flow of data when two hosts, one on the west coast and the other on the east coast, exchange messages.

③ Learn · step 1 of 3

Map protocols to the TCP/IP layers

TCP/IP layerMatches OSIJobProtocols
Application5, 6, 7user servicesHTTP, FTP, SMTP, DNS, Telnet, SNMP
Transport4process-to-process deliveryTCP, UDP, SCTP
Network (Internet)3routing of datagrams, logical addressingIP, ICMP, IGMP, ARP
Data link2framing, MAC, node-to-nodeEthernet, Wi-Fi, PPP
Physical1bits on the mediumcables, radio

Data flow: same encapsulation table as the OSI slide, with the session and presentation work done inside the application.

③ Learn · step 2 of 3

Follow a message from west to east

West hostWest LANR1R2East LANEast host
The two offices reach each other through their respective routers.
1 of 3
③ Learn · step 3 of 3

Check what each layer can see

In the four-layer convention, the physical and data-link layers form the network-access layer. A router normally reads the link and Internet headers to forward a datagram. The end hosts also interpret transport and application data. For this ordinary routed exchange, names and ports identify application endpoints, IP addresses identify hosts, and each frame addresses only the next interface.

Common mistake State the model convention you draw. A four-layer diagram combines the two bottom layers of the common five-layer teaching model.
④ Exam answer

Booklet answer · TCP/IP layers and the coast-to-coast exchange

Map protocols to the TCP/IP layers

TCP/IP layerMatches OSIJobProtocols
Application5, 6, 7user servicesHTTP, FTP, SMTP, DNS, Telnet, SNMP
Transport4process-to-process deliveryTCP, UDP, SCTP
Network (Internet)3routing of datagrams, logical addressingIP, ICMP, IGMP, ARP
Data link2framing, MAC, node-to-nodeEthernet, Wi-Fi, PPP
Physical1bits on the mediumcables, radio

Data flow: same encapsulation table as the OSI slide, with the session and presentation work done inside the application.

Follow a message from west to east

West hostWest LANR1R2East LANEast host
The two offices reach each other through their respective routers.
Link 1Link 2ApplicationTransportInternetData linkPhysicalInternetData linkPhysicalApplicationTransportInternetData linkPhysical
Sender at left, router at centre and receiver at right. The router rebuilds the outgoing link frame around the network-layer datagram.

The west host hands application data to TCP, which adds source and destination ports. IP then adds both host addresses. The first frame goes to the west gateway. Every router removes the local frame, checks its forwarding table and frames the IP datagram for the next hop. The east host strips its link, IP and TCP headers and delivers the bytes to the receiving application. A reply repeats these steps in reverse.

Check what each layer can see

In the four-layer convention, the physical and data-link layers form the network-access layer. A router normally reads the link and Internet headers to forward a datagram. The end hosts also interpret transport and application data. For this ordinary routed exchange, names and ports identify application endpoints, IP addresses identify hosts, and each frame addresses only the next interface.

② Question

The network layer in the OSI model

8 marks · Part BAsked in: Jan 2024 Q21b

What is the role of the network layer in the OSI model? Explain with working.

③ Learn · step 1 of 3

Describe the network-layer service

The network layer delivers a packet from the source host to the destination host, possibly across many networks. Its duties: logical addressing (IP addresses that identify hosts globally); routing (choosing the path with routing tables built by RIP, OSPF, BGP); forwarding (moving each packet to the right output interface); fragmentation (splitting packets to fit the MTU of the next link); internetworking (joining different physical networks); and optionally congestion control and QoS. Its data unit is the packet, and routers work at this layer.

③ Learn · step 2 of 3

Forward a remote packet step by step

Host ARouter 1Router 2Host B
The destination IP remains Host B at every forwarding decision.

Host A uses its mask to decide that B is remote, then sends the datagram in a frame addressed to its default gateway. Router 1 validates the IPv4 header, decrements TTL, finds the longest matching prefix, and resolves the next-hop link address if necessary. Router 2 repeats the lookup and, because B is on its connected network, builds a frame addressed directly to B.

③ Learn · step 3 of 3

Check delivery and failure handling

B recognizes its own IP and uses the Protocol field to hand the payload to the transport layer. If no prefix or default route matches, the forwarding router discards the packet and may return ICMP Destination Unreachable. IPv4 fragmentation is permitted only when the packet permits it. IPv6 routers report a packet that is too big to the sender.

Common mistake Routing builds or selects routes. Forwarding applies one table lookup to one received datagram.
④ Exam answer

Booklet answer · The network layer in the OSI model

Describe the network-layer service

The network layer delivers a packet from the source host to the destination host, possibly across many networks. Its duties: logical addressing (IP addresses that identify hosts globally); routing (choosing the path with routing tables built by RIP, OSPF, BGP); forwarding (moving each packet to the right output interface); fragmentation (splitting packets to fit the MTU of the next link); internetworking (joining different physical networks); and optionally congestion control and QoS. Its data unit is the packet, and routers work at this layer.

Forward a remote packet step by step

Host ARouter 1Router 2Host B
The destination IP remains Host B at every forwarding decision.

Host A uses its mask to decide that B is remote, then sends the datagram in a frame addressed to its default gateway. Router 1 validates the IPv4 header, decrements TTL, finds the longest matching prefix, and resolves the next-hop link address if necessary. Router 2 repeats the lookup and, because B is on its connected network, builds a frame addressed directly to B.

Check delivery and failure handling

B recognizes its own IP and uses the Protocol field to hand the payload to the transport layer. If no prefix or default route matches, the forwarding router discards the packet and may return ICMP Destination Unreachable. IPv4 fragmentation is permitted only when the packet permits it. IPv6 routers report a packet that is too big to the sender.

① Topic

The physical layouts

Definition · Topology
The topology of a network is the geometric arrangement of its devices (nodes) and the links between them.
ABCDE
Mesh: every pair linked
ABCDEHub
Star: all to a central hub
ABCDE
Ring: each to two neighbours
TopologyAdvantagesDisadvantagesExample
Meshdedicated links: no traffic sharing, robust (one link failure is isolated), private, easy fault findingmany cables and I/O ports; costlybackbone of telephone regional offices
Starcheap and easy to install, add or remove a device; one link failure affects one devicethe hub is a single point of failure; more cable than busoffice LANs with a switch
Busleast cable, easy to installa break in the backbone stops everything; signal reflection; hard to find faultsearly Ethernet (coax)
Ringeach device only needs two links; easy to add a device; fault seen when the token stopsone break can disable the ring (unless dual ring)token ring, FDDI, SONET
Tree / hybridhierarchical, scalableroot failure affects a whole branchcampus networks
Samjho
Mesh = sab ka sab se seedha rishta (mehenga, majboot). Star = sab ek hub se jude (sasta, hub gaya to sab gaya). Ring = haath pakad ke gol ghera, token ghoomta hai.

Opens chatgpt.com in a new tab with a ready-made prompt for this topic.

③ Learn

Counting links and ports

In a full mesh, each of the n devices connects to the other n − 1. Counting from every device gives n(n − 1) link-ends, and every link has two ends, so:

1 of 4
② Question

Network topology types and examples

8 marks · Part BAsked in: Jan 2024 Q21a

What is topology? Describe various types of topologies in computer networks with an example.

8 marks · Part BAsked in: Jul 2024 Q21a

Discuss various types of network topologies in computer networks.

8 marks · Part BAsked in: Jul 2025 Q21a

Describe the various network topologies in detail with neat sketch.

③ Learn · step 1 of 3

Identify the link layout and failure points

Definition · Topology
The topology of a network is the geometric arrangement of its devices (nodes) and the links between them.
1 of 3
③ Learn · step 2 of 3

Sketch bus and tree layouts; compare cable counts

AaBbCcDd
Bus. Each device taps the common backbone.
1 of 6
③ Learn · step 3 of 3

Check which topology fits the application

A switched star suits ordinary office access. A redundant partial mesh provides alternative backbone paths, and a tree scales to multiple floors. A single spoke failure in a star affects one device. A break in a simple bus or single ring can affect the entire segment, and a failed root in a simple tree can isolate downstream branches.

Common mistake An undirected mesh link connects two endpoints. Count each unordered pair once.
④ Exam answer

Booklet answer · Network topology types and examples

Identify the link layout and failure points

Definition · Topology
The topology of a network is the geometric arrangement of its devices (nodes) and the links between them.
ABCDE
Mesh: every pair linked
ABCDEHub
Star: all to a central hub
ABCDE
Ring: each to two neighbours
TopologyAdvantagesDisadvantagesExample
Meshdedicated links: no traffic sharing, robust (one link failure is isolated), private, easy fault findingmany cables and I/O ports; costlybackbone of telephone regional offices
Starcheap and easy to install, add or remove a device; one link failure affects one devicethe hub is a single point of failure; more cable than busoffice LANs with a switch
Busleast cable, easy to installa break in the backbone stops everything; signal reflection; hard to find faultsearly Ethernet (coax)
Ringeach device only needs two links; easy to add a device; fault seen when the token stopsone break can disable the ring (unless dual ring)token ring, FDDI, SONET
Tree / hybridhierarchical, scalableroot failure affects a whole branchcampus networks

Sketch bus and tree layouts; compare cable counts

AaBbCcDd
Bus. Each device taps the common backbone.
RootLRABCD
Tree. The root connects the two distribution branches.

A star uses one cable per workstation. In a full mesh, divide the number of ordered endpoint pairs by two because both endpoints count the same undirected cable.

DevicesStar linksFull-mesh linksFull-mesh ports per device
4463
55104
66155
12126611
5050122549

A bus needs terminations to limit reflection. A tree groups local stars under higher-level switches, so the effect of an outage depends on the tier where it occurs. A full mesh gives every pair a direct link, and a partial mesh adds redundancy only where it is worth the cost.

Check which topology fits the application

A switched star suits ordinary office access. A redundant partial mesh provides alternative backbone paths, and a tree scales to multiple floors. A single spoke failure in a star affects one device. A break in a simple bus or single ring can affect the entire segment, and a failed root in a simple tree can isolate downstream branches.

② Question

Choose star or mesh for a company

8 marks · Part BAsked in: Jul 2025 (P2) Q21a

A company is planning to set up a new network and is considering two Star or Mesh topologies. The company requires high reliability, scalability and cost-effectiveness while ensuring minimal downtime. Compare the structure of these topologies and discuss their advantages and disadvantages in relation to the company's needs. Analyze their suitability and recommend the most suited topology with a clear justification.

③ Learn · step 1 of 3

Draw the two layouts and compare their growth

ABCDESwitch
Star: all links go to the switch
ABCDE
Full mesh: one link for every pair

Assume an example office of 50 workstations to make the cabling comparison concrete. A new workstation needs one new switch connection in a star and a dedicated link to every current workstation in a full mesh.

③ Learn · step 2 of 3

Evaluate uptime, cost and expansion

PointStar (50 PCs)Mesh (50 PCs)
Cables50
Ports per PC149
Cost and installationlow, simplevery high, complex
One link failsonly that PC is cut offtraffic takes another path
Central device failswhole network downno central device
Adding a PCone cable to the switcha cable to every other PC

Recommendation: star topology with a good managed switch (and a spare or redundant switch) for the office. It is cheap, easy to manage and expand, and a faulty cable affects only one user. Mesh (or partial mesh) is worth it only for the few core links between switches and routers, where redundancy matters.

③ Learn · step 3 of 3

Test the recommendation against failures

A failed workstation cable cuts off one workstation in a star. Mitigate a switch or uplink failure with redundant uplinks and switches where the downtime requirement justifies them. The access design remains simple to operate while the core can have multiple routes.

Common mistake Distinguish a spoke-link failure from failure of the central switch when comparing availability.
④ Exam answer

Booklet answer · Choose star or mesh for a company

Draw the two layouts and compare their growth

ABCDESwitch
Star: all links go to the switch
ABCDE
Full mesh: one link for every pair

Assume an example office of 50 workstations to make the cabling comparison concrete. A new workstation needs one new switch connection in a star and a dedicated link to every current workstation in a full mesh.

Evaluate uptime, cost and expansion

PointStar (50 PCs)Mesh (50 PCs)
Cables50
Ports per PC149
Cost and installationlow, simplevery high, complex
One link failsonly that PC is cut offtraffic takes another path
Central device failswhole network downno central device
Adding a PCone cable to the switcha cable to every other PC

Recommendation: star topology with a good managed switch (and a spare or redundant switch) for the office. It is cheap, easy to manage and expand, and a faulty cable affects only one user. Mesh (or partial mesh) is worth it only for the few core links between switches and routers, where redundancy matters.

Test the recommendation against failures

A failed workstation cable cuts off one workstation in a star. Mitigate a switch or uplink failure with redundant uplinks and switches where the downtime requirement justifies them. The access design remains simple to operate while the core can have multiple routes.

① Topic

Switching

Definition · Circuit switching
A dedicated path (circuit) is reserved between the two ends for the whole call, in three phases: setup, data transfer, teardown. Each link is divided into channels by FDM or TDM. Example: the traditional telephone network.
Definition · Packet switching
The message is cut into packets that share the links with other traffic and are stored and forwarded by each switch. In the datagram approach every packet is routed independently (the Internet); in the virtual-circuit approach a path is set up first and all packets follow it (ATM, Frame Relay).
Samjho
Circuit = poori sadak tumhare liye block (phone call). Packet = sab gaadiyan same sadak share karti hain, har gaadi apna raasta dhoondhti hai (internet).

Opens chatgpt.com in a new tab with a ready-made prompt for this topic.

② Question

Circuit switching versus packet switching

8 marks · Part BAsked in: May 2026 Q21a

Differentiate between packet switching and circuit switching by explaining how each handles data transmission and resource allocation with neat diagram.

8 marks · Part BAsked in: Nov 2024 Q21a

Distinguish between Circuit Switching and Packet Switching techniques.

③ Learn · step 1 of 4

Define how each technique allocates resources

Definition · Circuit switching
A dedicated path (circuit) is reserved between the two ends for the whole call, in three phases: setup, data transfer, teardown. Each link is divided into channels by FDM or TDM. Example: the traditional telephone network.
Definition · Packet switching
The message is cut into packets that share the links with other traffic and are stored and forwarded by each switch. In the datagram approach every packet is routed independently (the Internet); in the virtual-circuit approach a path is set up first and all packets follow it (ATM, Frame Relay).
Samjho
Circuit = poori sadak tumhare liye block (phone call). Packet = sab gaadiyan same sadak share karti hain, har gaadi apna raasta dhoondhti hai (internet).
③ Learn · step 2 of 4

Draw the route and distinguish the two types of service

AS1S2S3S4B
Circuit switching reserves capacity along A, S1, S2, S4 and B.
1 of 3
③ Learn · step 3 of 4

Compare timing using store-and-forward

A 3000-bit message crosses 3 links, each 1000 bps (propagation ignored). Packet switching splits it into 3 packets of 1000 bits, so each packet takes 1 s on each link. A switch must receive a whole packet before forwarding it (store and forward):

1 of 5
③ Learn · step 4 of 4

Compare service characteristics and applications

PointCircuit switchingPacket switching
Pathdedicated, reserved for the whole callshared; packets may take different paths (datagram)
Phasessetup, data transfer, teardownnone for datagrams (setup only for virtual circuits)
Resourcesreserved even when silent: wastefulused only when sending: efficient
Delaysetup delay, then constant and lowvariable: queuing at every switch
Orderalways in ordermay arrive out of order (datagram)
Failure of a switchcall is droppedpackets are rerouted
Layerphysicalnetwork
Exampletelephone networkthe Internet
Common mistake In a store-and-forward pipeline, a router must receive the whole packet before forwarding it. Different links can still carry different packets at the same time.
④ Exam answer

Booklet answer · Circuit switching versus packet switching

Define how each technique allocates resources

Definition · Circuit switching
A dedicated path (circuit) is reserved between the two ends for the whole call, in three phases: setup, data transfer, teardown. Each link is divided into channels by FDM or TDM. Example: the traditional telephone network.
Definition · Packet switching
The message is cut into packets that share the links with other traffic and are stored and forwarded by each switch. In the datagram approach every packet is routed independently (the Internet); in the virtual-circuit approach a path is set up first and all packets follow it (ATM, Frame Relay).

Draw the route and distinguish the two types of service

AS1S2S3S4B
Circuit switching reserves capacity along A, S1, S2, S4 and B.
P1P1P2P2AS1S2S3S4B
In a datagram network, packets P1 and P2 can take different paths and share the access links.

A circuit switch binds the selected incoming and outgoing channels during setup. A datagram switch inspects the destination and queues each packet independently. A virtual-circuit packet network sets up a path and uses a short per-link label, while queues and statistical sharing can still operate.

Compare timing using store-and-forward

A 3000-bit message crosses 3 links, each 1000 bps (propagation ignored). Packet switching splits it into 3 packets of 1000 bits, so each packet takes 1 s on each link. A switch must receive a whole packet before forwarding it (store and forward):

SecondLink 1Link 2Link 3
1P1––
2P2P1–
3P3P2P1
4–P3P2
5––P3

The links work in parallel like a pipeline, which is why packets beat sending the whole message hop by hop. Circuit switching needs a setup time first, then sends the 3000 bits straight through in 3 s on the reserved path.

PhaseCircuit switching addressingVirtual-circuit packet switchingDatagram packet switching
Setupend-to-end (telephone) address of the destinationglobal source and destination addresses; each switch assigns a local VCIno setup
Data transferno address: the circuit itself identifies the dataonly the short local VCI, changed at every switchevery packet carries the full destination address
Teardownsignal to release the circuitteardown packet frees the table entriesnone

Compare service characteristics and applications

PointCircuit switchingPacket switching
Pathdedicated, reserved for the whole callshared; packets may take different paths (datagram)
Phasessetup, data transfer, teardownnone for datagrams (setup only for virtual circuits)
Resourcesreserved even when silent: wastefulused only when sending: efficient
Delaysetup delay, then constant and lowvariable: queuing at every switch
Orderalways in ordermay arrive out of order (datagram)
Failure of a switchcall is droppedpackets are rerouted
Layerphysicalnetwork
Exampletelephone networkthe Internet
② Question

Addressing during circuit and packet switching phases

8 marks · Part BAsked in: May 2024 Q21b

(i) Why does a circuit-switched network need end-to-end addressing during the setup and teardown phases? Why are no addresses needed during the data transfer phase for this type of network? (ii) Why does a packet switching network need only end-to-end addressing during the data transfer phase, but no addressing during the setup and teardown phases?

③ Learn · step 1 of 3

Label the circuit's control and data phases

SetupTransferTeardown
The switches reserve, use and release channel mappings.

Setup signaling names the endpoints and chooses an end-to-end circuit. Each switch then stores a mapping from an incoming port and channel to an outgoing port and channel. During transfer, that reserved channel identifies the circuit, so data does not need a destination address. Teardown signaling identifies the call so every switch releases the right resources. The signaling protocol may use a call identifier after setup.

③ Learn · step 2 of 3

Follow an independently addressed datagram

Assume the question means connectionless datagram packet switching. With no set-up or teardown exchange, every packet carries a destination address. Each switch or router can forward it using the matching table entry, even when successive packets follow different routes. The source address identifies the original endpoint for replies or error reporting.

③ Learn · step 3 of 3

Check the distinction with a virtual circuit

A virtual circuit is packet switched but does have signaling phases and per-hop labels. It therefore does not fit the question’s no-setup description. Resource reservation and the need for per-packet addressing are distinct design choices.

Common mistake A datagram network can have established transport connections. TCP setup does not reserve a circuit in the network.
④ Exam answer

Booklet answer · Addressing during circuit and packet switching phases

Label the circuit's control and data phases

SetupTransferTeardown
The switches reserve, use and release channel mappings.

Setup signaling names the endpoints and chooses an end-to-end circuit. Each switch then stores a mapping from an incoming port and channel to an outgoing port and channel. During transfer, that reserved channel identifies the circuit, so data does not need a destination address. Teardown signaling identifies the call so every switch releases the right resources. The signaling protocol may use a call identifier after setup.

Follow an independently addressed datagram

Assume the question means connectionless datagram packet switching. With no set-up or teardown exchange, every packet carries a destination address. Each switch or router can forward it using the matching table entry, even when successive packets follow different routes. The source address identifies the original endpoint for replies or error reporting.

Check the distinction with a virtual circuit

A virtual circuit is packet switched but does have signaling phases and per-hop labels. It therefore does not fit the question’s no-setup description. Resource reservation and the need for per-packet addressing are distinct design choices.

① Topic

Guided and unguided media

MediumStructureBandwidth / reachNoiseUse
Twisted pair (UTP/STP)two insulated copper wires twisted together; RJ-45up to 10 Gbps (Cat 6a), about 100 mtwisting cancels interference; STP has a foil shieldtelephone lines, Ethernet LANs
Coaxialcentral copper core, insulator, braided shield, outer jacket; BNChigher frequencies than twisted pair; km with amplifiersshield gives good immunitycable TV, old Ethernet
Optical fibreglass core and cladding; light by total internal reflectionhighest: Gbps–Tbps over tens of kmimmune to electromagnetic interferencebackbones, undersea links, FTTH
Radio waves3 kHz – 1 GHz, omnidirectionallong range, penetrate wallsinterference between sendersAM/FM radio, mobile
Microwaves1 – 300 GHz, unidirectional, line of sightlong hops between towers / satellitesaffected by rain and obstaclespoint-to-point links, satellite, cellular
Infrared300 GHz – 400 THzshort range, cannot pass wallsno interference between roomsremote controls, IrDA
Samjho
Guided = taar ke andar (twisted pair, coax, fibre). Unguided = hawa mein (radio, microwave, infrared). Interference zyada ho ya door tak tez chahiye to fibre.

Opens chatgpt.com in a new tab with a ready-made prompt for this topic.

② Question

Twisted pair, coaxial cable and optical fibre

8 marks · Part BAsked in: May 2026 Q21b

Compare twisted pair, coaxial cable, and optical fiber as transmission mediums in terms of data rate, distance, and susceptibility to noise. Explain which medium would be most suitable for a high-speed long-distance network and why?

8 marks · Part BAsked in: Jul 2025 Q21b

Compare and contrast twisted pair cables and coaxial cables in terms of their construction, usage and performance.

③ Learn · step 1 of 3

Relate cable construction to signal behaviour

MediumStructureBandwidth / reachNoiseUse
Twisted pair (UTP/STP)two insulated copper wires twisted together; RJ-45up to 10 Gbps (Cat 6a), about 100 mtwisting cancels interference; STP has a foil shieldtelephone lines, Ethernet LANs
Coaxialcentral copper core, insulator, braided shield, outer jacket; BNChigher frequencies than twisted pair; km with amplifiersshield gives good immunitycable TV, old Ethernet
Optical fibreglass core and cladding; light by total internal reflectionhighest: Gbps–Tbps over tens of kmimmune to electromagnetic interferencebackbones, undersea links, FTTH
Radio waves3 kHz – 1 GHz, omnidirectionallong range, penetrate wallsinterference between sendersAM/FM radio, mobile
Microwaves1 – 300 GHz, unidirectional, line of sightlong hops between towers / satellitesaffected by rain and obstaclespoint-to-point links, satellite, cellular
Infrared300 GHz – 400 THzshort range, cannot pass wallsno interference between roomsremote controls, IrDA
Samjho
Guided = taar ke andar (twisted pair, coax, fibre). Unguided = hawa mein (radio, microwave, infrared). Interference zyada ho ya door tak tez chahiye to fibre.
③ Learn · step 2 of 3

Compare use cases and justify a long-distance choice

A twisted pair consists of two insulated wires wound together. A coaxial cable has a central conductor, dielectric, conducting shield and protective jacket. A fibre has an optical core and lower-index cladding within a protective coating and jacket.

Best for long distance at high speed: optical fibre. Light in glass suffers very low attenuation, so repeaters are needed only every tens of km; its bandwidth is far higher than copper; it is immune to electromagnetic interference and lightning; it is thin and light; and it is hard to tap, so more secure. Its drawbacks are cost, careful installation, and a need to separate the two transmission directions, often using a fibre pair or different wavelengths.

③ Learn · step 3 of 3

Check the choice against site requirements

A short office run can use existing twisted-pair Ethernet outlets. A coaxial distribution plant can reuse its shielded shared access network for broadband. Choose single-mode optical fibre for a high-capacity long-distance backbone because low attenuation allows longer spans and the optical signal is immune to electromagnetic interference. Confirm the transceivers and link budget for the actual installation.

Common mistake Data rate and range depend on the standard, cable grade and transceiver. Compare implementation examples before quoting a limit.
④ Exam answer

Booklet answer · Twisted pair, coaxial cable and optical fibre

Relate cable construction to signal behaviour

MediumStructureBandwidth / reachNoiseUse
Twisted pair (UTP/STP)two insulated copper wires twisted together; RJ-45up to 10 Gbps (Cat 6a), about 100 mtwisting cancels interference; STP has a foil shieldtelephone lines, Ethernet LANs
Coaxialcentral copper core, insulator, braided shield, outer jacket; BNChigher frequencies than twisted pair; km with amplifiersshield gives good immunitycable TV, old Ethernet
Optical fibreglass core and cladding; light by total internal reflectionhighest: Gbps–Tbps over tens of kmimmune to electromagnetic interferencebackbones, undersea links, FTTH
Radio waves3 kHz – 1 GHz, omnidirectionallong range, penetrate wallsinterference between sendersAM/FM radio, mobile
Microwaves1 – 300 GHz, unidirectional, line of sightlong hops between towers / satellitesaffected by rain and obstaclespoint-to-point links, satellite, cellular
Infrared300 GHz – 400 THzshort range, cannot pass wallsno interference between roomsremote controls, IrDA

Compare use cases and justify a long-distance choice

A twisted pair consists of two insulated wires wound together. A coaxial cable has a central conductor, dielectric, conducting shield and protective jacket. A fibre has an optical core and lower-index cladding within a protective coating and jacket.

Best for long distance at high speed: optical fibre. Light in glass suffers very low attenuation, so repeaters are needed only every tens of km; its bandwidth is far higher than copper; it is immune to electromagnetic interference and lightning; it is thin and light; and it is hard to tap, so more secure. Its drawbacks are cost, careful installation, and a need to separate the two transmission directions, often using a fibre pair or different wavelengths.

Check the choice against site requirements

A short office run can use existing twisted-pair Ethernet outlets. A coaxial distribution plant can reuse its shielded shared access network for broadband. Choose single-mode optical fibre for a high-capacity long-distance backbone because low attenuation allows longer spans and the optical signal is immune to electromagnetic interference. Confirm the transceivers and link budget for the actual installation.

② Question

Unguided transmission in a rural area

8 marks · Part BAsked in: Jul 2025 (P2) Q21b

In a rural area with limited infrastructure, establishing internet connectivity poses significant challenges. Analyze the various types of unguided transmission media that can be used to deliver internet access in such an environment. Discuss their physical properties, performance characteristics and practical applications. Based on these factors determine the most suitable technology for this scenario.

③ Learn · step 1 of 3

Compare terrestrial radio, microwave, satellite and infrared

Describe radio waves, microwaves (terrestrial and satellite) and infrared using the last three rows of the topic table, with the frequency ranges.

Suggestion: a terrestrial microwave (or long-range radio / WiMAX-type) link from the nearest town's fibre point to a tower in the village, then Wi-Fi or radio inside the village. Where there is no line of sight or the village is very remote, use satellite links. Infrared is unsuitable: it cannot cross walls and works only over a few metres.

③ Learn · step 2 of 3

Plan a backhaul and local access network

ISPBackhaulVillage siteHomes
The backhaul may be microwave or satellite; local distribution can use fixed wireless.

Survey line of sight and spectrum availability first. With a clear path to a tower that already has Internet access, fixed terrestrial radio or point-to-point microwave can serve a settlement. Without a viable terrestrial path, satellite is a practical initial backhaul. Local fixed wireless can share its capacity across nearby homes.

③ Learn · step 3 of 3

Check reach, latency and operating constraints

A satellite terminal needs a clear sky view and power. A geostationary link adds substantial propagation delay, while a low-Earth-orbit system reduces distance but requires coverage and handovers. A terrestrial microwave link can be cheaper over time if the tower and path already exist. Infrared remains useful indoors over short clear paths.

Common mistake Coverage alone does not decide the choice. Account for terrain, backhaul availability and the delay requirement.
④ Exam answer

Booklet answer · Unguided transmission in a rural area

Compare terrestrial radio, microwave, satellite and infrared

Describe radio waves, microwaves (terrestrial and satellite) and infrared using the last three rows of the topic table, with the frequency ranges.

Suggestion: a terrestrial microwave (or long-range radio / WiMAX-type) link from the nearest town's fibre point to a tower in the village, then Wi-Fi or radio inside the village. Where there is no line of sight or the village is very remote, use satellite links. Infrared is unsuitable: it cannot cross walls and works only over a few metres.

Plan a backhaul and local access network

ISPBackhaulVillage siteHomes
The backhaul may be microwave or satellite; local distribution can use fixed wireless.

Survey line of sight and spectrum availability first. With a clear path to a tower that already has Internet access, fixed terrestrial radio or point-to-point microwave can serve a settlement. Without a viable terrestrial path, satellite is a practical initial backhaul. Local fixed wireless can share its capacity across nearby homes.

Check reach, latency and operating constraints

A satellite terminal needs a clear sky view and power. A geostationary link adds substantial propagation delay, while a low-Earth-orbit system reduces distance but requires coverage and handovers. A terrestrial microwave link can be cheaper over time if the tower and path already exist. Infrared remains useful indoors over short clear paths.

② Question

Compare PAN, LAN, MAN and WAN

8 marks · Part BAsked in: Nov 2025 Q21a

Compare and contrast LAN, MAN, WAN, and PAN in terms of coverage, usage, and examples.

Opens chatgpt.com in a new tab with a ready-made prompt for this topic.

③ Learn · step 1 of 3

Compare network scale and typical deployments

PointPANLANMANWAN
Areaaround one person (≈ 10 m)a room, building or campus (≤ few km)a city (≈ 5–50 km)country or the world
Ownerone personone organisationa company or the citymany operators / public
Speedlow to moderatehigh (100 Mbps – 10 Gbps)moderate to highlower per link, long delay
TechnologyBluetooth, USBEthernet, Wi-Ficable TV network, metro Ethernetleased lines, MPLS, satellite
Examplephone ↔ earbudscollege lab, shop with 4 PCs and a printercity cable TV / bank branches in a citythe Internet
③ Learn · step 2 of 3

Classify each link in a campus-to-campus exchange

HeadsetLaptopCampusMetro PoPRemote site
A session can traverse a personal link, a local network and one or more provider networks.

A Bluetooth headset and laptop form a PAN. The laptop and campus printer use a LAN. A provider fiber ring that joins sites around one city is a MAN. Leased links or a provider WAN connect campuses across cities. Each category describes the span and function of a network, so an end-to-end session can cross multiple categories.

③ Learn · step 3 of 3

Verify the classification by function

An office switch interconnects nearby devices under one local administration. A city cable network can span multiple neighborhoods. A wide-area carrier connects LANs or metropolitan networks across regions. Ethernet, radio and optical fibre can be used in several categories, so the physical medium alone does not determine the category.

Common mistake Local administration and geographical scope matter. Wireless technology by itself does not make a network a PAN.
④ Exam answer

Booklet answer · Compare PAN, LAN, MAN and WAN

Compare network scale and typical deployments

PointPANLANMANWAN
Areaaround one person (≈ 10 m)a room, building or campus (≤ few km)a city (≈ 5–50 km)country or the world
Ownerone personone organisationa company or the citymany operators / public
Speedlow to moderatehigh (100 Mbps – 10 Gbps)moderate to highlower per link, long delay
TechnologyBluetooth, USBEthernet, Wi-Ficable TV network, metro Ethernetleased lines, MPLS, satellite
Examplephone ↔ earbudscollege lab, shop with 4 PCs and a printercity cable TV / bank branches in a citythe Internet

Classify each link in a campus-to-campus exchange

HeadsetLaptopCampusMetro PoPRemote site
A session can traverse a personal link, a local network and one or more provider networks.

A Bluetooth headset and laptop form a PAN. The laptop and campus printer use a LAN. A provider fiber ring that joins sites around one city is a MAN. Leased links or a provider WAN connect campuses across cities. Each category describes the span and function of a network, so an end-to-end session can cross multiple categories.

Verify the classification by function

An office switch interconnects nearby devices under one local administration. A city cable network can span multiple neighborhoods. A wide-area carrier connects LANs or metropolitan networks across regions. Ethernet, radio and optical fibre can be used in several categories, so the physical medium alone does not determine the category.

② Question

Bandwidth, latency and four delay components

8 marks · Part BAsked in: Nov 2025 Q21b

Define Bandwidth and Latency. Identify the different components of delay in data communication.

③ Learn · step 1 of 3

Identify what each delay measures

Bandwidth is the link’s bit rate. Latency measures elapsed time until a message arrives. Its components are transmission, propagation, queuing and processing.

1 of 3
③ Learn · step 2 of 3

Compute and check end-to-end time

Consider a 1500-byte frame on a 10 Mb/s link of length 2000 km. Assume that the propagation speed is m/s.

1 of 3
③ Learn · step 3 of 3

Separate capacity, delay and jitter

Bandwidth is the link’s capacity per second. Throughput is the achieved delivery rate. Jitter is a change in latency across successive packets. For a fixed-length link, raising its bit rate shortens serialization and raises the number of bits it can hold in flight. It does not change propagation speed.

Common mistake Convert bytes to bits and kilometres to metres before dividing. Transmission delay and propagation delay measure different events.
④ Exam answer

Booklet answer · Bandwidth, latency and four delay components

Identify what each delay measures

Bandwidth is the link’s bit rate. Latency measures elapsed time until a message arrives. Its components are transmission, propagation, queuing and processing.

ComponentWhat consumes time
TransmissionThe sender serializes the packet’s bits onto the medium.
PropagationThe signal travels along the medium at the propagation speed.
QueuingThe packet waits until the outgoing link can serve it.
ProcessingThe receiving device checks the header and selects the next hop.

Compute and check end-to-end time

Consider a 1500-byte frame on a 10 Mb/s link of length 2000 km. Assume that the propagation speed is m/s.

Delay componentCalculation in milliseconds
Transmission
Propagation
QueuingThe problem gives 2 ms.
ProcessingThe problem gives 0.1 ms.
Total

The capacity in flight on the link is bits. Use one-way propagation for that physical-link calculation. For an end-to-end protocol window, use the round-trip time to estimate the data needed to keep sending continuously.

Separate capacity, delay and jitter

Bandwidth is the link’s capacity per second. Throughput is the achieved delivery rate. Jitter is a change in latency across successive packets. For a fixed-length link, raising its bit rate shortens serialization and raises the number of bits it can hold in flight. It does not change propagation speed.

Practice

Part A quick check

PapersQuestionAnswerWhy
May 2026 Q1Which network connects devices within a home?LAN.A home network usually connects devices throughout one premises. A PAN connects personal peripherals over a much shorter range.
May 2026 Q2Which OSI layer handles framing and link error detection?Data link.It builds frames and checks them for errors on a link.
May 2026 Q3; Jan 2024 Q3; Jul 2024 Q3How many links are required for a full mesh of 12 devices?66.
May 2026 Q4; Nov 2025 Q4; Jul 2025 (P2) Q3Which guided medium uses light, carries the highest data rate and resists electrical interference?Optical fibre.It carries optical rather than electrical signals, so electromagnetic interference does not induce noise in the signal.
Nov 2025 Q1Which topology provides a dedicated link for every pair?Full mesh.Each pair of nodes has its own link.
Nov 2025 Q2Which network type is a city cable TV network?MAN.A cable network serving one city has metropolitan coverage.
Nov 2025 Q3; May 2024 Q3Which layer provides process-to-process delivery?Transport.It uses port numbers to identify the processes at the endpoints.
Dec 2023 Q12Match SMTP, BGP, TCP and PPP to their layers.Option B uses Application, Network, Transport, Data Link.The question classifies BGP by its network routing function. By protocol placement BGP runs over TCP at the application layer. SMTP uses TCP, and PPP frames data on the link.
Jan 2024 Q1; Jul 2024 Q1Which OSI layer handles encryption and decryption?Presentation.The presentation layer handles representation changes, including encryption in the OSI model.
Jan 2024 Q2; Jul 2024 Q2Which topology passes a token from station to station?Ring.A token can circulate around the stations in a fixed order.
Jan 2024 Q4; Jul 2024 Q4Which coaxial frequency range is given in the standard textbook comparison?100 kHz to 500 MHz.This is the expected textbook option. Actual frequency limits depend on the coaxial system and installation.
May 2024 Q1What does a WAN interconnect?LANs.A WAN lets networks at different sites communicate across a large area.
May 2024 Q2Which switching method establishes a dedicated end-to-end path?Circuit switching.Setup reserves channels along the path for the duration of the call.
May 2024 Q4Which example uses guided media?A local telephone system.Traditional local loops carry signals through copper twisted pairs.
Nov 2024 Q1How many dedicated links connect six devices as a full mesh?15.
Nov 2024 Q2What is the direction of communication from a computer to a traditional monitor?Simplex.The textbook video link carries the display signal in one direction.
Nov 2024 Q4What is the data unit at layer 2?A frame.The data-link layer groups the bits it sends on a link into frames.
Jul 2025 Q1; Jul 2025 (P2) Q2What is the total time for the entire message to reach its destination?Latency.It can include serialization, propagation, processing and queuing delays.
Jul 2025 Q2Which layout connects each node directly to a central device?Star.Adding or removing a spoke need not change any other spoke.
Jul 2025 Q3; Jul 2025 (P2) Q4What multiplexing can allocate circuit-switched capacity?FDM or TDM.A circuit can use an assigned frequency band or assigned repeating time slots. Either is technically valid if both are offered.
Jul 2025 Q4What happens to headers as data moves down the layers?Headers are added.Each protocol encapsulates the payload so the peer can interpret it.
Jul 2025 (P2) Q1What type of network connects four computers and a printer in one shop?LAN.All devices share a network within a single local site.

Opens chatgpt.com in a new tab with a ready-made prompt for this topic.

Unit 1 checklist

Before you move on, can you do each of these without looking?

0 of 6 topics complete

Not sure about one? Go back to it in the topic list and press Next step through the worked question once more. Ticks are saved in this browser. Final checklist for the subject →

Unit complete. Up next: Unit 2, IP Addressing.

All units