Computers rarely connect straight to each other. Between them sit devices that convert signals, boost them, decide where data should go, and guard the network's edge. Exams test what each device does and how similar devices differ, most often the hub, switch and router.

Modem stands for MOdulator-DEModulator. Computers work with digital bits, but a line such as a telephone line carries an analog signal. The sender's modem modulates digital data into an analog signal; the receiver's modem demodulates it back into bits.

The Ethernet card, or Network Interface Card (NIC), is the adapter on the computer's motherboard that joins it to a wired network. NICs support speeds from 10 Mbps to 1 Gbps. Each NIC carries a MAC address, a hardware address that identifies the computer on the network. The cable plugs into the NIC with an RJ45 (Registered Jack-45) connector, an eight-pin plastic plug used with Ethernet cables.

A signal travelling on a cable weakens with distance, usually becoming unreliable after about 100 metres. A repeater regenerates the weak signal and sends it on at full strength. It does not read the data.

A hub connects several devices by wire. Whatever arrives on one port is sent out on every other port. That is simple but wasteful, and if two devices send at the same time, their data collides.

A switch also connects many devices, but it is smarter. It reads the destination address in each packet, looks it up in its table and sends the packet only to that device. It can forward several packets at once and drops noisy or corrupted signals, asking the sender to resend. Switches are the central device in most home and office LANs.

A router connects one network to another, typically a LAN to the Internet. It can analyse the data, change how it is packaged and pass it to a different type of network. For example, if the next network cannot carry large packets, the router splits them into smaller ones. Routers can be wired or wireless.

A gateway is the entry and exit point between an organisation's network and the outside Internet. All traffic in or out passes through it. A router is usually configured to act as the gateway, and because it sits at the network's edge, a firewall is usually built into it. For a home connection, the Internet Service Provider effectively serves as the gateway to the wider Internet.

An access point creates a wireless LAN by connecting to a wired router, switch or hub. Phones and laptops join the access point and reach the network through it.

DeviceWhat it doesSends data to
RepeaterRegenerates a weak signalOnward along the cable
HubJoins devices; copies data to all portsEvery port
SwitchJoins devices; forwards by addressThe addressed device only
RouterJoins different networks; can repackage dataThe next network on the route
ModemConverts digital data to analog signals and backThe line to the provider
GatewayEntry and exit point of a networkOutside networks

The core distinction to remember: a hub broadcasts, a switch picks a device, and a router picks a network.

  • ✘ Saying a hub sends data only to the right device. That is a switch.
  • ✘ Calling a repeater an amplifier of data. It regenerates the signal; it does not read or filter data.
  • ✘ Treating a gateway as a separate box in every network. It is a role, usually played by the router.
  • ✘ Expanding modem as "mobile demodulator". It is modulator-demodulator.

These devices link the networks described in PAN, LAN, MAN and WAN and sit at the centre of the layouts in network topologies.

Q1. Which device sends incoming data out on every port? easy

✅ Answer: (a) Hub

💡 Explanation: A hub copies data arriving on one line to all the other lines. A switch, by contrast, looks up the destination and sends to that port only.

Q2. What does a modem do? easy

✅ Answer: (b) Converts between digital data and analog signals

💡 Explanation: Modem means modulator-demodulator. It turns digital data into an analog signal for the line and turns the signal back into digital data at the other end.

Q3. Which device connects a local network to the Internet and can repackage data for a different type of network? easy

✅ Answer: (c) Router

💡 Explanation: A router analyses the data, can change how it is packaged, for example into smaller packets, and forwards it to another network such as the Internet.

Q4. How many pins does an RJ45 connector have? easy

✅ Answer: (d) 8

💡 Explanation: RJ45, the Registered Jack-45, is an eight-pin plug found on the end of Ethernet cables and fits the jack on a network interface card.

Q5. Signals on an Ethernet cable become too weak after a long run. Which device fixes this? medium

✅ Answer: (a) Repeater

💡 Explanation: A repeater regenerates the weakened signal and puts it back on the cable at full strength, so the cable can carry it further.

Q6. Which statement about a switch is correct? medium

✅ Answer: (b) It sends data only to the device it is addressed to

💡 Explanation: A switch reads the destination address, looks it up in its table and forwards the data to that device only. It is the central device in most LANs.

What is the difference between a router and a gateway?

A gateway is a role: the entry and exit point between an organisation's network and the outside world. A router is a device, and it is the device usually configured to play that role. A gateway can also be built in software or as a combined hardware and software system.

Is my home Wi-Fi box a modem or a router?

Usually both. Home Wi-Fi routers commonly combine a modem, a router, a small switch for the wired ports and a wireless access point in one box, which is why people use the names interchangeably.

How this page was prepared. Drafted with AI assistance (Claude (Anthropic AI model)) from the sources listed above. Automated checks also covered structure, internal links and duplicate text. Software checks cannot confirm facts. Reviewed by praveenkumar on 2026-10-29 against the sources listed above.

Found an error? Report it and we will correct the page.