Skip to content
Skip to page content
soylai.com

Computer Networks — notes

6 sections 6 min readBeta

1. Networks and how they began

A computer network links computers and devices so they can share resources (printers, storage), data and communication.

Evolution: ARPANET (1969), a US defence research network, linked a few university computers. It adopted TCP/IP in 1983. NSFNET (1986) connected researchers to supercomputers and widened the network beyond defence. Networks joining through TCP/IP became the Internet, a network of networks. The World Wide Web was proposed at CERN in 1989 and made the Internet easy to use.

From one defence project to a network of networks.

Key terms

Network

Two or more devices linked to share resources and data.

Internet

The worldwide network of networks that use TCP/IP.

2. Data communication terms

Components: sender, receiver, message, communication medium, protocol.

  • Bandwidth: the range of frequencies a channel can carry, in hertz (Hz); it limits how much data can flow.
  • Data transfer rate: bits sent per second: bps, Kbps, Mbps, Gbps. Remember 1 byte = 8 bits.
  • Time to send = size in bits ÷ rate in bits per second (use the same prefix on both sides, or the conversion the question states).
  • IP address: logical address of a device. IPv4: 32 bits, four numbers 0–255 (192.168.1.10). IPv6: 128 bits, hexadecimal groups.
  • Switching: circuit (path reserved for the whole session, e.g. landline call) vs packet (data split into packets routed independently and reassembled, e.g. the Internet).
Imagined files. Convert bytes to bits first.
StepReport-card uploadVideo download
Size600 KB12 MB
In bits (× 8)4,800 Kb96 Mb
Rate48 Kbps4 Mbps
Time = bits ÷ rate100 s24 s
Comparison table: circuit switching reserves a path that sits idle in pauses, as in a landline call; packet switching sends packets separately over shared links, as in e-mail
Circuit switchingPacket switching
PathReserved end to end before talkingNo reservation; each packet routed on its own
Use of the lineIdle during pausesShared by many users
ExampleLandline callE-mail, web pages
Table comparing IPv4 (32 bits, four numbers from 0 to 255 separated by dots) with IPv6 (128 bits, groups of hexadecimal digits separated by colons)
IPv4IPv6
Size32 bits128 bits
Written asFour numbers 0–255 with dotsEight groups of hexadecimal digits with colons
Sample172.16.4.202001:db8::7

Key terms

Bandwidth

Frequency range of a channel, in hertz.

Data transfer rate

Number of bits sent per second.

Packet switching

Sending data as independently routed packets over shared links.

3. Transmission media

Wired (guided):

  • Twisted pair (Ethernet cable, with RJ45 plugs): cheap, flexible, for short runs; picks up noise.
  • Coaxial: central copper conductor with shielding; used for cable TV.
  • Optical fibre: carries light; highest speed, immune to electrical noise, costly.

Wireless (unguided):

  • Radio waves: omnidirectional, pass through walls (Wi-Fi, mobiles).
  • Microwaves: straight line between dishes; long links and satellites.
  • Infrared: short range, line of sight only (remotes).
Table of wired media: twisted pair is cheap but noisy over distance, coaxial is better shielded, optical fibre carries light at the highest speed but costs more
MediumCarriesStrengthLimitation
Twisted pairElectrical signalsCheap, flexibleShort runs; picks up noise
CoaxialElectrical signalsBetter shieldingBulkier, costlier
Optical fibreLightHighest speed, no electrical noiseCostly, needs care to join
Table of wireless media: radio waves spread in all directions through walls, microwaves need a line of sight between dishes, infrared works only over a short line of sight
MediumHow it travelsTypical use
Radio wavesAll directions, through wallsWi-Fi, mobile phones, FM
MicrowavesStraight line between dishesLong links between towers, satellite
InfraredShort line of sight, not through wallsTV remotes
Worked example table matching needs to media: a low-budget room uses twisted pair, a noisy site uses optical fibre, moving laptops use Wi-Fi radio waves, and distant towers use microwave
NeedMedium
20 PCs in one room, low budgetTwisted pair
Two buildings beside a noisy workshopOptical fibre
Laptops moving around a hostelRadio waves (Wi-Fi)
Two towers 25 km apart in open countryMicrowave

Key terms

Guided medium

A medium that carries the signal along a physical path such as a cable.

Optical fibre

Glass or plastic strands carrying data as pulses of light.

4. Network devices

  • Modem: modulator–demodulator; digital data ↔ line signal.
  • Ethernet card (NIC): connects a computer to a wired LAN; has a unique MAC address.
  • RJ45: 8-pin connector on twisted-pair cable.
  • Repeater: regenerates a weakened signal on a long run.
  • Hub: sends every frame to all ports.
  • Switch: sends a frame only to the destination port.
  • Router: connects different networks and chooses routes using IP addresses.
  • Gateway: connects networks with different protocols, translating between them.
  • Wi-Fi card: wireless network adapter.
Table of devices: a modem converts between digital data and the line signal, an Ethernet card connects a computer to a wired network, RJ45 is the eight-pin plug, and a Wi-Fi card gives wireless access
DeviceJob
ModemConverts digital data to the line signal and back
Ethernet card (NIC)Connects a computer to a wired LAN; carries its MAC address
RJ45The 8-pin plug on an Ethernet cable
Wi-Fi cardLets a computer join a wireless network
Table: a repeater regenerates a weak signal on a long cable, a hub sends a frame to every port, and a switch sends it only to the destination port
DeviceSends a frame toWorks across
RepeaterOnward, after regenerating itOne long cable
HubEvery portOne LAN
SwitchOnly the destination portOne LAN
Router: between networks. Gateway: between different protocols.

Key terms

Switch

A device that forwards each frame only to the port of its destination.

Gateway

A device joining networks that follow different protocols.

5. Network types, topologies and campus design

Types by area: PAN (a few metres), LAN (building or campus), MAN (city), WAN (country or more; the Internet).

Topologies:

  • Bus: one backbone with terminators; least cable; a backbone break stops all.
  • Star: each node to a central switch; faults isolated; centre is a single point of failure.
  • Tree: stars joined in levels; expands easily; a fault high up cuts a branch.

Designing a campus network (board pattern): server in the block with the most computers; a star from that block; a repeater on any run longer than the limit given; a switch in each block; a router (with a modem) for the Internet; a WAN to a distant city office.

Table of network types by area: PAN around one person, LAN in a building or campus, MAN across a city, WAN across countries such as the Internet
TypeCoversExample
PANA few metres around one personPhone and earbuds by Bluetooth
LANA room, building or campusA school computer lab
MANA cityBranches of a bank in one city
WANCountries and continentsThe Internet
Bus: one shared backbone.
Star: every node has its own link to the centre.
Tree: stars joined in levels.
Imagined campus. Computers per block in brackets.

Key terms

Topology

The layout in which nodes of a network are connected.

Repeater placement

On every cable run longer than the stated distance limit.

6. Protocols and web services

Protocols: HTTP/HTTPS (web pages; HTTPS encrypted), FTP (files), SMTP (send mail), POP3 (download mail), PPP (direct link between two nodes), TELNET (remote login, unencrypted), VoIP (voice over the Internet), TCP/IP (TCP: packets and reliability; IP: addressing and routing).

Web services: the WWW is a service on the Internet made of linked pages. HTML displays pages with fixed tags; XML stores and carries data with user-defined tags. A domain name (e.g. school.edu.in, top-level domain in) is turned into an IP address by DNS. A URL = protocol + domain name + path. A web browser requests and shows pages; a web server stores and sends them; web hosting is renting space on an always-on server.

Table of protocols: HTTP and HTTPS for web pages, FTP for files, SMTP to send mail, POP3 to download mail, PPP for a direct link, TELNET for remote login, VoIP for voice, TCP/IP for packets and routing
ProtocolUsed for
HTTP / HTTPSWeb pages (HTTPS encrypted)
FTPMoving files to and from a server
SMTPSending and relaying e-mail
POP3Downloading e-mail to your device
PPPA direct link between two nodes
TELNETRemote login (not encrypted)
VoIPVoice calls over the Internet
TCP/IPPackets, addressing and routing
SMTP sends and relays; POP3 downloads.
Protocol → domain name → path (imagined site).

Key terms

URL

The complete address of a resource on the web.

DNS

The system that translates domain names into IP addresses.

Web hosting

Renting space on a web server so a site is always reachable.

Exam tips

Common mistakes

  • Dividing bytes by bits per second without multiplying by 8.
  • Calling a switch a hub: a hub sends to all ports.
  • Using "router" when networks follow different protocols (that is a gateway).
  • Mixing up SMTP (send) and POP3 (download).
  • Treating the Internet and the Web as the same thing.

How marks are usually awarded

  • 1 mark: one fact or one correct choice.
  • 2–3 marks: the choice plus a reason for each point.
  • 5 marks (campus design): one mark each for server, layout, repeater, device and network type or medium, each justified from the given table.