Computer Networks Class 12 Notes — Chapter 10 Revision Guide

If you are revising the night before a test, start here: a computer network is simply an interconnection of two or more computers or computing devices that lets them share data and resources (NCERT, p. 182).

These Computer Networks Class 12 notes compress Chapter 10 of the NCERT Computer Science textbook into the essentials — network types from PAN to WAN, networking devices, topologies, MAC and IP addressing, the Internet versus the Web, and DNS — with the tables, formulas and worked examples you need for a quick pass.

The notes follow the 2026-27 session and stick to the rationalised NCERT text, which you can always verify on the official NCERT textbook portal. They are part of the Class 12 Computer Science notes collection, built for revision rather than first-time reading.

Computer Networks Chapter at a Glance

This chapter builds one idea on another in a fixed order. Keep this chain in mind while revising:

  • Computer network — two or more computers or computing devices interconnected to share data and resources (p. 182).
  • Evolution — began with the ARPANET research project of the 1960s and grew into the Internet (p. 183).
  • Types — classified by geographical area covered and data transfer rate: PAN, LAN, MAN, WAN (p. 184).
  • Devices — modem, Ethernet card/NIC, RJ45, repeater, hub, switch, router and gateway connect and manage nodes (p. 187–191).
  • Topologies — the arrangement of computers and peripherals: mesh, ring, bus, star and tree (p. 191).
  • Addressing — every node is identified by a permanent MAC address and a changeable IP address (p. 194).
  • Internet, Web, DNS — the Internet is the global network, the Web is the interlinked pages on it, and DNS converts domain names to IP addresses (p. 195–198).

If you are revising the complete book, keep these notes with the related database concepts and SQL notes from this subject.

Two figures give the chapter’s core picture. Figure 10.1 shows a social network — people as interconnected nodes — which is exactly what the word “network” means: a set of two or more similar things or people interconnected with each other (p. 182).

When the members are computers instead of people, you get the computer network of Figure 10.2: computers and hosts such as printers connected so they can share data and resources (p. 182).

Circles and connecting lines showing people as nodes in a social network, illustrating that a network is any group of interconnected members
Figure 10.1: Interconnection forming a social network. Source: NCERT
A computer network with desktop computers, a laptop and a printer connected to a central device, showing how nodes share data and resources
Figure 10.2: A computer network. Source: NCERT

Key Terms You Must Know: Definitions with Examples

These are the chapter’s load-bearing terms. Learn the meaning and one example for each, and most questions in the chapter become manageable.

Term Meaning Example
Network (p. 182) A set of two or more similar things or people interconnected with each other. Social network, mobile network, network of computers.
Computer network (p. 182) Interconnection among two or more computers or computing devices, allowing them to share data and resources. Computers in a room sharing a printer.
Node (p. 182) Any device on a network that can receive, create, store or send data to different network routes. Modem, hub, switch, router, printer, computer or server.
Packet (p. 182) A smaller chunk into which data is divided before travelling over a network. A file split into packets and reassembled at the destination.
Ethernet (p. 185) A set of rules that decides how computers and devices connect through cables in a LAN. 10 Mbps Ethernet; 1000 Mbps Gigabit Ethernet.
ISP (p. 189) Any organisation that provides services for accessing the Internet. Local broadband service providers.
Topology (p. 191) The arrangement of computers and other peripherals in a network. Mesh, ring, bus, star, tree.
MAC address (p. 194) A permanent 12-digit hexadecimal physical address engraved on the NIC. Six-digit manufacturer OUI + six-digit serial number.
IP address (p. 194) A unique logical address that identifies each node using the Internet Protocol. 192.168.0.178 (IPv4).
Domain name (p. 197) A name given to a server against its IP address, because names are easier to remember. ncert.nic.in.
Domain name resolution (p. 197–198) Conversion of a domain name to its corresponding IP address, done by a DNS server. ncert.nic.in → 164.100.60.233.

From ARPANET to the Internet: Evolution of Networking

In the 1960s, the Advanced Research Projects Agency Network (ARPANET) — a research project commissioned in the U.S. Department of Defence — set out to connect academic and research institutions located at different places for scientific collaboration. The first message was communicated between the University of California, Los Angeles (UCLA) and the Stanford Research Institute (SRI).

More organisations joined ARPANET over time, many independent smaller networks formed, and these networks gradually interconnected into today’s Internet (NCERT, p. 183).

Figure 10.3 is a timeline of the milestones in this journey. For revision, remember the two facts above — the project’s origin and the first message — and the idea that independent networks merged rather than one network growing alone.

A timeline listing milestones in the evolution of networking from ARPANET to the Internet, showing how independent networks merged over time
Figure 10.3: Timeline showing evolution of networking. Source: NCERT

PAN, LAN, MAN and WAN: Network Types Compared

Computer networks are classified by geographical area covered and data transfer rate (NCERT, p. 184). Learn the four types in order of growing size: PAN, LAN, MAN, WAN.

Network Coverage Speed / key fact Example
PAN (Personal Area Network) (p. 184) About 10 metres. Connects a few personal devices; wired or wireless. Phone to laptop by USB (wired PAN); two smartphones on Bluetooth (wireless PAN/WPAN).
LAN (Local Area Network) (p. 185) Up to about 1 km — a room, floor, office or campus. High speed, 10 Mbps (Ethernet) to 1000 Mbps (Gigabit Ethernet); comparatively secure because only authentic users access it. Computers and a printer in a school laboratory.
MAN (Metropolitan Area Network) (p. 185–186) A city or town, 30–40 km; often many LANs joined together. Data rate is in Mbps but considerably less than LAN. Cable TV network or cable-based broadband Internet.
WAN (Wide Area Network) (p. 186) Different locations of a country, or different countries or continents. Connects LANs and MANs over wired/wireless media; the Internet is the largest WAN. A bank connecting its branches across cities.

Figure 10.4 shows a PAN: a few personal devices around one user. Figure 10.5 shows a LAN: devices inside one building or campus. Figure 10.6 shows a MAN spreading across a city and linking several local networks. Figure 10.7 shows a WAN joining LANs across distant cities and countries.

A personal area network with a laptop, mobile phone and printer connected around one person within about ten metres, the smallest network type
Figure 10.4: A Personal Area Network. Source: NCERT
A local area network connecting computers and a printer inside a building, illustrating a LAN limited to roughly one kilometre
Figure 10.5: A Local Area Network. Source: NCERT
A metropolitan area network spreading across a city and linking several local networks, illustrating a MAN spanning 30 to 40 kilometres
Figure 10.6: A Metropolitan Area Network. Source: NCERT
A wide area network joining local networks across different cities and countries, illustrating how the Internet connects networks worldwide
Figure 10.7: A Wide Area Network. Source: NCERT

Decoding the textbook’s Think and Reflect: you can reach your bank account from anywhere in the world — is the bank’s network a LAN, MAN or WAN? Work it out layer by layer.

Each branch runs a LAN for its local devices; the branches are interconnected across cities, so the bank’s own backbone is a WAN; and customers reach their accounts through the Internet, which is itself the largest WAN (p. 186).

Network Devices: What Each One Does (Modem to Gateway)

These devices sit between computers and the transmission medium, and each has one specific job. Learn the table first, then look at the figures.

Device Full form / also known as Function Key point
Modem (p. 187) MOdulator-DEModulator Converts between digital bits and analog signals. Sender-side modem modulates (digital → analog); receiver-side modem demodulates (analog → digital).
Ethernet card (p. 188) Network Interface Card (NIC) Wired network adapter; the interface between the computer and the network; a circuit board on the motherboard. Each NIC carries a MAC address that uniquely identifies the computer.
RJ45 (p. 188) Registered Jack-45 Eight-pin connector used exclusively with Ethernet cables. The standard plastic plug at the end of network cables, fitting into NIC jacks.
Repeater (p. 189) — Regenerates weakened signals on a cable. Analog device; signals lose strength after about 100 m.
Hub (p. 189) Ethernet hub Connects devices through wires; sends arriving data out on all other lines. If data from two devices arrives at the same time, it collides.
Switch (p. 189) — Reads the destination address from each packet, looks it up in a table, and forwards only to that device. Can forward multiple packets at once; drops noisy or corrupted signals and asks the sender to resend.
Router (p. 190) — Receives, analyses and transmits data to other networks; connects a LAN to the Internet. Can repackage data — for example, split large packets for a network that handles only smaller ones; wireless routers provide Wi-Fi and often combine router, modem and switch.
Gateway (p. 190–191) — Entry and exit point of a network; all data coming in or going out must pass through it. Routes packets using the best path; a firewall is usually integrated with it. For simple home connections, the gateway is usually the ISP.

An ISP (Internet Service Provider) is any organisation that provides services for accessing the Internet (p. 189). The signals these devices handle travel through transmission media, which the Class 12 data communication notes cover.

Hub versus Switch: the comparison that matters

The hub and the switch both connect multiple computers, but they behave completely differently when data flows (NCERT, p. 189).

Basis of comparison Hub Switch
Working Broadcasts arriving data to every other line. Looks up the destination address in a table and forwards only to that device.
Collision behaviour Data from two devices arriving together collides. Can forward multiple packets at the same time; drops corrupted signals and asks the sender to resend.
Efficiency Wastes bandwidth — worse under traffic. Selective forwarding makes it efficient.

The figures below show what these devices look like in practice.

Figure 10.8 shows the modem’s role: the computer’s digital data is converted into an analog signal for the medium, and a modem at the other end converts it back.

A modem placed between a computer and the transmission medium, showing digital data converted into an analog signal for the line
Figure 10.8: Use of modem. Source: NCERT

Figure 10.9 shows the NIC — the circuit board mounted on the motherboard that acts as the interface between the computer and the wired network. Figure 10.10 shows the RJ45, the eight-pin plastic plug at the end of every Ethernet cable that fits into the NIC’s jack.

A network interface card shown as a circuit board mounted on the motherboard, the wired adapter that carries the permanent MAC address
Figure 10.9: A Network Interface Card. Source: NCERT
An RJ45 eight-pin plastic connector at the end of an Ethernet cable, the standard plug used for wired network connections
Figure 10.10: RJ 45. Source: NCERT

Figure 10.12 shows Ethernet cables connected to a switch — the device a home or office uses to create a LAN or reach the Internet.

Ethernet cables plugged into the ports of a network switch, the device that reads destination addresses and forwards packets selectively
Figure 10.12: Cables connected to a network switch. Source: NCERT

Figure 10.13 shows a router — frequently wireless — that gives Wi-Fi access to devices and usually combines the jobs of a router, modem and switch.

A router with antennae connecting a local network to the internet, showing the device that repackages and forwards data between networks
Figure 10.13: A router. Source: NCERT

Figure 10.14 shows a gateway sitting at the edge of the organisation’s network — every packet entering or leaving passes through it.

A network gateway device at the boundary between an organisation's network and the internet, marking the entry and exit point for all data
Figure 10.14: A network gateway. Source: NCERT

Network Topologies: Mesh, Ring, Bus, Star and Tree

A topology is the arrangement of computers and other peripherals in a network (p. 191). The chapter covers five: mesh, ring, bus, star and tree.

Topology Wiring / cost Reliability Security Failure effect
Mesh (p. 192) Every device connected to every other; complex wiring, high cabling cost, many redundant connections. Handles heavy traffic — multiple nodes can transmit simultaneously. Most secure — each cable between two nodes carries different data. A node going down does not break transmission between other nodes.
Ring (p. 192) Each node connected to two neighbours (one on each side), forming a ring; link is unidirectional. Less reliable. Less secure. A down node breaks the ring, so data stops.
Bus (p. 192–193) Single shared backbone cable; cheaper and easier to maintain. Less reliable. Less secure. A down node does not break the backbone; a break in the bus cable stops the network.
Star (p. 193) Each device connected by its own cable to a central hub or switch; effective, efficient and fast. One device’s failure does not affect the rest. Central node can broadcast to all or unicast to the destination only. Failure of the central device fails the complete network.
Tree / hybrid (p. 193) Hierarchical, with branches of basic topologies; used in WANs where multiple LANs connect. Combines the behaviour of its branches. Varies with the branches used. Data from the source reaches the centralised device, then passes through every branch.

Bus and Ring when a node goes down (Think and Reflect, p. 193)

  • Bus: a node that fails does not break the shared backbone — the remaining nodes keep communicating. The network dies only if the backbone cable itself breaks.
  • Ring: data flows unidirectionally and must pass through every node, so a failed node breaks the ring and transmission stops.

Figure 10.15 shows a mesh: every node with its own direct cable to every other node — that is why the wiring is complex and expensive.

A mesh topology with every node connected to every other node by its own cable, showing the many redundant links that make it reliable
Figure 10.15: A mesh topology. Source: NCERT

Figure 10.16 shows a ring: each node connected to exactly two neighbours, forming a closed loop.

A ring topology where each node connects to two neighbours forming a closed loop, with data flowing in a single direction
Figure 10.16: A ring topology. Source: NCERT

Figure 10.17 shows a bus: all nodes tapping into one backbone cable.

A bus topology with all nodes sharing a single backbone cable, showing the cheap and simple layout of a bus network
Figure 10.17: A bus topology. Source: NCERT

Figure 10.19 shows a hybrid or tree topology: four star topologies joined by a bus — a realistic combination used when multiple LANs are connected.

A hybrid topology joining four star networks through a central bus, showing how basic topologies combine into a tree
Figure 10.19: A hybrid topology. Source: NCERT

The textbook’s star topology figure (10.18) is represented here in prose: every device connects by its own cable to a central hub or switch, and only the central device’s failure brings the network down (p. 193). If a question asks you to draw or identify a star, look for the central node and the independent cables.

The Key Formula: Cables Needed in a Mesh Topology

A fully connected mesh of \( n \) nodes needs exactly \[ \text{Number of cables} = \frac{n(n-1)}{2} \]

where \( n \) = number of nodes (devices) in the mesh, and the unit of the answer is cables or wires (NCERT, p. 192).

Why \( \frac{n(n-1)}{2} \)? Each node must have a cable to every other node, so \( n \) nodes each need \( n-1 \) cables — that gives \( n(n-1) \) links. But every link is counted twice (once from each end), so divide by 2.

Compare with star: this formula applies only to mesh. In a star, each device needs exactly one cable to the central device, so \( n \) nodes need only \( n \) cables.

Worked Examples: Cable Count in Mesh vs Star

Example A: Mesh with 6 nodes

Step 1: Write the formula with \( n = 6 \):

\[ \frac{n(n-1)}{2} = \frac{6 \times 5}{2} \]

  1. Step 1: Multiply: \( 6 \times 5 = 30 \).
  2. Step 2: Divide by 2: \( 30 \div 2 = 15 \).

Final answer: 15 cables.

Example B: 10 nodes — mesh versus star

Step 1: Mesh with \( n = 10 \):

\[ \frac{10 \times 9}{2} = 90 \div 2 = 45 \]

Step 2: Star with the same 10 nodes: one cable from each node to the centre, so \( n = 10 \) cables.

Final answer: 45 cables for a mesh; 10 cables for a star.

The mesh needs 4.5 times more cabling than a star for the same 10 nodes. That gap is exactly why mesh is so reliable — many alternative routes exist — but also why it is the most expensive topology (p. 192).

MAC Address vs IP Address: How Networks Identify Nodes

A network must tell the sender from the receiver before it can route data. It does this with two addresses: the permanent MAC and the changeable IP (p. 194).

Point of comparison MAC address IP address
What it is The physical or hardware address engraved on the NIC at the time of manufacture (NCERT, p. 194). A logical address assigned to each node that uses the Internet Protocol (p. 194).
Permanence Permanent — cannot be changed under any circumstances. Can change when a node is removed from one network and connected to another (p. 195).
Length and form 12-digit hexadecimal number, 48 bits; first 6 digits are the manufacturer’s ID (OUI), last 6 are the serial number. IPv4: 32-bit, four decimal numbers from 0–255 separated by dots, e.g. 192.168.0.178. IPv6: 128-bit, eight hexadecimal groups separated by colons, e.g. 2001:CDBA:0000:0000:0000:0000:3257:9652 (p. 195).
Job Identifies the device on the local network. Routes data to the device across networks.

Why both? The MAC says which machine; the IP says where it is in the internetwork. Because the IP can change every time the node moves networks, the MAC keeps a stable identity, and routing uses the IP to reach the right network (p. 194–195).

IPv4 offered just under 4.3 billion unique addresses, which proved too few as devices multiplied — that is why the 128-bit IPv6 was proposed.

Internet vs World Wide Web: Spot the Difference

This is the chapter’s most common conceptual confusion: the Internet is the infrastructure, and the Web is a service running on it (p. 196–197).

Aspect Internet World Wide Web
What it is The global network of interconnected computing devices — desktops, laptops, servers, phones, routers, gateways (p. 195). The interlinked collection of trillions of web pages and web resources (p. 196).
Nature The infrastructure that carries data. The information service users access through that infrastructure.
Example Modems, ISPs, regional and national networks and the Internet backbone that carry your data. A website opened in a browser, such as a page hosted on a web server.
Could one exist without the other? Yes — the Internet can carry data even where no web page is shared. No — web resources are accessed over the Internet.

Analogy: the Internet is the road network; the Web is the shops you visit on those roads. Roads can exist without shops, but no shop is reachable without a road.

How data reaches the Internet: computers connect to a modem by cable or Wi-Fi, the modem connects to a local ISP, local ISPs join into regional networks, regional networks form national networks, and country-wise networks form the Internet backbone (p. 195).

How the Web was born: Sir Tim Berners-Lee, a British computer scientist, invented the World Wide Web in 1990 by defining three fundamental technologies (NCERT, p. 196):

  • HTML (HyperText Markup Language) — designs standardised web pages so content can be read from any computer.
  • URL/URI (Uniform Resource Locator / Identifier) — the unique address of each resource on the web.
  • HTTP (HyperText Transfer Protocol) — the set of rules used to retrieve linked web pages; HTTPS is the more secure version.

Internet of Things (IoT) extends the same idea: smart appliances such as TVs, air conditioners, refrigerators and security cameras also communicate through networks — a topic introduced in Class 11 (p. 195).

Domain Name System: How Names Become IP Addresses

Every website is stored on a server connected to the Internet, and every server has an IP address — but nobody wants to remember strings of numbers. So each server is given a name — a domain name or hostname — mapped to its unique IP address (p. 197).

Think of it as a phonebook: instead of remembering phone numbers, we assign names to them (p. 197). Real mappings from the textbook include ncert.nic.in → 164.100.60.233 and wikipedia.org → 198.35.26.96 (p. 197). You can spot the pattern: the IP number is hard to remember, the name is not.

Domain name resolution is the conversion of a domain name to its corresponding IP address, and it is done by a DNS server (NCERT, p. 198).

The step-by-step: what happens when you enter a URL

  1. You enter a URL in the web browser.
  2. The browser’s HTTP protocol asks a DNS server for the IP address of that domain name.
  3. The DNS server returns the IP address.
  4. HTTP retrieves the information using that IP and loads it in your browser.

Figure 10.20 shows exactly this exchange: HTTP requests the IP corresponding to a domain name, and the DNS server sends the IP back.

A diagram of the HTTP protocol requesting an IP address from a DNS server, which sends the matching address back for the domain name
Figure 10.20: Request of IP address corresponding to domain name. Source: NCERT

How DNS servers are organised: DNS servers are placed in hierarchical order. At the top are 13 root servers named using the letters A through M; the Internet Assigned Numbers Authority (IANA) keeps the list of root servers.

Below the roots sit other DNS servers at different levels, each either holding the IP for a domain or pointing to another server where the entry can be found (p. 198).

Common Mistakes in Computer Networks (and the Corrections)

These are the chapter-specific slips that cost students. Use the third column as a built-in check.

Students write Correct rule How to check your answer
“A hub and a switch work the same.” A hub sends arriving data out on all lines, so simultaneous data collides. A switch reads the destination address from each packet and forwards it only to the selected device (NCERT, p. 189). Ask: does the device look up a destination before forwarding? If yes, it is a switch.
“The MAC address can change.” The MAC address is a physical address engraved on the NIC at manufacture; it is permanent and cannot be changed under any circumstances (p. 194). Move the node to another network and recheck — the IP changes, the MAC does not.
“IPv4 is 128-bit.” IPv4 is 32-bit (four numbers of 0–255); IPv6 is the 128-bit version (eight hexadecimal groups) (p. 195). Count the parts: four dot-separated decimal numbers = IPv4; eight colon-separated hex groups = IPv6.
“The Internet and the Web are the same.” The Internet is the global network of computing devices; the Web is the interlinked collection of pages accessible over the Internet (p. 195–196). Ask which can exist without the other — the Internet can, the Web cannot.
“A modem only modulates.” Modem = MOdulator-DEModulator: the sender-side modem modulates digital to analog, and the receiver-side modem demodulates it back (p. 187). Trace data one way — it is converted at the source and converted back at the destination.
“In a star, any node failure brings the network down.” Only the failure of the central hub or switch fails the whole network; one device’s failure does not affect the rest (p. 193). Find the shared component: a star dies only when the central device every node depends on dies.
“A repeater amplifies the signal.” A repeater regenerates the weakened signal and puts a fresh copy back on the cable (p. 189). Remember the distance clue: signals weaken beyond about 100 m, and the repeater rebuilds them rather than boosting them.

Exam Notes: How to Write Complete Answers to This Chapter

The chapter ends with sixteen exercises (p. 201–202). They fall into a few answer types; learn the shape of each and you can answer any variant.

Question type What a complete answer contains
Expand abbreviations (Q1: ARPANET, MAC, ISP, URI) Write the full form first, then a half-line expansion: ARPANET = Advanced Research Projects Agency Network; MAC = Media Access Control; ISP = Internet Service Provider; URI = Uniform Resource Identifier.
Define a term (Q2, Q7: network, topology) Give the definition first, then one supporting example. Network: a set of two or more similar things or people interconnected. Topology: the arrangement of computers and peripherals in a network + name the five topologies.
State advantages (Q3) Two points: sharing of resources (a printer or networked storage used by many computers) and exchange of information (email, websites, audio/video calls) (p. 183).
Differentiate X and Y (Q4: LAN vs WAN; Q14: IP vs MAC) Answer point by point in a table: area, speed, scope or permanence, and an example. LAN covers up to ~1 km at high speed; WAN spans countries and connects LANs and MANs. IP is changeable and logical; MAC is permanent and physical.
Name common devices (Q5) List from the chapter: modem, NIC (Ethernet card), RJ45, repeater, hub, switch, router, gateway.
Choose a network type for a scenario (Q6) Two universities in different states are far apart — they need a WAN, because a LAN only covers a campus and a WAN covers different geographical locations.
Identify a topology from a clue (Q9) Name the topology and quote the clue: (a) each node connected with the help of a single cable → bus topology; (b) each node connected to central switching through independent cables → star topology.
Explain a device (Q10, Q11) Full form where it exists + function + one placement fact. Modem: converts digital to analog and back; used because computers process 0s and 1s while transmission media carry analog signals. For switch, repeater, router, gateway and NIC, give the function from the devices table above.
Draw a network layout (Q12) Star: draw five computers, each with its own cable to a central hub or switch, and label the central device. Bus: draw a single backbone with five computers attached, and label the backbone.
Significance of MAC (Q13) State that the MAC uniquely identifies the computer on the network — it is the permanent physical address of the NIC (p. 194).
Explain a concept (Q15, Q16: DNS; Internet vs Web) DNS: define domain name resolution and state what a DNS server does — converts domain names to IP addresses. Internet vs Web: define both and give one example of each, exactly as in the comparison table above.

Revision Summary: Computer Networks in One Page

Definitions in one line: a computer network connects two or more computers or computing devices to share data and resources; every participating device is a node; data travels as packets (p. 182).

Network One-line identity
PAN Personal devices within about 10 m (USB or Bluetooth).
LAN Room, building or campus up to about 1 km; 10–1000 Mbps; comparatively secure.
MAN City or town up to 30–40 km; cable TV / cable broadband.
WAN Countries and continents; connects LANs and MANs; the Internet is the largest WAN.

Memory trick: “room, building, city, world” maps exactly to PAN, LAN, MAN, WAN — small to large.

Device one-liners:

  • Modem: converts digital ↔ analog.
  • NIC (Ethernet card): wired adapter; holds the MAC address.
  • RJ45: eight-pin plug on Ethernet cables.
  • Repeater: regenerates weak signals (beyond about 100 m).
  • Hub: broadcasts to all lines → collisions.
  • Switch: forwards to the destination only; drops corrupted signals.
  • Router: connects different networks; can repackage data.
  • Gateway: entry and exit of a network; firewall integrated.

Topology one-liners:

  • Mesh: all-to-all; reliable, secure, costly; \( \frac{n(n-1)}{2} \) cables.
  • Ring: two neighbours; unidirectional flow.
  • Bus: shared backbone; cheap and easy to maintain.
  • Star: central hub or switch; central failure kills it.
  • Tree/hybrid: branches of basic topologies; seen in WANs.

MAC vs IP: MAC is permanent, physical, 48-bit hexadecimal, engraved on the NIC; IP is changeable and logical — IPv4 is 32-bit dotted-decimal, IPv6 is 128-bit hexadecimal groups.

Internet vs Web: Internet = global network of devices; Web = interlinked pages on it. DNS is the phonebook that converts domain names to IP addresses.

Exam-ready sentence: in any scenario question, identify the network, device or topology first, then justify it with one grounded fact — the type’s coverage, the device’s key job, or the topology’s defining clue.

For the rest of your revision, browse all Class 12 notes or the full CBSE notes library.

FAQs: Computer Networks Class 12 Doubts

Is the Internet a WAN?

Yes. A WAN connects LANs and MANs spread across different geographical locations, and the Internet is the largest WAN because it connects billions of computers, smartphones and millions of LANs from different continents (p. 186).

What is the difference between a hub and a switch?

A hub broadcasts every arriving frame to all other lines, so simultaneous data from two devices collides. A switch reads the destination address from each packet, looks it up in a table, and forwards only to the node that needs it; it can forward multiple packets at once and drops corrupted signals (NCERT, p. 189).

Why does a device need both a MAC address and an IP address?

The MAC is permanent and identifies the device itself on the local network; the IP is logical and identifies where the node is in the internetwork. Because the IP can change when a node moves networks, the MAC keeps local identification stable while the IP delivers data across networks (p. 194–195).

How many cables are needed to connect 8 nodes in a mesh topology?

Use the mesh formula \( \frac{n(n-1)}{2} \) with \( n = 8 \): \( \frac{8 \times 7}{2} = 56 \div 2 = 28 \). So a fully connected mesh of 8 nodes needs 28 cables.

What is the difference between the Internet and the World Wide Web?

The Internet is the global network of interconnected computing devices; the Web is the interlinked collection of web pages and resources accessible over that network. Analogy: the Internet is the road network, and the Web is the shops you visit on those roads (p. 195–197).

What happens when you type a URL in the browser? How does DNS help?

Your browser’s HTTP protocol asks a DNS server for the IP address of that domain name; the DNS server returns the IP; HTTP then retrieves the web resource using that IP and loads it in your browser. This conversion of a domain name to an IP address is called domain name resolution (p. 198).

Reference: NCERT Class 12 Computer Science textbook, chapter Computer Networks.

Explore Class 12 Computer Science Notes

  • Previous: Structured Query Language (SQL)
  • Next: Data Communication

Class 12 Computer Science on LearnCBSE:

Related chapters:

  • File Handling in Python notes
  • Queue notes
  • Sorting notes


Related

More from this section