AmbifulWorksheets
Cheat sheet
CBSE · Class 12 · Computer Science

Computer Networks

How networks grew, PAN, LAN, MAN and WAN, network devices, bus, star, tree and mesh topologies, MAC and IP addresses, DNS, URLs and the web.

Key ideas

Remember

Links for n computersmesh: n(n − 1)/2 (10 computers → 45); star with a switch: n; ring: n; bus: one backbone
Address sizesMAC 48 bits (12 hex digits); IPv4 32 bits = 4 bytes; IPv6 128 bits
Valid IPv4192.168.10.5 is valid; 192.168.300.5 is not, since 300 is above 255
URL partshttps://learn.example.com/notes/ch1.html: protocol https, domain learn.example.com, path /notes/ch1.html
Top-level domains.com commercial; .org organisation; .edu education; .gov government; .net network; .in India
Campus layoutserver in the block with the most computers; a repeater on any cable over 100 m; a switch in each block

Watch out

Worked example

A school has four blocks: Junior (49 computers), Science (12 computers), Sports (25 computers), Library (38 computers). Junior is 71 m from Library, 107 m from Sports and 92 m from Science. (a) Which block should house the server, and why? (b) Suggest a topology and draw the layout in words. (c) Where would a repeater be needed if signals weaken beyond 100 m? (d) Which device in each block connects its computers? (e) What type of network is this?

Working: the server goes where most computers are; repeaters on long cables

Answer: (a) Junior, as it has the most computers (49), so most traffic stays inside it; (b) a star (or tree) topology with Junior at the centre, a cable from it to each other block; (c) on every cable longer than 100 m: Junior–Sports (107 m); (d) a switch; (e) a LAN.