Skip to content
Computer Aptitude · 2-4 Qs

Networking & Internet

Read the notes once, then practise. Every question shows the full solution right after you answer.

Study notes

Network types

TypeFull formCoverage / example
PANPersonal Area NetworkA few metres – Bluetooth earbuds, phone to laptop
LANLocal Area NetworkOffice, branch or building; Ethernet, Wi-Fi
MANMetropolitan Area NetworkA city; cable TV network
WANWide Area NetworkCountries / world; the Internet is the largest WAN

Intranet = private network for employees only; Extranet = intranet partly opened to partners, suppliers or customers; VPN = encrypted tunnel over a public network.

Topologies

TopologyLayoutPoint to remember
BusAll nodes on one backbone cableBackbone failure stops the network; terminators at ends
StarAll nodes to a central hub/switchMost common in LANs; hub failure stops the network
RingEach node connected to two neighbours in a loopData travels in one direction; token passing
MeshEvery node connected to every otherLinks = n(n−1)/2; most reliable, most expensive
TreeHierarchy of star networksRoot node at the top
HybridMix of two or moreLarge organisations

OSI model (7 layers)

No.LayerFunctionData unit / devices / protocols
7ApplicationNetwork services to the userHTTP, FTP, SMTP, DNS, Telnet
6PresentationTranslation, encryption, compressionJPEG, ASCII, SSL/TLS (textbook)
5SessionEstablishes, manages, ends sessionsNetBIOS, RPC
4TransportEnd-to-end delivery, segmentation, error and flow controlSegment; TCP, UDP
3NetworkLogical (IP) addressing and routingPacket; router; IP, ICMP
2Data LinkFraming, MAC addressing, error detectionFrame; switch, bridge
1PhysicalTransmits raw bits over the mediumBits; hub, repeater, cables

Mnemonic (7 to 1): All People Seem To Need Data Processing. The OSI model was published by ISO.

TCP/IP model (4 layers)

Application (OSI 5–7) → Transport (OSI 4) → Internet (OSI 3, IP addressing and routing) → Network Access / Link (OSI 1–2). TCP/IP was developed by Vint Cerf and Bob Kahn.

TCP is connection-oriented and reliable (acknowledgements, retransmission). UDP is connectionless, faster, with no delivery guarantee (video streaming, online games, DNS queries).

Protocols and port numbers

ProtocolFull form / usePort
FTPFile Transfer Protocol20 (data), 21 (control)
SSHSecure Shell – encrypted remote login22
TelnetUnencrypted remote login23
SMTPSimple Mail Transfer Protocol – sending mail25 (587 for client submission)
DNSDomain Name System – names to IP addresses53
DHCPDynamic Host Configuration Protocol – assigns IP automatically67 (server), 68 (client)
HTTPHyperText Transfer Protocol80
POP3Post Office Protocol v3 – download mail110
IMAPInternet Message Access Protocol – mail synced on server143
SNMPSimple Network Management Protocol161
HTTPSHTTP secured with TLS443
RDPRemote Desktop Protocol3389

ARP finds the MAC address for a known IP address; ICMP carries error messages and is used by ping.

IPv4 vs IPv6

FeatureIPv4IPv6
Length32 bits128 bits
Format4 decimal numbers (0–255) separated by dots, e.g. 192.168.1.108 groups of 4 hex digits separated by colons, e.g. 2001:0db8::1
Address spaceAbout 4.3 billion (2^32)2^128
BroadcastYesNo (uses multicast and anycast)
SecurityIPsec optionalIPsec support built in

Loopback: 127.0.0.1 (IPv4), ::1 (IPv6). Private IPv4 ranges: 10.x.x.x, 172.16–31.x.x, 192.168.x.x. A MAC address is 48 bits, written as six pairs of hex digits.

Network devices

  • Hub – broadcasts to all ports (Layer 1).
  • Repeater – regenerates weak signals (Layer 1).
  • Switch – sends frames only to the destination port using MAC addresses (Layer 2).
  • Bridge – joins two LAN segments (Layer 2).
  • Router – connects different networks using IP addresses (Layer 3).
  • Gateway – connects networks with different protocols (protocol converter).
  • Modem – modulator-demodulator; converts digital to analog and back.
  • NIC – network interface card; holds the MAC address.

Transmission modes and media

Simplex (one way only – TV broadcast, keyboard to CPU), half-duplex (both ways, one at a time – walkie-talkie), full-duplex (both ways together – telephone). Media: twisted pair (RJ-45), coaxial, optical fibre (light pulses, highest bandwidth), radio, microwave, satellite. Bandwidth is measured in bits per second (bps, Mbps, Gbps). Wi-Fi = IEEE 802.11; Ethernet = IEEE 802.3; Bluetooth = originally IEEE 802.15.1.

Internet basics

  • ARPANET (1969, US Department of Defense) – forerunner of the Internet.
  • WWW – invented by Tim Berners-Lee at CERN in 1989; uses HTML, HTTP and URLs.
  • URL – Uniform Resource Locator: https://www.example.co.in/page = protocol + domain + path. .in is India's country-code top-level domain; .com, .org, .gov are generic/sponsored TLDs.
  • ISP – Internet Service Provider. Browser – Chrome, Edge, Firefox. Search engine – Google, Bing.
  • Cookies – small text files saved by websites in the browser.
  • E-mail – CC (copy, visible to all), BCC (blind copy, hidden from other recipients). Ray Tomlinson sent the first network e-mail using @.
  • VoIP – voice calls over the Internet.
Exam tip: Router = Network layer, Switch = Data Link layer, Hub = Physical layer. Port 80 is HTTP and 443 is HTTPS – never swap them.
Free SBI Clerk practice with solutionsStart free →