Class 10Computer ScienceFull chapter

Computer Networks

Most of this chapter is built on distinctions — LAN against WAN, hub against switch, router against gateway, bandwidth against file size. Learn the pairs precisely and the answers write themselves.

What a Network Is and Why We Build One

Quick answer The definition of a computer network, the five components of data communication, and the advantages and disadvantages examiners expect you to list.

A computer network is a collection of two or more computers and other devices — printers, scanners, servers, mobile phones — joined together by a communication channel so that they can exchange data and share resources. Every device attached to a network is called a node or a host. The moment two machines can pass data to each other you already have a network; scale only changes the name, from two laptops sharing one file up to the Internet itself.

Five components must be present before any communication can take place, and a question on the components of data communication expects all five. There must be a sender (the device that transmits), a receiver (the device that accepts), a message (the data being carried — text, numbers, images, audio or video), a transmission medium (the physical path, wired or wireless, along which the message travels) and a protocol. A protocol is a set of agreed rules that both machines follow; without it the receiver has no way of interpreting the bits arriving at its port. HTTP (HyperText Transfer Protocol) is the protocol a browser uses to fetch a page such as your school website, and TCP/IP (Transmission Control Protocol / Internet Protocol) is the pair of protocols on which the entire Internet is built.

Now the part that earns marks — why networks exist. Write the advantage and then a one-line reason for it:

  • Resource sharing. One printer or one scanner in a school computer lab can serve forty machines instead of buying forty printers.
  • File and data sharing. A student's project or a teacher's question bank can be copied from one machine to another in seconds without a pen drive.
  • Communication. E-mail, chat, video conferencing and online classes all depend on a network.
  • Centralised data and backup. Data kept on one server can be secured and backed up in one place instead of being scattered across every desk.
  • Cost saving. Sharing hardware, software licences and one Internet connection is far cheaper than equipping each computer separately.
  • Reliability. If one printer or one copy of a file becomes unavailable, another node on the network can supply it.
  • Remote access. A teacher can reach school files from home, and services such as IRCTC railway booking or a UPI payment work from anywhere in the country.

A complete answer never stops at advantages. State the disadvantages too, because a longer question usually asks for both. Setting up a network costs money for cables, switches and skilled installation. It needs a network administrator to manage users, permissions and faults. Security risk rises sharply: malware that reaches one machine can spread to the rest, and shared folders can expose private data. There is dependence — if the server or the main cable fails, every user stops working at once. And a shared line can become congested, so speed falls when many users are active together.

Two more words are worth defining now because later sections reuse them. Data transfer rate is the amount of data actually moved per second, measured in bits per second. Bandwidth is the maximum data-carrying capacity of the channel — the ceiling that the transfer rate can never exceed. The final section treats both in detail.

Finally, keep the vocabulary straight. The Internet is the worldwide public network of networks. An intranet is a private network inside one organisation that uses the same technology but is closed to outsiders — a school's internal portal, for example. The World Wide Web is not the Internet; it is one service running on the Internet, the collection of linked pages that browsers display.

Node any device attached to a network term · Also called a host — a computer, printer, server or phone.
Protocol agreed set of communication rules rules · Both sender and receiver must follow the same one.
HTTP HyperText Transfer Protocol protocol · Used by browsers to request and receive web pages.
TCP/IP Transmission Control Protocol / Internet Protocol protocol suite · The rule set on which the Internet runs.
5 components sender + receiver + message + medium + protocol checklist · Complete answer for 'components of data communication'.
Remember
  • A computer network is two or more devices connected by a communication channel to share data and resources; each device is a node.
  • The five components of data communication are sender, receiver, message, transmission medium and protocol.
  • A protocol is a set of rules both machines follow — HTTP for web pages, TCP/IP for the Internet.
  • Main advantages: resource sharing, file sharing, communication, centralised backup, cost saving, reliability, remote access.
  • Main disadvantages: setup cost, need for an administrator, faster spread of malware, dependence on the server, congestion.
  • The Internet is the global network; an intranet is private to one organisation; the Web is a service running on the Internet.

PAN, LAN, MAN and WAN

Quick answer The four network types classified by the area they cover, with the ownership, speed and cost differences that decide full marks.

Networks are classified mainly by the geographical area they cover. Learn the four names in increasing order of size — PAN, LAN, MAN, WAN — and attach to each one a distance, an owner, a speed and one Indian example. That structure is exactly what a comparison question rewards.

PAN — Personal Area Network. The smallest type, organised around one person and the devices immediately around them, typically within a few metres. A mobile phone paired with wireless earphones, a laptop connected to a wireless mouse, a smart watch talking to a phone, or a phone sharing its Internet connection as a hotspot with a nearby laptop — all of these are PANs. They are usually wireless, built on Bluetooth or infrared, need no administrator, and carry small amounts of data. A PAN built without wires is sometimes called a WPAN (Wireless Personal Area Network).

LAN — Local Area Network. A network confined to one building, one campus or one small area — a school computer lab, an office floor, a cyber cafe. The defining features to write down are: it is privately owned by a single organisation, it uses the organisation's own cables and devices, it offers the highest data transfer speed of all four types, it has the lowest error rate because the cable runs are short and under one owner's control, and it is the cheapest to set up. Common media are twisted pair cable with RJ-45 connectors, or WiFi for a wireless LAN, and the usual central device is a switch.

MAN — Metropolitan Area Network. A network spread across a city or a large town, generally formed by connecting several LANs. It covers a larger area than a LAN and a smaller one than a WAN. Standard examples: the cable television network of a city, a bank's branches spread across one city linked into a single network, a university connecting its faculties located in different parts of a city, or a broadband provider serving one municipal area. A MAN is usually owned either by one large organisation or by a service provider, and its speed and error rate fall between those of a LAN and a WAN.

WAN — Wide Area Network. A network spanning a country, a continent or the whole world, formed by joining many LANs and MANs. It relies on leased telephone lines, optical fibre backbones, microwave links and communication satellites, so it is not owned by any single organisation. Consequently the WAN has the lowest transfer speed, the highest error rate and the highest setup and running cost of the four. The Internet is the largest example. Indian examples that work well in an answer are the railway reservation system, which lets a booking made in one state update a seat held in the database centrally, and the ATM network of a nationalised bank, which lets a card issued in one state be used at a machine in another.

Examiners test the boundaries, so fix the ordering in your memory as: PAN < LAN < MAN < WAN for area and cost, and exactly the reverse — LAN > MAN > WAN — for speed and reliability. If a question describes two computers in the same room, answer LAN, not WAN. If it describes several offices of one company inside one city, answer MAN. If it crosses cities or countries, answer WAN. Some textbooks add a CAN (Campus Area Network) between LAN and MAN for a college campus; mention it only if your textbook does, and never in place of the four required names.

PAN Personal Area Network a few metres · Around one person; Bluetooth earphones, hotspot to laptop.
LAN Local Area Network one building or campus · Privately owned, highest speed, lowest error rate.
MAN Metropolitan Area Network one city · Several LANs joined; city cable TV network.
WAN Wide Area Network country or world · Uses leased lines and satellites; the Internet is the largest.
Ordering PAN &lt; LAN &lt; MAN &lt; WAN by area rule · Speed runs the other way: LAN is fastest, WAN slowest.
Remember
  • PAN covers a few metres around one person and is usually built on Bluetooth — phone, earphones, smart watch.
  • LAN is confined to one building or campus, privately owned, fastest, cheapest and least error-prone.
  • MAN spans a city and is usually several LANs joined together — a city cable TV network or a bank's city branches.
  • WAN spans countries or the world, uses leased lines and satellites, is not owned by one organisation, and is slowest and costliest.
  • Area and cost increase PAN to WAN; speed and reliability decrease LAN to WAN.
  • The Internet is the largest WAN; railway reservation and bank ATM networks are standard Indian WAN examples.

Network Topologies

Quick answer Bus, star, ring, mesh and tree — how to describe each arrangement, and the advantage and disadvantage pair examiners want for every one.

Topology means the arrangement or layout in which the nodes of a network are connected to one another. Physical topology is how the cables actually run; logical topology is the path the data follows, which need not be the same shape. In an exam, describe the arrangement in one sentence, then give at least two advantages and two disadvantages.

Bus topology. Draw one long horizontal line across the page — this is the single main cable, called the backbone or trunk. From it, short vertical lines called drop lines run up and down to each computer, and a small box called a terminator sits at each end of the backbone to absorb the signal and stop it reflecting back. Every node receives every signal but keeps only the one addressed to it. Advantages: uses the least cable, so it is the cheapest and simplest to install; adding one more node to a small network is easy. Disadvantages: a single break anywhere in the backbone brings the entire network down; fault detection is difficult because the fault could be anywhere along the cable; performance falls sharply as nodes are added, because all of them share one cable and their signals collide; it suits only small networks.

Star topology. Draw a central box — a hub or, in modern networks, a switch — and straight lines radiating outward from it to each computer arranged in a circle around it. There is no direct cable between two computers; everything passes through the centre. Advantages: a fault in one cable affects only that one node, so the rest keep working; adding or removing a node is easy and does not disturb others; fault detection is simple because each node has its own link; with a switch at the centre, performance is high. Disadvantages: if the central device fails, the whole network stops; it needs more cable than a bus; the cost of the central device is extra. This is the topology used in nearly all school and office LANs today.

Ring topology. Draw the computers arranged in a closed loop, each connected to exactly two neighbours, with no free end and no terminator. Data travels around the ring in one direction, passing through each node in turn until it reaches the addressed node; a small control message called a token decides whose turn it is to send. Advantages: every node regenerates the signal as it passes, so the signal stays strong over longer distances; the token prevents collisions, so it performs predictably even under heavy traffic. Disadvantages: a break in the loop or the failure of one node can stop the whole network unless a dual ring is used; adding or removing a node interrupts the network; data passes through other machines, which is a privacy concern; fault diagnosis is difficult.

Mesh topology. Draw every computer joined by a separate dedicated cable to every other computer, so the diagram fills with crossing lines. For n nodes a full mesh needs n(n - 1) / 2 cables and n - 1 ports on every node. Advantages: the most reliable arrangement, since one failed link simply leaves alternative paths; dedicated links mean no traffic congestion; data does not pass through other nodes, so it is private and secure; faults are easy to locate. Disadvantages: extremely costly in cable and ports; installation and maintenance are difficult; impractical for large networks, which is why it is used mainly for critical backbone links.

Tree topology. Draw one device at the top — the root, usually a switch — connected downward to several second-level switches, each of which has its own group of computers hanging beneath it, giving the shape of an inverted tree. It is a hierarchy of star networks joined to a common backbone. Advantages: easy to expand by adding a new branch; suits large networks split by department or by floor; a fault can be isolated to one branch. Disadvantages: the whole network depends on the root and the backbone, and failure there disables everything below it; it needs a great deal of cable; configuration is complex.

Mesh links n(n - 1) / 2 cables · Full mesh of n nodes; 6 nodes need 15 cables.
Mesh ports n - 1 ports per node · Each node needs one port for every other node.
Terminator device at each end of a bus backbone component · Absorbs the signal so it does not reflect back.
Star centre hub or switch device · Single point of failure — the standard disadvantage to quote.
Token control message passed round a ring term · Only the node holding it may transmit, so collisions are avoided.
Remember
  • Topology is the arrangement of nodes; physical topology is the cabling, logical topology is the data path.
  • Bus uses one backbone with terminators at both ends — cheapest, but one break stops the whole network.
  • Star connects every node to a central hub or switch — one cable fault affects one node, but central failure stops all.
  • Ring is a closed loop with one-way flow and a token; each node regenerates the signal but a single break can halt it.
  • Mesh gives every node a dedicated link to every other — most reliable and secure, most expensive.
  • Tree is a hierarchy of star groups on a common backbone — easy to expand, but dependent on the root.

Transmission Media — Wired and Wireless

Quick answer Guided media (twisted pair, coaxial, fibre optic) and unguided media (radio, microwave, infrared, Bluetooth, WiFi), each with its use, merits and limits.

A transmission medium is the physical path along which data travels from sender to receiver. Media are divided into two families. Guided (wired) media carry the signal along a solid path — a cable. Unguided (wireless) media send the signal through air or space with no physical conductor. Begin every answer with that division; it frames everything that follows.

Twisted pair cable. Pairs of insulated copper wires twisted around each other and bundled inside an outer sheath. The twisting is not decoration — it cancels much of the electrical interference and the crosstalk that neighbouring wires would otherwise induce in each other, and that is the standard one-line answer to why the wires are twisted. It comes as UTP (Unshielded Twisted Pair), the cable used with RJ-45 connectors in most school and office LANs, and STP (Shielded Twisted Pair), which adds a metal shield for better noise protection at higher cost. Merits: cheapest cable, thin and flexible, easy to install and repair. Limits: lowest bandwidth of the three cables, high attenuation (weakening of the signal with distance) so repeaters are needed on long runs, and it is the most affected by noise.

Coaxial cable. A single central copper conductor, surrounded by an insulating layer, then a braided metal mesh acting as a shield, then an outer plastic jacket. The mesh gives it much better noise immunity than twisted pair. Merits: higher bandwidth than twisted pair, less affected by interference, can carry signals over longer distances. Limits: costlier, thicker and less flexible, so it is harder to install and route. It is the cable familiar from cable television connections and was used in older bus-topology networks.

Fibre optic cable. Very thin strands of glass or plastic — a core wrapped in a cladding — that carry data as pulses of light, which stay inside the core by total internal reflection. Merits: by far the highest bandwidth; completely immune to electromagnetic interference because it carries light, not electricity; very low attenuation, so it runs over long distances without repeaters; hard to tap, so it is the most secure cable. Limits: the most expensive; fragile and can break if bent sharply; joining two fibres requires special equipment and trained technicians. It is the medium of choice for undersea and long-distance backbone links and for broadband to the home.

Unguided media are classified by frequency. Radio waves are omnidirectional — they spread in every direction and pass through walls — so the transmitter and receiver need not be aligned. They cover long distances and are used for FM radio, mobile telephony and wireless networking; the drawbacks are interference from other transmitters, poor security since anyone in range can receive, and the need for a government licence in many bands. Microwaves travel in a narrow beam and need a clear line of sight, so tall towers are built with dish antennas aimed at each other; they carry high bandwidth over long distances but are blocked by hills and buildings and disturbed by heavy rain. Beaming through a satellite extends the same idea across continents. Infrared waves work only over short distances and cannot pass through walls, which is both the limitation and the security benefit — a signal in one room stays in that room. A television remote control is the standard example.

Two named short-range technologies must be defined separately. Bluetooth is a short-range wireless standard, usually effective within about ten metres, used to build PANs between devices that have been paired — earphones, speakers, a wireless mouse, file transfer between two phones. It uses little power but offers modest speed. WiFi (a brand name of the Wi-Fi Alliance, usually expanded in textbooks as Wireless Fidelity) uses radio waves to build a wireless LAN over a room, a floor or a building through a device called an access point or a hotspot. It is much faster and covers a wider area than Bluetooth, but consumes more power, and its range and speed fall when walls, distance or crowding come in the way. Ranges quoted for either vary with the hardware and the version, so state them as approximate.

Guided media twisted pair, coaxial, fibre optic wired · Signal is confined inside a physical cable.
Unguided media radio, microwave, infrared wireless · Signal travels through air or space.
Attenuation loss of signal strength with distance term · Lowest in fibre optic, highest in twisted pair.
UTP / STP Unshielded / Shielded Twisted Pair cable · UTP with RJ-45 is the usual LAN cable.
WiFi usually expanded as Wireless Fidelity wireless LAN · Radio-based LAN served by an access point or hotspot.
Remember
  • Media are guided (wired: twisted pair, coaxial, fibre optic) or unguided (wireless: radio, microwave, infrared).
  • Twisted pair wires are twisted to reduce crosstalk and interference; UTP is the common LAN cable with RJ-45 connectors.
  • Coaxial has a central conductor plus a braided shield — better noise immunity than twisted pair, used for cable TV.
  • Fibre optic carries light, giving the highest bandwidth, immunity to electromagnetic interference and the lowest attenuation.
  • Radio waves are omnidirectional and pass through walls; microwaves need line of sight; infrared cannot cross a wall.
  • Bluetooth is short-range and low-power for PANs; WiFi builds a wireless LAN through an access point.

Networking Devices and Hub versus Switch

Quick answer NIC, modem, repeater, hub, switch, bridge, router and gateway — what each one does, and the hub-against-switch comparison set out in full.

Every device below exists to solve one specific problem. Learn the problem and the definition follows.

NIC — Network Interface Card. The hardware, fitted inside or built into a computer, that physically connects it to the network; also called a network adapter or LAN card. Every NIC carries a unique hardware address burnt in at manufacture, called the MAC address (Media Access Control address), which identifies that device on the local network. Without a NIC a machine cannot join a network at all.

Modem — MOdulator-DEModulator. A modem converts the digital signal produced by a computer into an analog signal that an ordinary telephone or cable line can carry (modulation), and converts the incoming analog signal back into digital form for the computer (demodulation). That two-way conversion is the definition; write both halves. Modems may be internal (a card inside the cabinet) or external (a separate box), and today the home broadband box usually combines a modem, a router and a WiFi access point in one unit.

Repeater. A signal weakens as it travels — that is attenuation. A repeater receives the weak signal, regenerates and amplifies it, and sends it on, so the network can extend beyond the maximum length of a single cable. It does not read addresses and does not filter anything; it simply strengthens whatever arrives.

Hub. A device with several ports used as the centre of a star network. It is essentially a multiport repeater: data arriving on one port is broadcast to every other port, and the machines themselves discard what is not addressed to them. A hub has no memory of who is connected where.

Switch. A device that looks like a hub but is intelligent. It maintains a MAC address table of which device is on which port, so a frame arriving for one machine is forwarded only to that machine's port. Nothing else on the network sees it.

This is the comparison to have ready, so memorise the five contrasts. Forwarding: a hub broadcasts to all ports, a switch sends only to the intended port. Intelligence: a hub keeps no address table, a switch maintains one. Bandwidth: all devices on a hub share the available bandwidth, whereas each port of a switch gets its own. Collisions and speed: a hub causes many collisions and works in half duplex, while a switch largely eliminates collisions and supports full duplex, so the network is faster. Security and cost: a hub is less secure because every machine receives every frame, but is cheaper; a switch is more secure and costlier. In practice hubs have been almost entirely replaced by switches.

Bridge. A device that connects two segments of the same network and filters traffic between them using MAC addresses. If a frame is meant for a machine on the same side, the bridge does not let it cross; only frames meant for the other side pass. That filtering reduces unnecessary traffic and improves performance.

Router. A device that connects two or more different networks and forwards data between them using IP addresses (Internet Protocol addresses). A router examines the destination address of each packet and chooses the best available path towards it — that path selection, called routing, is what separates a router from a switch. The box that connects your home or school LAN to the Internet provider is a router.

Gateway. A device — sometimes a computer running special software — that connects two networks working on different protocols or different architectures, translating between them so they can communicate. Because it converts, a gateway is often called a protocol converter, and it acts as the entry and exit point of a network. Keep the distinction sharp: a router joins networks that already speak the same protocol; a gateway joins networks that do not.

NIC Network Interface Card device · Holds the MAC address; without it a machine cannot join a network.
Modem MOdulator + DEModulator device · Digital to analog and analog back to digital.
Hub vs switch broadcast to all vs forward to one rule · Switch keeps a MAC table; hub keeps nothing.
Router joins different networks using IP addresses device · Selects the best path — this is called routing.
Gateway protocol converter between two networks device · Needed when the two networks use different protocols.
Remember
  • NIC connects a device to the network and carries the unique MAC address burnt in at manufacture.
  • A modem modulates digital to analog for the line and demodulates analog back to digital for the computer.
  • A repeater regenerates and amplifies a weakened signal to extend network distance; a hub is a multiport repeater.
  • A hub broadcasts to every port; a switch keeps a MAC address table and forwards only to the intended port.
  • A bridge joins two segments of the same network and filters by MAC address; a router joins different networks using IP addresses.
  • A gateway connects networks using different protocols and acts as a protocol converter.

Client-Server, Peer-to-Peer, and Bandwidth

Quick answer The two ways of organising a network, and how bandwidth is measured in bps, Kbps, Mbps and Gbps — including the bit-versus-byte trap.

Beyond cables and boxes, a network must be organised. There are two models, and questions ask you to compare them.

In a client-server network one powerful computer, the server, is dedicated to providing services — storing files, running a database, hosting a website, managing printing. The other computers, the clients, request those services and display the results. When you open the IRCTC website, your browser is the client and the machine that stores the trains and seats is the server. Advantages: data is centralised, so backup, updating and security are handled in one place; access rights can be controlled user by user; the network is easy to manage as it grows; a powerful server gives better performance for shared work. Disadvantages: a dedicated server and its software are expensive; a trained administrator is required; if the server fails, every client stops working; heavy traffic can congest the server.

In a peer-to-peer (P2P) network all computers are equal — there is no dedicated server, and every machine can act as both client and server, offering its own files or printer to the others. Two students sharing a folder between laptops over the same WiFi, or sending a file phone-to-phone over Bluetooth, are working peer-to-peer. Advantages: cheap, since no server is bought; simple to set up; no administrator needed; the failure of one machine does not stop the others. Disadvantages: no central backup, so data is scattered; security is weak because each user controls their own sharing; performance drops as machines serve each other while also being used; it becomes unmanageable beyond a small number of computers. The rule of thumb: peer-to-peer suits a home or a small office; client-server suits a school, a bank or any organisation that must protect its data.

Bandwidth is the maximum amount of data that a communication channel can carry in a given time — its capacity. In digital data communication it is measured in bits per second (bps). Be careful with a common confusion: in analog communication bandwidth means the range of frequencies a channel can carry and is measured in hertz (Hz), and some textbooks introduce both meanings. Higher bandwidth does not mean the signal travels faster; it means more data can be pushed through per second, exactly as a wider road carries more vehicles at the same speed. The data actually delivered, which is always lower than the bandwidth because of noise, sharing and overheads, is called throughput.

The units multiply by one thousand at each step. 1 Kbps (kilobit per second) = 1,000 bps. 1 Mbps (megabit per second) = 1,000 Kbps = 106 bps. 1 Gbps (gigabit per second) = 1,000 Mbps = 109 bps, and 1 Tbps (terabit per second) = 1,000 Gbps. Note that data-transfer units are counted in powers of ten, while memory sizes are traditionally counted in powers of two, where 1 KB = 1,024 bytes. A few school textbooks take 1 Kbps as 1,024 bps as well; follow whichever your textbook uses and state the value you have assumed in the answer.

The trap examiners set is the difference between a bit and a byte. A lowercase b means bit, an uppercase B means byte, and 1 byte = 8 bits. Network speeds are quoted in bits per second, while file sizes are given in bytes, so a connection sold as 8 Mbps delivers at best about 1 MB (megabyte) of file per second. Work such sums in three steps: convert the file size to bits, convert the speed to bits per second, then divide. For a 40 MB file on an 8 Mbps line — 40 MB = 40 × 8 = 320 megabits; 320 ÷ 8 = 40 seconds. Write the conversion line; it is where the marks are.

Client-server dedicated server + requesting clients model · Centralised data, security and backup; server failure stops all.
Peer-to-peer every node is both client and server model · No dedicated server; cheap, but no central backup.
Bandwidth maximum data carried per second bps · Analog bandwidth is a frequency range measured in hertz.
Unit ladder 1 Kbps = 1,000 bps; 1 Mbps = 1,000 Kbps; 1 Gbps = 1,000 Mbps conversion · Data transfer uses powers of ten.
Transfer time time = file size in bits / speed in bps seconds · 1 byte = 8 bits — convert the file size first.
Remember
  • In a client-server network a dedicated server provides services and clients request them; control and backup are centralised.
  • In a peer-to-peer network every computer is equal and can act as both client and server; cheap but weakly secured.
  • Client-server suits schools, banks and large offices; peer-to-peer suits homes and very small offices.
  • Bandwidth is the maximum data-carrying capacity of a channel, measured in bits per second; throughput is what is actually achieved.
  • 1 Kbps = 1,000 bps, 1 Mbps = 1,000 Kbps, 1 Gbps = 1,000 Mbps in data-transfer units.
  • Lowercase b is a bit, uppercase B is a byte, and 1 byte = 8 bits — always convert before dividing.

Quick reference

Every term, tag and rule from this chapter in one place — screenshot it before your exam.

any device attached to a network
Nodeterm
agreed set of communication rules
Protocolrules
HyperText Transfer Protocol
HTTPprotocol
Transmission Control Protocol / Internet Protocol
TCP/IPprotocol suite
sender + receiver + message + medium + protocol
5 componentschecklist
Personal Area Network
PANa few metres
Local Area Network
LANone building or campus
Metropolitan Area Network
MANone city
Wide Area Network
WANcountry or world
PAN &lt; LAN &lt; MAN &lt; WAN by area
Orderingrule
n(n - 1) / 2
Mesh linkscables
n - 1
Mesh portsports per node
device at each end of a bus backbone
Terminatorcomponent
hub or switch
Star centredevice
control message passed round a ring
Tokenterm
twisted pair, coaxial, fibre optic
Guided mediawired
radio, microwave, infrared
Unguided mediawireless
loss of signal strength with distance
Attenuationterm
Unshielded / Shielded Twisted Pair
UTP / STPcable
usually expanded as Wireless Fidelity
WiFiwireless LAN
Network Interface Card
NICdevice
MOdulator + DEModulator
Modemdevice
broadcast to all vs forward to one
Hub vs switchrule
joins different networks using IP addresses
Routerdevice
protocol converter between two networks
Gatewaydevice
dedicated server + requesting clients
Client-servermodel
every node is both client and server
Peer-to-peermodel
maximum data carried per second
Bandwidthbps
1 Kbps = 1,000 bps; 1 Mbps = 1,000 Kbps; 1 Gbps = 1,000 Mbps
Unit ladderconversion
time = file size in bits / speed in bps
Transfer timeseconds

Test yourself

Tap an answer to check it instantly — you'll see why it's right, and what to revise if it isn't.

0 correct · 0/12 answered
Q1 Types of networks easy

A network that connects the branches of a bank located in different parts of the same city is an example of a:

Q2 Types of networks easy

A mobile phone connected to wireless earphones over Bluetooth forms a:

Q3 Topologies easy

In a star topology, what happens when the central switch fails?

Q4 Topologies medium

Why is a terminator fitted at each end of the backbone cable in bus topology?

Q5 Topologies medium

In which topology does data travel in one direction, passing through each node until it reaches the destination?

Q6 Topologies hard

How many cables are needed to connect 6 computers in a full mesh topology?

Q7 Transmission media medium

Which transmission medium is completely immune to electromagnetic interference?

Q8 Transmission media medium

Which wireless medium works only over short distances and cannot pass through walls?

Q9 Networking devices medium

Which statement correctly distinguishes a switch from a hub?

Q10 Networking devices hard

Which device is used to connect two networks that work on different protocols?

Q11 Network architectures medium

Which statement is true of a peer-to-peer network?

Q12 Bandwidth and units hard

How long will a 40 MB file take to download over a connection of 8 Mbps, assuming the full speed is available?

NCERT solutions & previous-year questions

Step-by-step model answers — tap a question to reveal the full solution.

NCERT questions 8

1 What is a computer network? State any four advantages of using a network.Introduction

A computer network is a collection of two or more computers and other devices connected together by a communication channel so that they can exchange data and share resources. Each device on the network is called a node.

Four advantages:

  1. Resource sharing — one printer or scanner can serve every computer in a lab instead of buying one for each.
  2. Data and file sharing — files move from one machine to another in seconds without any removable storage.
  3. Communication — e-mail, chat, video conferencing and online classes all run over the network.
  4. Centralised storage and backup — data kept on one server can be secured and backed up in a single place.

Other acceptable points are cost saving through shared hardware and one Internet connection, reliability, and remote access to data from outside the building.

2 Differentiate between LAN, MAN and WAN.Types of networks

LAN (Local Area Network): confined to one building or campus, such as a school computer lab. It is privately owned by a single organisation, uses its own cables, and offers the highest data transfer speed, the lowest error rate and the lowest cost of the three.

MAN (Metropolitan Area Network): spread over a city, usually formed by joining several LANs — for example the cable television network of a city or a bank's branches within one city. Its area, speed, error rate and cost all lie between those of a LAN and a WAN.

WAN (Wide Area Network): spread over a country, a continent or the whole world, formed by joining many LANs and MANs through leased lines, optical fibre backbones, microwave links and satellites. It is not owned by any single organisation, and it has the lowest speed, the highest error rate and the highest cost. The Internet is the largest WAN; the railway reservation system and a bank's nationwide ATM network are Indian examples.

The single sentence that ties them together: as the geographical area increases from LAN to WAN, the cost and error rate increase while the transfer speed decreases.

3 Describe bus topology. Give two advantages and two disadvantages.Topologies

In bus topology every node is attached, through a short drop line, to a single main cable called the backbone. A terminator is fitted at each end of the backbone to absorb the signal and stop it reflecting back. The signal placed on the backbone reaches every node, but only the node whose address matches accepts it.

Advantages:

  1. It uses the least cable of any topology, so it is the cheapest and simplest to install.
  2. Adding one more node to a small network is easy — the new drop line is simply tapped on to the backbone.

Disadvantages:

  1. A single break anywhere in the backbone brings the whole network down, and locating the fault is difficult.
  2. Performance falls as more nodes are added, because all of them share one cable and their signals collide, so it suits only small networks.
4 Compare guided and unguided transmission media. Why is fibre optic cable preferred for long-distance communication?Transmission media

Guided (wired) media carry the signal along a solid physical path — twisted pair cable, coaxial cable and fibre optic cable. The signal is confined inside the cable, so it is more secure, more reliable and less affected by outside disturbance, but the cable must physically be laid to every point.

Unguided (wireless) media send the signal through air or space with no physical conductor — radio waves, microwaves and infrared. They need no cabling and can reach mobile or remote locations, but they are more open to interference and interception and their range depends on obstacles and weather.

Fibre optic is preferred over long distances because:

  • it offers by far the highest bandwidth, so it carries very large volumes of data;
  • it carries light rather than electric current, so it is immune to electromagnetic interference;
  • it has very low attenuation, so the signal survives long distances with few repeaters;
  • it is extremely difficult to tap, which makes it the most secure cable.

The costs are its high price, its fragility, and the skilled technicians and special equipment needed to join two fibres.

5 Differentiate between a hub and a switch.Networking devices

Both are multi-port devices placed at the centre of a star network, but they behave very differently.

  • Forwarding: a hub broadcasts data arriving on one port to every other port; a switch forwards it only to the port of the intended device.
  • Intelligence: a hub keeps no record of who is connected where; a switch maintains a MAC address table mapping each device to a port.
  • Bandwidth: on a hub all devices share the available bandwidth; on a switch each port gets its own.
  • Collisions and duplex: a hub causes frequent collisions and works in half duplex; a switch largely eliminates collisions and supports full duplex, so it is faster.
  • Security and cost: a hub is less secure, since every machine receives every frame, but is cheaper; a switch is more secure and costlier.

Because of these differences, switches have almost entirely replaced hubs in modern networks.

6 Define modem, repeater, router and gateway.Networking devices

Modem (MOdulator-DEModulator): a device that converts the digital signal of a computer into an analog signal that a telephone or cable line can carry, and converts an incoming analog signal back into digital form. Both halves of the conversion must be stated.

Repeater: a device that receives a weakened signal, regenerates and amplifies it, and passes it on, so that the network can extend beyond the maximum length of one cable. It does not filter or examine addresses.

Router: a device that connects two or more different networks and forwards data between them using IP addresses, selecting the best available path for each packet. The box connecting a school LAN to its Internet provider is a router.

Gateway: a device, or a computer running special software, that connects two networks working on different protocols or architectures and translates between them. It is therefore called a protocol converter and acts as the entry and exit point of a network.

7 Differentiate between a client-server network and a peer-to-peer network.Network architectures

Client-server network: one dedicated, powerful computer called the server provides services — file storage, databases, websites, printing — and the other computers, the clients, request them. Data and control are centralised, so backup, updating, user permissions and security are managed in one place, and the network scales well. Its drawbacks are the cost of the server, the need for an administrator, and the fact that if the server fails every client stops working.

Peer-to-peer network: all computers are equal and there is no dedicated server; each machine can act as both client and server, sharing its own files or printer. It is cheap, simple to set up, needs no administrator, and the failure of one machine does not stop the others. Its drawbacks are the absence of central backup, weak security since each user controls their own sharing, falling performance as machines serve one another, and difficulty of management beyond a small number of computers.

In short, peer-to-peer suits a home or a very small office, while client-server suits a school, a bank or any organisation that must protect and control its data.

8 What is bandwidth? Name the units in which it is measured and explain the relation between them.Bandwidth and units

Bandwidth is the maximum amount of data that a communication channel can carry in a given time — that is, the capacity of the channel. In digital data communication it is measured in bits per second (bps). In analog communication the same word means the range of frequencies a channel can carry, measured in hertz (Hz).

The units are:

  • 1 Kbps (kilobit per second) = 1,000 bps
  • 1 Mbps (megabit per second) = 1,000 Kbps
  • 1 Gbps (gigabit per second) = 1,000 Mbps
  • 1 Tbps (terabit per second) = 1,000 Gbps

Higher bandwidth does not make the signal travel faster; it allows more data to pass per second, like a wider road carrying more vehicles at the same speed. The amount actually delivered, always less than the bandwidth, is called throughput.

Note the difference in case: a lowercase b means a bit and an uppercase B means a byte, and 1 byte = 8 bits. So an 8 Mbps line delivers at best about 1 MB of file per second. Data-transfer units are counted in powers of ten, whereas memory sizes are traditionally counted in powers of two, where 1 KB = 1,024 bytes; some textbooks apply 1,024 to Kbps as well, so state the value you have used.

Previous-year board questions 5

Q1 Expand the term NIC and state its function. 1 mark

NIC stands for Network Interface Card (also called a network adapter or LAN card). It is the hardware fitted inside or built into a computer that physically connects it to a network, and it carries the unique MAC address that identifies that device on the local network.

Q2 Write any two differences between a hub and a switch. 2 marks
  1. A hub broadcasts the data it receives to all the ports connected to it, whereas a switch forwards the data only to the port of the device it is addressed to.
  2. A hub keeps no record of the connected devices, while a switch maintains a MAC address table that maps each device to its port. As a result the switch causes fewer collisions, gives each port its own bandwidth and is more secure.
Q3 The two computer laboratories of a school are in the same building but about 90 metres apart, and the signal is becoming weak over that distance. Name the device that should be installed and give one reason. 2 marks

A repeater should be installed between the two laboratories.

Reason: a signal loses strength as it travels along a cable, a loss called attenuation. A repeater receives the weakened signal, regenerates and amplifies it, and sends it onward, so the network can extend beyond the maximum reliable length of a single cable and the second laboratory receives a clean signal.

Q4 Define network topology. Explain ring topology with one advantage and one disadvantage. 3 marks

Network topology is the arrangement or layout in which the nodes of a network are connected to one another.

In ring topology the computers are connected in a closed loop, each joined to exactly two neighbours, with no free end and therefore no terminator. Data travels around the loop in one direction, passing through each node in turn until it reaches the node it is addressed to; a control message called a token decides which node may transmit.

Advantage: every node regenerates the signal as it passes it on, so the signal remains strong over longer distances, and the token prevents collisions even under heavy traffic.

Disadvantage: a break in the loop, or the failure of a single node, can stop the entire network unless a dual ring is used, and adding or removing a node disturbs the working network.

Q5 A school is setting up its network across four blocks in one campus — Admin, Science, Library and Hostel. Answer: (a) the most suitable topology for wiring each block, (b) the device to be installed in each block, (c) the type of network formed on the campus, (d) the cable suitable between blocks, and (e) the device needed to connect this network to the Internet. 5 marks

(a) Topology: star topology inside each block, with all computers of that block wired to one central device. It is preferred because a fault in one cable affects only that computer, nodes can be added or removed easily, and faults are simple to locate. If the four blocks are then joined to a common backbone, the campus as a whole forms a tree topology.

(b) Device in each block: a switch, since it forwards data only to the intended computer, gives each port its own bandwidth and is more secure than a hub.

(c) Type of network: a LAN (Local Area Network), because all four blocks lie within one campus owned by a single organisation. Had the blocks been spread across the city, it would have been a MAN.

(d) Cable between blocks: fibre optic cable, because the distances between blocks are the longest runs on the campus and fibre offers high bandwidth, very low attenuation and immunity to electromagnetic interference. Twisted pair cable (UTP with RJ-45) is adequate within a block.

(e) Device for Internet connection: a router (together with the modem provided by the Internet service provider), because a router connects the campus network to another network and forwards data using IP addresses along the best available path.

Part of Priodemy for School

Interactive Maths & Science — free with every school on Priodemy EduSuite. Explore more chapters and labs on the Priodemy for School hub.

Ask AI