Class 12Computer Science · Computer NetworksFull chapter

Transmission Media and Network Devices

The whole chapter in one place — read it, then test yourself. Clear notes, a reference sheet, a practice quiz, and worked NCERT solutions & PYQs.

Transmission Media and How to Compare Them

Quick answer A transmission medium is the physical path a signal travels on; it is either guided (twisted pair, co-axial, fibre) or unguided (radio, microwave, infrared), and every exam question about media is really a question about cost, data rate, distance, interference or ease of installation.

A transmission medium is the physical path along which a signal travels from the sender to the receiver. Everything else in this unit — protocols, devices, addresses — rides on top of the medium you choose, and a wrong choice cannot be fixed later by better software.

Media are of two kinds:

  • Guided (wired) media — the signal is confined inside a solid conductor and guided along it: twisted pair cable, co-axial cable, optical fibre cable.
  • Unguided (wireless) media — the signal is radiated into open space and spreads out: radio waves, microwaves, infrared waves.

Read those words carefully. Wireless communication is not communication without a medium — air, and in the case of satellites empty space, is the medium. It is called unguided because nothing forces the signal down one particular path.

The five things you always compare. Almost every question in this chapter is one of these five in disguise, so learn the axes and not just the cables.

AxisWhat it meansWhy it decides the answer
CostPrice of the cable plus the cost of laying and terminating itFibre cable is costly, but its splicing and termination cost even more — that is what usually rules it out for a small LAN
Data rate / bandwidthHow many bits per second the medium can carry reliablyDecides whether a lab of 40 machines will crawl
Distance (attenuation)Signal strength falls as it travels; past a limit the receiver cannot tell a 0 from a 1Fixes the maximum segment length — 100 m for twisted pair, kilometres for fibre
Interference / noiseHow badly outside electrical noise (motors, tube lights, power cables) corrupts the signalCopper picks up electromagnetic interference; fibre is completely immune to it
Security and installationHow easily the line can be tapped, and how hard it is to layUTP can be tapped quietly; a fibre is very hard to tap, and any attempt drops the received light level, which the equipment notices

Three terms students mix up. Bandwidth is strictly a range of frequencies, measured in hertz — a channel running from 1 MHz to 5 MHz has a bandwidth of 4 MHz. Data rate is the number of bits actually delivered per second, measured in bps. More bandwidth allows a higher data rate, but they are not the same quantity. Attenuation is the weakening of a signal with distance, measured in decibels (dB); it is the single reason repeaters exist.

The units trap. Link speeds are quoted in bits per second; file sizes are quoted in bytes. Since 1 byte = 8 bits, an 8 Mbps connection delivers roughly 1 MB every second. Forgetting the factor of 8 is the most common arithmetic mistake in this unit.

Worked example. A school in Nagpur has an 8 Mbps broadband line and wants to download a 900 MB software package. Its computer lab is 250 m of cable route away from the server room. Find (a) the download time and (b) whether one twisted-pair run can reach the lab.

(a) Convert the file into bits first: 900 MB × 8 = 7200 megabits. Time = 7200 Mb ÷ 8 Mbps = 900 seconds = 15 minutes. If you skip the ×8 you get 112.5 seconds — wrong by exactly a factor of eight, which is what the examiner is checking.

(b) A twisted-pair Ethernet segment is limited to 100 m by attenuation. 250 m cannot be a single run. Split as 100 m + 100 m + 50 m, the signal must be regenerated at the 100 m and 200 m marks — that is two repeaters (in practice, two switches in corridor cabinets). The alternative is one uninterrupted optical fibre run, for which 250 m is trivial. That trade-off — cheap copper with a short leash, versus costly glass with none — is what the next two sections are about.

Guided vs unguided Guided = signal confined in a conductor (twisted pair, co-axial, fibre); Unguided = signal radiated through air/space (radio, microwave, infrared) Wireless is not 'no medium' — air is the medium. It is unguided because no conductor forces the path.
Bandwidth vs data rate Bandwidth = range of frequencies, in Hz; Data rate = bits delivered per second, in bps Define bandwidth in Hz in a definition question, even though everyday speech says 'my bandwidth is 100 Mbps'.
Attenuation Attenuation = loss of signal strength with distance, measured in decibels (dB) Attenuation, not lack of power, is why every medium has a maximum segment length.
Bits and bytes 1 Byte = 8 bits; 1 kbps = 10^3 bps; 1 Mbps = 10^6 bps; 1 Gbps = 10^9 bps Link speed is in bits, file size is in bytes. 8 Mbps is about 1 MB per second, not 8 MB per second.
Download time time (s) = file size in bits / data rate in bps Convert the file from MB to Mb (multiply by 8) before dividing, or your answer is 8 times too small.
Transmission modes Simplex = one direction only | Half duplex = both directions, one at a time | Full duplex = both directions at once Needed for the hub-versus-switch comparison in the last section: a hub forces every machine into half duplex, while a switch port gives full duplex.
Remember
  • Guided media confine the signal inside a cable (twisted pair, co-axial, fibre); unguided media radiate it through air or space (radio, microwave, infrared). Wireless still uses a medium.
  • Compare any medium on five axes: cost, data rate, maximum distance, immunity to interference, and installation/security.
  • Attenuation, the loss of signal strength with distance, is what fixes the maximum segment length of every medium — 100 m for twisted-pair Ethernet.
  • Bandwidth is a range of frequencies in Hz; data rate is bits actually delivered per second in bps. They are related but not the same thing.
  • Speeds are in bits, file sizes in bytes: divide by 8 before comparing. An 8 Mbps line moves about 1 MB per second.

Wired (Guided) Media: Twisted Pair, Co-axial, Fibre

Quick answer Twisted pair is the cheap 100 m workhorse of every LAN, co-axial adds a metal shield for noise immunity and longer runs, and optical fibre carries light by total internal reflection for immunity to interference, huge bandwidth and kilometres of reach at the highest cost.

Guided media are either copper or glass. Copper carries electricity; glass carries light. That one sentence predicts nearly every difference between them.

1. Twisted pair cable. Two insulated copper wires twisted around each other in a regular spiral, with several such pairs bundled inside one plastic sheath. A standard Ethernet cable contains four pairs and ends in an RJ-45 plug.

Why twist them at all? A current in a wire creates a magnetic field, and a wire lying next to it picks that field up — this unwanted coupling is called crosstalk. Outside noise from a motor or a power cable induces a voltage in the same way. When the two wires of a pair are twisted, each wire spends half the run closer to the noise source and half the run further from it, so both wires pick up almost exactly the same noise. The receiver reads only the difference between the two wires, and equal noise on both cancels out. More twists per metre means better cancellation, which is what the category numbers measure.

  • UTP (Unshielded Twisted Pair) — no metal shield. Cheap, thin, flexible, easy to crimp. The default for LAN cabling everywhere.
  • STP (Shielded Twisted Pair) — a metal foil or braid wrapped around the pairs. Costs more, is stiffer and must be properly earthed to work, but survives electrically noisy places such as a factory floor.

Category ratings worth memorising: Cat 5e gives 1 Gbps, Cat 6 gives 1 Gbps over the full 100 m (10 Gbps only for shorter runs of about 55 m), and Cat 6a gives 10 Gbps over the full 100 m.

2. Co-axial cable. "Co-axial" means the two conductors share the same axis — one sits inside the other.

Co-axial cable, from the inside out

   1. Copper conductor        carries the signal
   2. Insulating dielectric   keeps 1 and 3 apart
   3. Braided metal shield    blocks outside noise, acts as return path
   4. Plastic outer jacket    mechanical protection

The braided shield does two jobs at once: it is the return conductor, and it is a grounded metal cage that keeps outside noise out and the signal in. That is exactly why co-axial cable tolerates electrical noise and longer runs better than UTP does. The classic Ethernet forms were Thinnet (10BASE2), up to 185 m per segment and terminated with BNC connectors, and Thicknet (10BASE5), up to 500 m and tapped with N-type connectors; both ran at 10 Mbps. Co-axial lost the LAN to twisted pair because it is stiff, awkward to install and shares a single cable among all the machines on it. It survives today in cable television and cable broadband, where one high-bandwidth line feeds a whole street.

3. Optical fibre cable. A hair-thin strand of extremely pure glass called the core, surrounded by a second glass layer called the cladding whose refractive index is lower than the core's, all wrapped in a protective buffer and an outer jacket.

Optical fibre, cross-section

   +-----------------------------+
   |  Outer jacket               |
   |   +---------------------+   |
   |   |  Cladding   (n2)    |   |
   |   |   +-------------+   |   |
   |   |   | Core   (n1) |   |   |    n1 is greater than n2
   |   |   +-------------+   |   |
   |   +---------------------+   |
   +-----------------------------+

Data travels as pulses of light from an LED or a laser. When a ray inside the core strikes the core–cladding boundary at a shallow enough angle, the lower refractive index of the cladding causes total internal reflection: the light bounces back into the core instead of escaping, and keeps bouncing all the way to the far end. If the cladding's refractive index were equal to or greater than the core's, total internal reflection could not happen and the fibre would carry nothing. That single fact is a favourite one-mark question.

  • Single-mode fibre — very narrow core, about 9 micrometres, driven by a laser. The light travels almost straight down the core. Used for backbone and long-distance links: tens of kilometres without a repeater.
  • Multi-mode fibre — wider core, 50 or 62.5 micrometres, driven by an LED. Light takes many different paths, so rays arrive at slightly different times (modal dispersion) and the usable distance drops to a few hundred metres — perfectly adequate inside a building or across a campus, and cheaper.

Because the signal is light and not current, fibre is completely immune to electromagnetic interference, radiates no interference of its own, and conducts no electricity, so it is safe to run near heavy machinery and between buildings in a lightning-prone area. It is also the hardest medium to tap: there is no electrical field leaking out to pick up from outside, and getting at the light means bending or breaking the strand, which drops the received power at the far end and is detected at once.

FeatureUTPSTPCo-axialOptical fibre
CostLowestLow to moderateModerateHighest (cable and skilled termination)
Typical data rate1 Gbps (Cat 5e/6), 10 Gbps (Cat 6a)Same as UTP10 Mbps as classic Ethernet; much higher on modern cable broadbandGbps to Tbps
Maximum segment100 m100 m185 m thin, 500 m thickFew hundred m (multi-mode) to tens of km (single-mode)
Immunity to EMIPoorBetter, because of the shieldGood, because of the braidTotal — it carries light
Ease of tappingEasyEasyModerateVery hard, and detectable
InstallationEasiest, cheap crimping toolHeavier, must be earthedStiff, hard to bend around cornersHardest, needs trained splicing
ConnectorRJ-45Shielded RJ-45BNC and F-type (N-type on old thick Ethernet)SC, ST, LC
Where it is usedLAN wiring in offices, labs, homesIndustrial and noisy sitesCable TV, cable broadband, old LANsBackbones, inter-building links, undersea and long-haul routes

Worked example. A multi-speciality hospital in Pune is being wired. Three separate requirements, three different answers:

  1. Ward and office LAN, 40 computers, longest cable route 70 m, ordinary rooms. Use Cat 6 UTP. It is the cheapest option, 70 m is comfortably inside the 100 m limit, there is no unusual electrical noise, and any electrician can terminate it with RJ-45 plugs. Spending on fibre here would buy nothing.
  2. Link from the main building to the radiology block, 400 m away, with the cable route passing the MRI and generator room. Use optical fibre. Copper fails twice over here: 400 m is four times the UTP limit, and the MRI and generator produce strong electromagnetic interference that would corrupt data on any copper cable, shielded or not. Fibre solves both, and because it is non-conductive it also avoids carrying an earth fault or lightning surge between two separate buildings.
  3. Television feed to patient rooms. The building already has co-axial cable-TV wiring. Leave it alone — coax has plenty of bandwidth for video distribution and there is no reason to spend money replacing working infrastructure.

The lesson the board is testing: the "best" medium is not fibre. The best medium is the cheapest one that clears the distance and the noise.

UTP segment limit 100 m per Ethernet segment (about 90 m of solid cable + 10 m of patch leads) Beyond 100 m you add a repeater or a switch, never a longer cable.
Category ratings Cat 5e = 1 Gbps | Cat 6 = 1 Gbps over 100 m (10 Gbps only up to about 55 m) | Cat 6a = 10 Gbps over 100 m Cat 6 does not give 10 Gbps over a full 100 m run — that is Cat 6a. Examiners like this distinction.
Co-axial construction Copper conductor -> insulating dielectric -> braided metal shield -> plastic jacket Write all four layers. The shield is the reason coax beats UTP on noise, so say what it does.
Fibre construction Core (n1) -> Cladding (n2, with n2 less than n1) -> Buffer -> Jacket; light travels by total internal reflection State the inequality n1 greater than n2 explicitly; that is where the mark is.
Single-mode vs multi-mode Single-mode: about 9 micrometre core, laser source, tens of km | Multi-mode: 50 or 62.5 micrometre core, LED source, a few hundred metres Multi-mode is limited by modal dispersion, not by attenuation — different light paths arrive at different times.
Connectors by medium Twisted pair -> RJ-45 | Co-axial -> BNC and F-type (N-type on old thick Ethernet) | Fibre -> SC, ST, LC RJ-11 (telephone, 6 positions) is not RJ-45 (Ethernet, 8 positions).
Remember
  • Twisted pair is cheapest and easiest, uses an RJ-45 connector, is limited to 100 m per segment and gives 1 Gbps with Cat 5e/Cat 6 — the default for all LAN wiring.
  • Twisting the two wires of a pair makes both pick up the same noise, which then cancels at the receiver; STP adds a metal shield for electrically noisy sites.
  • Co-axial cable's braided shield gives better noise immunity and longer runs (185 m thin with BNC, 500 m thick with N-type) than UTP; today it survives mainly in cable TV and cable broadband.
  • Optical fibre carries light by total internal reflection: highest bandwidth, lowest attenuation, total immunity to EMI, and extremely hard to tap without being detected — but the costliest and needs skilled splicing.
  • The cladding must have a LOWER refractive index than the core, otherwise total internal reflection cannot occur and the fibre carries nothing.

Wireless (Unguided) Media: Radio, Microwave, Infrared

Quick answer Radio waves are omnidirectional and pass through walls, microwaves are unidirectional and need line of sight between aligned dishes or a geostationary satellite 35,786 km up, and infrared cannot cross a wall at all — which is precisely why it is used for remote controls.

Unguided media send the signal into open space. There is no cable to lay, which is their whole attraction, but there is also no cable to protect the signal, which is where all their problems come from. The three types are separated by frequency, and frequency explains everything else about them.

MediumFrequency rangeWavelength
Radio waves3 kHz to 1 GHzLong
Microwaves1 GHz to 300 GHzShort
Infrared waves300 GHz to 400 THzShortest — just below visible light

Hold on to one rule: higher frequency buys more bandwidth but loses penetration. Radio, at the bottom, goes through walls but carries less. Infrared, at the top, carries a lot but is stopped by a sheet of cardboard. Microwave sits in between and is the compromise that long-distance links are built on.

1. Radio waves. Radio waves are omnidirectional: an antenna radiates them in all directions, so the sending and receiving antennas do not have to be aligned or even in sight of each other. They diffract around obstacles and pass through ordinary walls, which is why an FM radio works indoors with the receiver lying flat on a table. Lower-frequency radio can also travel very long distances by reflecting off the ionosphere.

  • Uses: AM and FM radio broadcasting, television broadcasting, cordless phones, walkie-talkies, and short-range indoor wireless networking.
  • Limitations: because the signal spreads everywhere, anyone in range can receive it — poor security — and everyone using the same band interferes with everyone else. Most radio spectrum is therefore licensed; in India it is allocated by the Wireless Planning and Coordination wing of the Department of Telecommunications. The 2.4 GHz band is licence-free almost everywhere, which is exactly why Wi-Fi, Bluetooth and cordless phones all crowd into it and why they interfere with one another.

A boundary worth stating honestly. Wi-Fi and Bluetooth work at 2.4 GHz, which by the frequency table above lies inside the microwave band, yet textbooks list them under radio waves. Both statements have a reason: the frequency is microwave, but the behaviour is radio — a plain omnidirectional antenna, no dish, no alignment, and enough wall penetration to work indoors. In an exam, answer by behaviour. If the question mentions omnidirectional transmission or passing through walls, the answer is radio waves; if it mentions a narrow beam, a dish or line of sight, the answer is microwave.

2. Microwaves. Microwaves are unidirectional. They are focused into a narrow beam by a parabolic dish, so the transmitting and receiving dishes must be carefully aligned and must have a clear line of sight. They do not bend around hills and they are absorbed or reflected by walls, which is why a microwave link works over open ground but not through a building.

  • Terrestrial microwave: dish antennas mounted on tall towers, on hilltops or on rooftops. Because the earth curves away, the towers must be within sight of each other, so a long route is built from a chain of repeater towers typically a few tens of kilometres apart. The limit is geometry, not transmitter power — taller towers see further.
  • Satellite microwave: a communication satellite in geostationary orbit, 35,786 km above the equator, completes one orbit in a sidereal day of 23 hours 56 minutes — exactly the time the earth takes to turn once on its axis. It therefore keeps pace with the ground below, appears fixed in the sky, and a ground dish can be bolted in one position and never moved. It receives on an uplink frequency, shifts the signal to a different downlink frequency and retransmits — two different frequencies are used so that the powerful uplink does not drown the extremely faint downlink. One satellite covers a huge area, which makes this the natural medium for television broadcasting and for reaching remote or hilly places where no cable can go.
  • Limitations: the height that gives a satellite its coverage also gives it delay. At the speed of light, the journey up and back down takes about 240 ms for a station directly below the satellite and up to about 280 ms near the edge of its coverage — roughly a quarter of a second per hop, no matter how fast the link is. That is why a satellite video call feels laggy even on a high-speed connection. Higher microwave frequencies are also absorbed by heavy rain ("rain fade"), which is why a satellite TV picture breaks up during a storm. Setting up a satellite link is very expensive, and any new tall building that blocks a terrestrial line of sight kills the link.

3. Infrared waves. Infrared sits just below visible light in frequency, and it behaves like light: it travels in straight lines, it reflects off walls and ceilings, and it cannot pass through any opaque object. An infrared link therefore needs a clear line of sight and works only over a few metres, inside one room.

Students write "cannot pass through walls" as a disadvantage and stop there. Say the other half, because that is where the marks are: being blocked by walls is also infrared's biggest advantage. Two consequences follow directly:

  • Frequency reuse. An infrared system in one room cannot interfere with an identical system in the next room. That is precisely why every television in the country can use the same infrared codes and your remote still does not change your neighbour's channel.
  • Security. An eavesdropper has to be physically inside the same room. A radio signal leaks into the street; an infrared signal does not.

Uses: television and air-conditioner remote controls, older laptop-to-phone IrDA links, some wireless mice and keyboards, and short-range in-room data transfer. Other limitation: sunlight is full of infrared, so an infrared link outdoors or in bright light is swamped by noise and becomes unreliable. No licence is needed to use it.

PropertyRadio wavesMicrowavesInfrared waves
Frequency3 kHz to 1 GHz1 GHz to 300 GHz300 GHz to 400 THz
DirectionOmnidirectionalUnidirectional, needs aligned dishesLine of sight, very narrow
Passes through walls?YesNoNo, not even through cardboard
Typical rangeHundreds of metres to hundreds of kmTens of km per terrestrial hop; global via satelliteA few metres, one room
BandwidthLowerHighVery high
Licence neededUsually yes, except free bands like 2.4 GHzUsually yesNo
SecurityPoor — the signal leaks everywhereBetter — narrow beamBest — confined to the room
Typical useAM/FM radio, TV, cordless phones, indoor wireless LANBuilding-to-building links, mobile backhaul, satellite TV and VSATRemote controls, short-range device links
Main enemyInterference from other users of the bandObstruction of line of sight; rain fade; satellite delayAny obstacle, and sunlight

Worked example. A firm in Jaipur has two buildings 4 km apart. A busy road and a protected heritage zone lie between them, so no cable may be dug in. There is a clear line of sight from one rooftop to the other. Which wireless medium?

  • Infrared — reject. Its usable range is a few metres inside a room, and outdoor daylight would swamp it. It is not even close.
  • Radio waves — possible but poor. Radio would cover 4 km, but it radiates in every direction, so most of the power is wasted, the signal is easy to intercept from the road below, the licence-free bands are already crowded in a city, and the usable bandwidth per channel is lower.
  • Terrestrial microwave — accept. Mount a parabolic dish on each rooftop and align them. 4 km is well inside a single line-of-sight hop, no digging is required, the narrow beam wastes little power and is hard to intercept, and the bandwidth is high enough to carry the office network.

State the conditions with the answer, because "suggest and justify" questions carry a mark for the caveat: the line of sight must stay clear, so a tall building put up later between the two roofs would break the link, and very heavy rain will degrade it.

Second worked example. Why does pressing the remote in your drawing room not change the television in the bedroom? Because infrared is stopped by the wall. The same property that limits infrared to one room is what allows every household in India to use identical remote codes with no interference at all.

Frequency bands Radio 3 kHz to 1 GHz | Microwave 1 GHz to 300 GHz | Infrared 300 GHz to 400 THz Learn the order. Higher frequency means more bandwidth but worse penetration through obstacles.
Propagation pattern Radio = omnidirectional | Microwave = unidirectional, dishes must be aligned | Infrared = line of sight, blocked by any opaque object 'Which one passes through a wall?' has exactly one answer: radio.
Terrestrial microwave repeaters Line-of-sight towers, typically a few tens of km apart; spacing set by tower height and the curvature of the earth The limit is geometry, not transmitter power. A taller tower sees further.
Geostationary satellite Orbit 35,786 km above the equator; period = one sidereal day, 23 h 56 min; one hop up and down takes about 240 ms below the satellite and about 280 ms at the edge of coverage That delay is fixed by the speed of light — buying a faster link does not reduce it. The period is a sidereal day, not exactly 24 hours.
Uplink and downlink Earth to satellite = uplink (higher frequency); satellite to earth = downlink (lower frequency) Two different frequencies are used so the strong uplink does not swamp the very weak downlink.
Infrared frequency reuse Infrared cannot cross a wall, so the same infrared frequency and codes can be reused in every room and every house State this as an ADVANTAGE, not only as a limitation — that is the half most answers miss.
Remember
  • Radio waves (3 kHz–1 GHz) are omnidirectional and pass through walls, so antennas need no alignment — used for AM/FM, TV and indoor wireless.
  • Microwaves (1–300 GHz) are unidirectional and need clear line of sight; terrestrial links use aligned dishes on towers, satellite links use a geostationary satellite 35,786 km above the equator.
  • A geostationary hop adds roughly 240 ms of delay directly below the satellite and up to about 280 ms at the edge of coverage, whatever the data rate — so satellite is excellent for broadcast and poor for real-time interaction.
  • Infrared (300 GHz–400 THz) cannot cross a wall. That confines it to one room, which is also its security and frequency-reuse advantage — the reason remote controls work.
  • One rule explains all three: higher frequency gives more bandwidth but less penetration.

End Devices: Modem, Ethernet Card, RJ-45, Wi-Fi Card, Repeater

Quick answer A modem converts digital to analog and back so data can cross a telephone or cable line, an Ethernet card gives a machine its RJ-45 port and its permanent 48-bit MAC address, a Wi-Fi card does the same job over IEEE 802.11 radio, RJ-45 is an 8-pin connector that takes no decisions, and a repeater regenerates a weakened signal without reading any address.

These five sit at the edge of a network. They attach a machine to the medium or keep a signal alive on it. None of them decides where data should go — that is the next section.

1. Modem (MOdulator–DEModulator). A computer produces digital signals: sharp square pulses that are either 0 or 1. A traditional telephone line was engineered to carry the human voice, roughly 300 Hz to 3400 Hz of analog sound, and it simply cannot carry sharp digital pulses over any distance. A modem bridges the two worlds. At the sending end it modulates the bits onto an analog carrier wave by varying the wave's amplitude, frequency or phase. At the receiving end another modem demodulates the wave back into bits. Because both directions need converting, you need a modem at each end of the line.

  • By placement: an internal modem is a card fitted inside the computer or built into the motherboard; an external modem is a separate box connected by a cable and has its own power supply and status lights.
  • By line type: a dial-up modem works over an ordinary telephone line, occupies the voice channel so the phone cannot be used at the same time, and is limited to 56 kbps. A DSL/ADSL modem uses frequencies above the voice band on the same pair of copper wires, so the telephone and the internet work simultaneously and much faster. A cable modem works over the cable-television co-axial line.
  • Layer: physical layer.

The single box your ISP installs at home usually contains a modem, a router, a small switch and a Wi-Fi access point in one case. Those are four different functions, and the board expects you to name them separately.

2. Ethernet card (NIC — Network Interface Card). A circuit board plugged into an expansion slot, or a chip built into the motherboard, that lets a computer attach to a wired network. It provides the RJ-45 socket, converts the computer's internal data into a serial stream of Ethernet frames and back again, and holds a permanent 48-bit MAC (Media Access Control) address written in by the manufacturer, for example 00:1A:2B:3C:4D:5E. The first three bytes identify the manufacturer and the last three identify the individual card — a scheme designed so that every card leaves the factory with a globally unique address. Common speeds are 10, 100 and 1000 Mbps. It works at the physical and data link layers.

Keep the two kinds of address straight: MAC is permanent, flat and burned into the hardware; IP is assigned by software and is hierarchical. A laptop has two MAC addresses because it has two cards — one Ethernet, one Wi-Fi.

3. RJ-45 (Registered Jack 45). An 8-pin modular connector crimped onto the end of a four-pair twisted-pair cable, which plugs into the socket on a NIC, hub, switch or router. Say this plainly in an exam: RJ-45 is a connector, not a device. It has no address, no power, no OSI layer and takes no decision; it only makes eight reliable electrical contacts.

The eight wires are arranged in one of two standard colour orders, T568A or T568B. Use the same standard at both ends and you get a straight-through cable (computer to switch). Use a different standard at each end and you get a crossover cable (computer to computer, or switch to switch on older equipment). Modern equipment detects and corrects this automatically, so crossover cables are rarely needed now. Do not confuse RJ-45 with RJ-11, the smaller 6-position jack on a telephone cable.

4. Wi-Fi card (wireless NIC / WLAN card). The wireless equivalent of the Ethernet card. Instead of a socket it has a radio transceiver and an antenna, and it follows the IEEE 802.11 family of standards. It associates with a wireless access point, which is normally cabled back to a switch. Like a wired NIC it has its own MAC address and works at the physical and data link layers. Wi-Fi is the trade name for equipment built to these standards; many textbooks expand it as "Wireless Fidelity".

  • Bands: the 2.4 GHz band travels further and passes through walls better, but is crowded with Bluetooth devices, cordless phones and microwave ovens. The 5 GHz band has more channels and higher speed but a shorter range and is stopped more easily by walls.
  • Standards: 802.11b gave 11 Mbps at 2.4 GHz; 802.11a gave 54 Mbps at 5 GHz and 802.11g gave 54 Mbps at 2.4 GHz; 802.11n works in both bands at hundreds of Mbps; 802.11ac works at 5 GHz at gigabit class; 802.11ax is marketed as Wi-Fi 6.

5. Repeater. An electronic device that receives a weak and distorted signal, regenerates it and retransmits it at full strength. It works at the physical layer.

The word regenerate is where the marks are. An amplifier boosts whatever reaches it — including all the noise the signal has picked up along the way — so after a few amplifiers the noise is as large as the signal itself. A repeater works on a digital signal: for each incoming pulse it decides whether it was a 0 or a 1, and then transmits a brand-new, clean, correctly timed pulse. Noise does not accumulate. That is why long digital links use repeaters and not amplifiers.

A repeater reads no addresses, filters nothing and takes no forwarding decision: whatever arrives on one side goes out on the other. Use it whenever a run exceeds the medium's limit — a twisted-pair link longer than 100 m, or a long fibre or microwave route. A Wi-Fi range extender is the same idea applied to radio.

DeviceOSI layerWhat it actually doesAddress used
ModemPhysical (1)Digital to analog and analog to digital conversionNone
Ethernet card (NIC)Physical and data link (1–2)Attaches a machine to a wired LAN; builds and reads framesIts own MAC
RJ-45None — it is a connectorTerminates a twisted-pair cable in an 8-pin plugNone
Wi-Fi cardPhysical and data link (1–2)Attaches a machine to a wireless LAN over IEEE 802.11Its own MAC
RepeaterPhysical (1)Regenerates and retimes a weakened signalNone

Worked example. A college in Coimbatore runs a cable from the server-room switch to a new lab across the campus. The measured cable route is 140 m. Once connected, none of the lab computers shows a link, and the network staff have spent a day reconfiguring IP settings with no result.

Diagnosis. 140 m exceeds the 100 m limit of a twisted-pair Ethernet segment, so attenuation has weakened the signal below what the receiving card can read. This is a physical-layer problem. No amount of software configuration can fix it, which is exactly why the day was wasted.

Two valid fixes.

  1. Install a repeater in a corridor cabinet at about the 70 m mark, splitting the run into 70 m + 70 m. Both halves are now within the limit and the signal is regenerated in the middle. In practice a small switch is used, since a switch regenerates the signal exactly as a repeater does and adds addressing intelligence for about the same money.
  2. Replace the copper run with multi-mode optical fibre, with a fibre port or media converter at each end. 140 m is nothing for fibre, and it also removes any interference from the campus power cabling. This costs more today and is the better answer for the long term.

The rest of the lab. Each desktop needs a working Ethernet card, and each cable needs an RJ-45 plug at both ends to reach the switch. Staff laptops with no Ethernet socket join through their Wi-Fi cards via an access point cabled to the same switch. The college's internet line from the ISP terminates on a modem.

Modem MOdulator + DEModulator: digital to analog at the sender, analog to digital at the receiver. Physical layer. You need a modem at BOTH ends of the line, not just at the user's end.
Modem types By placement: internal (card) / external (box). By line: dial-up (56 kbps max), DSL/ADSL (shares the phone pair), cable (over co-axial). The home 'router' box is really modem + router + switch + access point in one case. Name the functions separately in an exam.
MAC address 48 bits, written as 6 hexadecimal pairs, e.g. 00:1A:2B:3C:4D:5E; first 3 bytes = manufacturer, last 3 = card MAC is permanent and flat; IP is assigned and hierarchical. One MAC per card, so a laptop has two.
RJ-45 8-pin modular connector for twisted-pair Ethernet; wired to standard T568A or T568B Same standard at both ends = straight-through; different standards = crossover. RJ-45 is a connector, so it has no OSI layer.
Repeater vs amplifier Amplifier: boosts signal + noise together. Repeater: decides each bit, then transmits a fresh clean pulse. Say 'regenerates' and not 'amplifies' — that one word is usually the mark.
IEEE 802.11 (Wi-Fi card) 802.11b = 11 Mbps at 2.4 GHz | 802.11a = 54 Mbps at 5 GHz | 802.11g = 54 Mbps at 2.4 GHz | 802.11n = both bands | 802.11ac = 5 GHz, gigabit class | 802.11ax = Wi-Fi 6 2.4 GHz reaches further and through walls; 5 GHz is faster but shorter range and blocked more easily.
Remember
  • A modem modulates digital bits onto an analog carrier and demodulates them back; one is needed at each end. Types: internal/external by placement, and dial-up/DSL/cable by line. Physical layer.
  • The Ethernet card (NIC) gives a machine its RJ-45 socket and its permanent 48-bit MAC address; it works at the physical and data link layers.
  • RJ-45 is an 8-pin connector, not a device — no address, no power, no OSI layer. RJ-11 is the smaller 6-position telephone jack.
  • A repeater regenerates and retimes a weak signal, so unlike an amplifier it does not pass on accumulated noise; it reads no addresses at all.
  • A Wi-Fi card is a wireless NIC following IEEE 802.11: 2.4 GHz gives range and wall penetration, 5 GHz gives speed over a shorter distance.

Forwarding Devices: Hub, Switch, Router, Gateway

Quick answer A hub blindly copies a frame to every other port, a switch learns MAC addresses and sends it to one port only, a router reads IP addresses and picks a path between different networks, and a gateway joins networks that speak different protocols by translating between them.

These four decide where data goes next, and the board asks about them constantly — usually as "differentiate between" or as "which device would you use here". Each step up this list means reading a bigger address and taking a smarter decision.

1. Hub. A hub is a multiport repeater working at the physical layer. When a frame arrives on any port, the hub regenerates the signal and sends it out of every other port. It keeps no table, reads no address and remembers nothing about who is connected where.

The consequences are severe. All the machines share a single collision domain, so only one may transmit at a time; if two transmit together their signals collide and both must retry. Communication is therefore half duplex and the total bandwidth is shared — eight machines on a 100 Mbps hub get about 12.5 Mbps each at best. Every machine also physically receives every frame, so a machine set to accept everything can read other people's traffic, which is a real security problem. Types: a passive hub only joins the wires and needs no power; an active hub regenerates and boosts the signal and needs power; an intelligent (manageable) hub is an active hub with management features. Hubs are obsolete in real networks; they are in your syllabus because they are the perfect contrast to a switch.

2. Switch. A switch works at the data link layer and keeps a MAC address table. It builds that table by itself. Every time a frame arrives, the switch reads the frame's source MAC address and records "this address is reachable on port n". It then reads the destination MAC address and looks it up: if it knows the port, it sends the frame out of that port only; if the address is not yet in the table, it floods the frame out of all other ports once, and learns the correct port from the reply.

MAC address table of the lab switch

   MAC address           Port
   00:1A:2B:3C:4D:5E      1
   00:1A:2B:3C:4D:7F      5
   4C:CC:6A:11:02:9B     12

This is the difference the board asks about most often, so keep it crisp:

A frame from PC1 on port 1, addressed to PC5 on port 5

  HUB, 8 ports
     in  : port 1
     out : ports 2,3,4,5,6,7,8   every machine is disturbed and
                                 six of them discard the frame

  SWITCH, 8 ports
     in  : port 1
     out : port 5 only           the destination MAC was found in
                                 the table against port 5

Because of this, each port of a switch is its own collision domain, each port can run full duplex at its full rated speed, and a machine no longer sees traffic meant for others. One caution: broadcast frames, addressed to FF:FF:FF:FF:FF:FF, are still sent out of every port. A switch does not break up a broadcast domain.

3. Router. A router works at the network layer and connects two or more different networks. It reads the destination IP address of each packet, looks it up in a routing table that lists which network is reachable through which interface and at what cost, and forwards the packet along the best available path. Because it works on IP addresses it does not care what lies underneath — one side can be fibre Ethernet and the other a wireless link.

A router also separates broadcast domains: each interface is a different network, and a broadcast on one side is not forwarded to the other. This is what stops a broadcast storm in one department from taking down the whole organisation. In a home or small office the same box normally also shares one public IP address among many private machines.

4. Gateway. A gateway connects two networks that use different protocols or entirely different architectures, and it translates between them. That is the whole distinction from a router, and it is the one students lose marks on:

  • A router forwards between networks that already speak the same protocol — TCP/IP on both sides. It changes nothing about the packet's protocol; it only chooses the path.
  • A gateway makes two networks that do not speak the same language understand each other. To translate it may have to work all the way up to the application layer, which makes it the slowest and most complex device here.

Examples: a VoIP gateway joining an office IP telephone network to the ordinary telephone network; a mail gateway converting between two different messaging systems; a gateway between an industrial control protocol on a factory floor and the TCP/IP office LAN.

A warning about the words "default gateway". In your computer's IP settings there is a field called Default Gateway, and it almost always holds the IP address of your ordinary router — it simply means "the way out of my network". The name is historical. If a question asks which device connects two networks using different protocols, the answer is gateway. If it just asks who forwards your packets towards the internet, the honest answer is your router.

DeviceOSI layerAddress it readsForwarding decisionCollision domains on n portsBroadcast domains
RepeaterPhysical (1)NoneRegenerate and pass on11
HubPhysical (1)NoneOut of all other ports11
SwitchData link (2)MACOnly to the destination portn1
RouterNetwork (3)IPBest path from the routing tableOne per interfaceOne per interface
GatewayUp to application (7)Whole protocol stackTranslate, then forwardDepends on the networks joinedDepends on the networks joined

Which device would you use? This table answers most one-mark scenario questions directly.

SituationDeviceReason
Connect 24 computers in a lab so each gets full speedSwitchForwards a frame only to the destination port; one collision domain per port, full duplex
A copper run of 160 m between two pointsRepeaterRegenerates the signal beyond the 100 m twisted-pair limit
Bring the ISP's broadband in from a telephone or cable lineModemConverts between the analog line signal and digital data
Give the LAN internet access and keep office and lab networks separateRouterJoins different networks on IP addresses and separates broadcast domains
Let laptops with no Ethernet socket join the networkWi-Fi card with an access pointWireless NIC using IEEE 802.11
Connect the TCP/IP LAN to an old machine that speaks a different protocolGatewayTranslates between two different protocols, up to the application layer
Terminate a Cat 6 cable so it can be plugged into a switchRJ-45 connector8-pin plug for twisted-pair cable
Attach a desktop computer to the wired networkEthernet card (NIC)Provides the port and the MAC address

Worked example. A school in Lucknow has 30 computers in its lab, all plugged into a single 32-port hub. Students complain the network is slow whenever several machines are used at once. The school also has a small office network that must stay separate from the lab, a broadband line from its ISP, and an old biometric attendance controller that communicates using a protocol the LAN does not understand. A new annexe 130 m away must also be connected.

  1. Why the lab is slow. All 30 machines are in one collision domain. They share the hub's bandwidth, only one may transmit at a time, and every attempt by two machines at once causes a collision and a retry. Replace the hub with a 32-port switch: collision domains go from 1 to 32, one per port, with 30 of them in use; each port runs full duplex at its full speed, and no machine can read another's traffic. The number of broadcast domains stays 1 in both cases — a switch does not change that.
  2. Keeping office and lab apart. Connect each to a different interface of a router. That makes them two separate networks with two separate broadcast domains, while still allowing controlled traffic between them.
  3. Internet. The ISP line terminates on a modem, whose output goes into the router's internet port. The router then shares the connection with both networks.
  4. The attendance controller. Because it uses a different protocol, no router or switch can help. It needs a gateway acting as a protocol converter between the controller and the school LAN.
  5. The annexe at 130 m. 130 m is beyond the 100 m twisted-pair limit, so either place a repeater (in practice an intermediate switch) about halfway, or run optical fibre to the annexe, which needs nothing in between.
Hub vs Switch Hub: frame in on one port goes out of ALL other ports. Switch: frame in goes out only on the port holding the destination MAC. Write both halves of the sentence. Half an answer gets half a mark.
Collision and broadcast domains n-port hub = 1 collision domain, 1 broadcast domain | n-port switch = n collision domains, 1 broadcast domain | router = 1 broadcast domain per interface A switch does not stop broadcasts; only a router (or a VLAN) does.
Switch learning Read SOURCE MAC of every incoming frame, store (MAC, port) in the MAC address table; unknown destination is flooded out of all other ports The first frame to a new machine behaves like a hub, and only after that does the switch know the port.
Router Layer 3: read destination IP, look it up in the routing table, forward along the best path between different networks Both sides must already use the same protocol. If they do not, a router is useless and you need a gateway.
Gateway Protocol converter between two networks using different protocols or architectures; can work up to the application layer Router = same protocol, chooses path. Gateway = different protocols, translates. That single line answers the whole comparison.
Device to layer map Repeater, Hub, Modem = Layer 1 | NIC, Wi-Fi card, Switch = Layer 2 | Router = Layer 3 | Gateway = up to Layer 7 | RJ-45 = connector, no layer Always write the layer along with the definition — boards frequently allot a separate mark for it.
Remember
  • Hub (layer 1) copies an incoming frame to every other port and keeps no table; switch (layer 2) learns MAC addresses and sends the frame to the destination port only. This is the most-asked comparison in the unit.
  • A switch gives one collision domain per port and full duplex, but it does NOT break broadcasts — only a router separates broadcast domains.
  • A switch builds its MAC address table automatically by reading the SOURCE address of every frame; an unknown destination is flooded once and learnt from the reply.
  • A router (layer 3) reads destination IP addresses and picks the best path between different networks that use the same protocol.
  • A gateway joins networks using DIFFERENT protocols and translates between them, working up to the application layer. 'Default gateway' in IP settings is normally just your router.

The formula sheet

Every formula in this chapter, in one place — screenshot it before your exam.

Guided = signal confined in a conductor (twisted pair, co-axial, fibre); Unguided = signal radiated through air/space (radio, microwave, infrared)
Guided vs unguided
Bandwidth = range of frequencies, in Hz; Data rate = bits delivered per second, in bps
Bandwidth vs data rate
Attenuation = loss of signal strength with distance, measured in decibels (dB)
Attenuation
1 Byte = 8 bits; 1 kbps = 10^3 bps; 1 Mbps = 10^6 bps; 1 Gbps = 10^9 bps
Bits and bytes
time (s) = file size in bits / data rate in bps
Download time
Simplex = one direction only | Half duplex = both directions, one at a time | Full duplex = both directions at once
Transmission modes
100 m per Ethernet segment (about 90 m of solid cable + 10 m of patch leads)
UTP segment limit
Cat 5e = 1 Gbps | Cat 6 = 1 Gbps over 100 m (10 Gbps only up to about 55 m) | Cat 6a = 10 Gbps over 100 m
Category ratings
Copper conductor -> insulating dielectric -> braided metal shield -> plastic jacket
Co-axial construction
Core (n1) -> Cladding (n2, with n2 less than n1) -> Buffer -> Jacket; light travels by total internal reflection
Fibre construction
Single-mode: about 9 micrometre core, laser source, tens of km | Multi-mode: 50 or 62.5 micrometre core, LED source, a few hundred metres
Single-mode vs multi-mode
Twisted pair -> RJ-45 | Co-axial -> BNC and F-type (N-type on old thick Ethernet) | Fibre -> SC, ST, LC
Connectors by medium
Radio 3 kHz to 1 GHz | Microwave 1 GHz to 300 GHz | Infrared 300 GHz to 400 THz
Frequency bands
Radio = omnidirectional | Microwave = unidirectional, dishes must be aligned | Infrared = line of sight, blocked by any opaque object
Propagation pattern
Line-of-sight towers, typically a few tens of km apart; spacing set by tower height and the curvature of the earth
Terrestrial microwave repeaters
Orbit 35,786 km above the equator; period = one sidereal day, 23 h 56 min; one hop up and down takes about 240 ms below the satellite and about 280 ms at the edge of coverage
Geostationary satellite
Earth to satellite = uplink (higher frequency); satellite to earth = downlink (lower frequency)
Uplink and downlink
Infrared cannot cross a wall, so the same infrared frequency and codes can be reused in every room and every house
Infrared frequency reuse
MOdulator + DEModulator: digital to analog at the sender, analog to digital at the receiver. Physical layer.
Modem
By placement: internal (card) / external (box). By line: dial-up (56 kbps max), DSL/ADSL (shares the phone pair), cable (over co-axial).
Modem types
48 bits, written as 6 hexadecimal pairs, e.g. 00:1A:2B:3C:4D:5E; first 3 bytes = manufacturer, last 3 = card
MAC address
8-pin modular connector for twisted-pair Ethernet; wired to standard T568A or T568B
RJ-45
Amplifier: boosts signal + noise together. Repeater: decides each bit, then transmits a fresh clean pulse.
Repeater vs amplifier
802.11b = 11 Mbps at 2.4 GHz | 802.11a = 54 Mbps at 5 GHz | 802.11g = 54 Mbps at 2.4 GHz | 802.11n = both bands | 802.11ac = 5 GHz, gigabit class | 802.11ax = Wi-Fi 6
IEEE 802.11 (Wi-Fi card)
Hub: frame in on one port goes out of ALL other ports. Switch: frame in goes out only on the port holding the destination MAC.
Hub vs Switch
n-port hub = 1 collision domain, 1 broadcast domain | n-port switch = n collision domains, 1 broadcast domain | router = 1 broadcast domain per interface
Collision and broadcast domains
Read SOURCE MAC of every incoming frame, store (MAC, port) in the MAC address table; unknown destination is flooded out of all other ports
Switch learning
Layer 3: read destination IP, look it up in the routing table, forward along the best path between different networks
Router
Protocol converter between two networks using different protocols or architectures; can work up to the application layer
Gateway
Repeater, Hub, Modem = Layer 1 | NIC, Wi-Fi card, Switch = Layer 2 | Router = Layer 3 | Gateway = up to Layer 7 | RJ-45 = connector, no layer
Device to layer map

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

Which unguided medium is omnidirectional and can pass through a solid brick wall, so that the sending and receiving antennas need no alignment?

Q2

A device with 8 ports receives a frame on port 3 and immediately sends it out on ports 1, 2, 4, 5, 6, 7 and 8. The device is a

Q3

In an optical fibre cable, total internal reflection is possible because

Q4

Which device is required to connect two networks that use different protocols?

Q5

A 12-port hub in a lab is replaced by a 12-port switch. The number of collision domains in the lab now becomes

Q6

The maximum length of a single twisted-pair Ethernet segment is about

Q7

On a long digital link a repeater is preferred over a simple amplifier because

Q8

A company links two offices through a geostationary satellite. Users complain of a noticeable lag during video calls even though the link's data rate is high. The reason is

Q9

A switch operates at which layer of the OSI model?

Q10

A factory in Coimbatore must link its office block to a machine shop 800 m away, along a route that passes several large motors producing strong electromagnetic interference. The most suitable transmission medium is

Q11

An internet connection is delivered to a home over the cable-television co-axial line. The device that makes this signal usable by the computer is a

Q12

Pressing a TV remote in one room does not change the channel of the television in the next room. This is because infrared waves

NCERT solutions & previous-year questions

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

NCERT questions 6

1 What is the difference between a hub and a switch?Network devices

Both a hub and a switch are used to connect several computers together in a local area network, and both provide multiple ports. The difference lies in what they do with an incoming frame.

BasisHubSwitch
OSI layerPhysical layer (layer 1)Data link layer (layer 2)
ForwardingBroadcasts an incoming frame out of every other portSends the frame out of only the port on which the destination machine is connected
AddressingReads no address at allReads MAC addresses and maintains a MAC address table
Collision domainAll ports form a single shared collision domainEach port is a separate collision domain
Mode and bandwidthHalf duplex; total bandwidth is shared by all machinesFull duplex; each port gets its full rated bandwidth
SecurityPoor — every machine physically receives every frameBetter — a machine only receives frames meant for it, plus broadcasts
CostCheaper, now obsoleteCostlier, used everywhere today

How a switch knows where to send a frame: it reads the source MAC address of every frame that arrives and records which port that address came in on. Over a few frames it learns the whole network by itself. If a destination is still unknown, it floods that one frame out of all ports and learns the correct port from the reply.

Which to use: always a switch. On a hub with 30 computers, only one may transmit at a time and every simultaneous attempt causes a collision, so the network slows down badly as machines are added. On a 30-port switch there are 30 collision domains and every machine can transmit at full speed at the same time.

One point to remember: a switch does not stop broadcast frames — those still go out of every port. Separating broadcast domains needs a router.

2 Name the various types of transmission media. Explain any two guided media in brief.Transmission media

Transmission media are of two types:

  • Guided (wired) media, in which the signal is confined inside a physical conductor: twisted pair cable, co-axial cable and optical fibre cable.
  • Unguided (wireless) media, in which the signal is radiated into open space: radio waves, microwaves and infrared waves.

1. Twisted pair cable. It consists of two insulated copper wires twisted around each other in a regular spiral, with several pairs bundled inside one sheath; an Ethernet cable has four such pairs and ends in an RJ-45 connector. The twisting is not decorative: it makes both wires of a pair pick up almost identical interference from outside, and since the receiver reads only the difference between the two wires, that equal interference cancels out. Twisted pair comes in two forms, UTP (unshielded, cheap, flexible, used in almost every LAN) and STP (with a metal shield around the pairs, costlier and stiffer, used in electrically noisy places). A segment is limited to 100 m, and Cat 5e/Cat 6 cable carries 1 Gbps. It is the cheapest and easiest medium to install, but the most affected by interference and the easiest to tap.

2. Optical fibre cable. It consists of a very thin core of extremely pure glass surrounded by a cladding whose refractive index is lower than that of the core, wrapped in a buffer and an outer jacket. Data travels as pulses of light: when a ray strikes the core–cladding boundary at a shallow enough angle, the lower index of the cladding causes total internal reflection and the light bounces back into the core, repeating this all the way to the far end. Because the signal is light and not electricity, fibre offers enormous bandwidth, very low attenuation (allowing tens of kilometres without a repeater in single-mode fibre), complete immunity to electromagnetic interference, and very high security, since tapping it means disturbing the strand and the resulting drop in light level is detected. Its drawbacks are high cost, fragility, and the need for skilled technicians to splice and terminate it.

3 Why is optical fibre cable preferred for long-distance, high-speed communication? Give any three reasons. Also state one limitation.Fibre optic cable

Optical fibre carries data as pulses of light through a glass core rather than as electricity through copper, and that single difference gives it every advantage listed below.

Three reasons it is preferred:

  1. Very high bandwidth. Light has an enormously higher frequency than any electrical signal a copper cable can carry, so a single fibre supports data rates in gigabits and terabits per second — enough to carry an entire city's traffic on one strand.
  2. Very low attenuation, so very long distances. A light pulse loses far less strength per kilometre than an electrical pulse. Single-mode fibre carries a signal for tens of kilometres without any repeater, whereas twisted pair must be regenerated every 100 m. Fewer repeaters means a cheaper and more reliable long route.
  3. Complete immunity to electromagnetic interference. Light is unaffected by motors, power lines, lightning or radio transmitters, and fibre radiates no interference of its own. A copper cable running past heavy machinery would pick up noise and corrupt data; fibre would not notice.

Two further advantages worth adding if the question carries more marks: it is highly secure, because reaching the light inside a fibre means bending or breaking the strand, which drops the received power and is detected immediately; and it is thin, light and non-conducting, so it is safe to run between buildings without carrying an earth fault or a lightning surge.

Limitation: optical fibre is the most expensive medium, both for the cable and, more importantly, for its installation — joining two fibres requires precise splicing by a trained technician with special equipment. The glass is also brittle and cannot be bent sharply. For a small LAN inside one building, twisted pair is far more sensible.

4 Differentiate between a repeater and a router.Network devices

Both devices pass data onward, but at completely different levels of intelligence. A repeater keeps a signal alive; a router decides where a packet should go.

BasisRepeaterRouter
OSI layerPhysical layer (layer 1)Network layer (layer 3)
FunctionReceives a weak, distorted signal, regenerates it and retransmits it at full strengthReceives a packet, reads its destination IP address and forwards it towards the correct network
Address usedNone — it reads no address at allIP address
Decision takenNone. Whatever comes in on one side goes out on the otherChooses the best available path using a routing table
Networks connectedExtends one and the same networkConnects two or more different networks
Traffic filteringFilters nothingFilters traffic and separates broadcast domains
Typical useExtending a cable run beyond the medium's 100 m limitConnecting a school LAN to the internet, or keeping the office and lab networks separate

The key word for a repeater is "regenerate". It is not an amplifier. An amplifier boosts the signal and all the noise the signal has collected, so noise accumulates along the route. A repeater works on the digital signal: it decides for each pulse whether it was a 0 or a 1 and sends out a brand-new, clean, correctly timed pulse. Noise therefore does not build up.

The key word for a router is "path". It compares the destination IP address against its routing table and picks the best route. Note also that a router works between networks that use the same protocol; if the two networks use different protocols, the device needed is a gateway.

5 What is a modem? Why is it needed? Name and explain its types.Modem

Definition. A modem (from MOdulator–DEModulator) is a device that converts the digital signals produced by a computer into analog signals suitable for transmission over a telephone or cable line, and converts incoming analog signals back into digital form for the computer. It works at the physical layer.

Why it is needed. A computer works with digital signals — sharp square pulses representing 0 and 1. An ordinary telephone line, however, was engineered to carry the human voice as an analog wave of roughly 300 Hz to 3400 Hz, and cannot carry sharp digital pulses over any useful distance. The modem at the sending end therefore modulates the bits onto an analog carrier wave by varying the wave's amplitude, frequency or phase. The modem at the receiving end demodulates that wave back into the original bits. Since the conversion is needed in both directions, a modem is required at each end of the line.

Types by placement:

  • Internal modem — a card fitted into an expansion slot inside the computer, or a chip built into the motherboard. It takes no desk space and needs no separate power supply, but it has no status lights and cannot be moved to another machine easily.
  • External modem — a separate box connected to the computer by a cable, with its own power supply and indicator lights. It is easier to monitor, to reset and to shift between computers, but costs more and occupies space.

Types by the line they work on:

  • Dial-up modem — works over an ordinary telephone line by dialling the service provider's number. It occupies the voice channel, so the telephone cannot be used at the same time, and its maximum speed is 56 kbps.
  • DSL/ADSL modem — uses frequencies above the voice band on the same pair of telephone wires, so the telephone and the internet work simultaneously and at far higher speed.
  • Cable modem — works over the co-axial cable-television line, which offers much greater bandwidth than a telephone pair.

Note: the single box supplied by an internet provider for a home usually contains a modem, a router, a small switch and a Wi-Fi access point together. These are four distinct functions and should be named separately in an answer.

6 Explain radio waves, microwaves and infrared waves. Give one application of each.Wireless (unguided) media

All three are unguided media — the signal is radiated into open space instead of being confined in a cable. They differ in frequency, and frequency decides everything else about them. The rule to remember is that a higher frequency gives more bandwidth but less ability to pass through obstacles.

1. Radio waves (3 kHz to 1 GHz). Radio waves are omnidirectional: an antenna sends them out in all directions, so the transmitting and receiving antennas need not be aligned or even in sight of one another. They diffract around obstacles and pass through ordinary walls, and low-frequency radio can travel very long distances by reflecting off the ionosphere. Their weakness is that the signal spreads everywhere, so anyone in range can receive it (poor security) and everybody sharing a band interferes with everybody else, which is why most radio spectrum is licensed. Application: AM and FM radio broadcasting.

2. Microwaves (1 GHz to 300 GHz). Microwaves are unidirectional. They are focused into a narrow beam by a parabolic dish, so the sending and receiving dishes must be aligned and must have a clear line of sight; they are blocked by walls and do not bend around hills. In a terrestrial link, dishes are mounted on tall towers and a long route is built from a chain of repeater towers, because the earth curves away between them. In a satellite link, a satellite in geostationary orbit 35,786 km above the equator circles the earth in one sidereal day, so it keeps pace with the ground and appears fixed in the sky; it receives on an uplink frequency and retransmits on a different downlink frequency, covering a vast area at once. The drawback of the satellite route is delay: the journey up and down takes roughly a quarter of a second per hop — about 240 to 280 ms — regardless of the data rate. Application: satellite television and long-distance building-to-building links.

3. Infrared waves (300 GHz to 400 THz). Infrared lies just below visible light and behaves like light: it travels in straight lines and cannot pass through any opaque object, so it needs an unobstructed line of sight and works only over a few metres inside one room. Being confined to a room is a disadvantage for range but an advantage for interference and security — an infrared system in one room cannot disturb an identical system next door, which is exactly why every television in the country can use the same remote-control codes without conflict, and why an eavesdropper must be physically present in the room. Its other limitation is that sunlight contains a great deal of infrared, so outdoor use is unreliable. Application: television and air-conditioner remote controls.

Previous-year board questions 4

Q1 Sanchay Softwares Ltd. is setting up its office in Hyderabad with four blocks — Admin, Finance, Sales and HR. The distances between the blocks and the number of computers in each block are given below. Distances: Admin to Finance 60 m; Admin to Sales 120 m; Admin to HR 45 m; Finance to Sales 130 m; Finance to HR 90 m; Sales to HR 150 m. Number of computers: Admin 120, Finance 25, Sales 30, HR 15. (a) Suggest the most suitable block to install the server, with justification. (b) Suggest a suitable cable layout for connecting the four blocks. (c) Name the device that should be installed in each block to interconnect the computers of that block. (d) The company wants to connect its Hyderabad office to its branch office in Delhi. Suggest a suitable transmission medium. (e) Where would you install a repeater, and why? [5] 2023 (CBSE board pattern, Unit 2 case study)

(a) Server in the Admin block. Two independent reasons, and a full-mark answer states both:

  • Admin has the maximum number of computers (120), far more than the other three blocks put together (25 + 30 + 15 = 70). Most of the traffic to the server therefore begins and ends inside Admin and never has to cross a cable between blocks.
  • Admin is also the most central block. The sum of its distances to the other three is 60 + 120 + 45 = 225 m, which is the smallest of the four (Finance 60 + 130 + 90 = 280 m; Sales 120 + 130 + 150 = 400 m; HR 45 + 90 + 150 = 285 m).

(b) Cable layout: a star with Admin at the centre.

                Finance
                   |  60 m
                   |
   HR -----------Admin----------- Sales
        45 m                 120 m

Links used: Admin–HR 45 m, Admin–Finance 60 m, Admin–Sales 120 m, giving a total cable length of 225 m. Checking every other way of joining four blocks with three links confirms that no layout connects all four for less cable, so this is the shortest possible. A star is also the right choice on merit: the server sits at the centre where the traffic is, and a fault in one link affects only that block instead of the whole campus.

(c) A switch in each block. A switch reads the destination MAC address of every frame and forwards it only to the port where that machine is connected, so each computer gets its full bandwidth in full duplex and cannot see other machines' traffic. A hub would put all the computers of the block into a single collision domain and would slow the network badly, especially in Admin. Admin, with 120 computers, will need several interconnected switches.

(d) Hyderabad to Delhi. The two cities are well over a thousand kilometres apart, so the company cannot lay its own cable. The practical answer is to take a leased line from a telecom service provider, carried on optical fibre — it offers the highest bandwidth, the lowest attenuation and complete immunity to interference over such a distance. If a terrestrial link is not available for some part of the route, a satellite (microwave) link is the alternative, accepting the extra propagation delay of about a quarter of a second per hop.

(e) A repeater on the Admin–Sales link. That link is 120 m, which exceeds the 100 m limit of a twisted-pair Ethernet segment; the signal would be attenuated too far to be read at the Sales end. Placing a repeater roughly midway regenerates the signal and makes both halves legal. The Admin–Finance link (60 m) and the Admin–HR link (45 m) are inside the limit and need nothing. (In practice an intermediate switch is used, since it regenerates the signal just as a repeater does and costs about the same.)

Q2 Ms. Meera is laying a network link between two buildings of a factory campus that are 500 m apart. The cable route must pass a shed containing heavy electrical machinery. Suggest the most suitable transmission medium and give two reasons for your choice. [2] 2020 (CBSE board pattern)

Suggested medium: optical fibre cable.

Reason 1 — distance. 500 m is five times the 100 m limit of a twisted-pair Ethernet segment and well beyond even thin co-axial cable at 185 m. Copper would need repeaters along the route, and each one is an extra device that can fail. Optical fibre has extremely low attenuation, so 500 m is a single run with nothing in between — multi-mode fibre handles a few hundred metres and single-mode fibre handles tens of kilometres.

Reason 2 — interference. Heavy electrical machinery produces strong electromagnetic interference. Any copper cable near it would pick up induced voltages and the data would be corrupted; even shielded twisted pair only reduces the problem, it does not remove it. Optical fibre carries the signal as pulses of light and is therefore completely immune to electromagnetic interference.

Additional point worth adding. Fibre is non-conducting, so it also gives electrical isolation between the two buildings — it cannot carry an earth fault or a lightning surge from one building to the other, which is a real risk with a copper link between separate structures.

Trade-off to acknowledge. Fibre is the most expensive medium and its termination requires trained technicians with splicing equipment. Here the cost is justified because both distance and interference rule out every cheaper option.

Q3 Differentiate between a router and a gateway, giving one example of each. [2] 2024 (CBSE board pattern)

Both devices connect one network to another, but they solve different problems.

BasisRouterGateway
PurposeConnects two or more networks that use the same protocol and forwards packets between themConnects two networks that use different protocols or architectures and translates between them
OSI layerNetwork layer (layer 3)Can work up to the application layer (layer 7)
Basis of decisionDestination IP address, looked up in a routing table to choose the best pathThe entire protocol stack, since the message has to be converted from one protocol to the other
Protocol conversionDoes noneThis is its main job
Complexity and speedSimpler and fasterThe most complex and the slowest of the connecting devices
ExampleThe device that connects a school's TCP/IP LAN to the internet through the ISP's lineA VoIP gateway joining an office IP telephone network to the ordinary telephone network

The one-line difference to write if the question is worth one mark: a router forwards data between networks that already speak the same protocol and only chooses the path; a gateway joins networks that speak different protocols and converts the data from one to the other.

A caution about terminology. The field labelled "Default Gateway" in a computer's IP settings normally holds the IP address of an ordinary router — it just means "the way out of my network". Do not let that configuration field make you answer "gateway" when a question simply asks which device sends your packets towards the internet; that device is the router.

Q4 Identify the network device or component being described in each of the following cases: (i) It regenerates a weak signal so that it can travel a longer distance, but it does not read any address. (ii) It converts digital signals into analog signals and back, so that data can travel over a telephone line. (iii) It is the 8-pin connector used to terminate a twisted-pair cable in an Ethernet network. (iv) It forwards an incoming frame only to the port on which the destination machine is connected. [4] 2019 (CBSE board pattern)

(i) Repeater. A repeater works at the physical layer. It receives a signal that has been weakened and distorted by attenuation, decides for each pulse whether it was a 0 or a 1, and transmits a fresh, clean, correctly timed pulse. Because it rebuilds the bits rather than merely boosting the waveform, noise is not carried forward — which is what separates it from an amplifier. It reads no address and takes no forwarding decision.

(ii) Modem. The name is short for MOdulator–DEModulator. A telephone line was designed to carry analog voice and cannot carry a computer's sharp digital pulses, so the modem at the sending end modulates the bits onto an analog carrier wave and the modem at the receiving end demodulates the wave back into bits. One is needed at each end of the line.

(iii) RJ-45 connector. RJ-45 (Registered Jack 45) is the 8-pin modular plug crimped onto the end of a four-pair twisted-pair cable, which is then plugged into a NIC, hub, switch or router. It is a passive connector, not a device: it has no address, no power and no OSI layer. It should not be confused with RJ-11, the smaller 6-position jack used on a telephone cable.

(iv) Switch. A switch works at the data link layer and maintains a MAC address table. It learns the table automatically by reading the source MAC address of every arriving frame and noting which port it came from; it then looks up the destination MAC address and forwards the frame out of that one port only. This gives each port its own collision domain and full-duplex operation, unlike a hub, which would have sent the same frame out of every other port.

Part of Priodemy for School

Interactive CBSE lessons, Class 8–12 — free with every school on Priodemy EduSuite. Explore more chapters and labs on the Priodemy for School hub.

Ask AI