Learning Objectives
By the end of this chapter, you will be able to:
- Distinguish ports, buses, and wireless links by job.
- Group I/O ports by what they carry: data plus power, video, network, audio.
- Explain the three system buses and bus width as addressable memory.
- Choose ports and lanes for a classroom or counter setup.
Detail: inside the cabinet, input and output devices, CPU and interconnections.
Ports are doors: buses are hallways
A port is a physical connector on the outside of the box. A bus is the shared electrical path inside that carries bits between CPU, RAM, and ports. Wireless links are ports without pins. All three answer: how does this peripheral reach the processor?
flowchart TB
CPU["CPU"]
RAM["RAM"]
PORTS["Ports: USB HDMI Ethernet Audio"]
BUS["System Bus: Data Address Control"]
EXP["Expansion bus: PCIe lanes"]
CPU --- BUS
RAM --- BUS
PORTS --- BUS
EXP --- BUS
Do not memorize ports alphabetically. Group them by cargo.
A. Data plus power: the universal door
USB (Universal Serial Bus). One plug that carries data and power, supports plug and play and hot swap. Versions raise speed: USB 2.0 at 480 Mbps, USB 3.x at 5 to 20 Gbps, USB4 at 40 Gbps. Shape matters: USB-A is the rectangle, USB-C is the small oval that also carries video and charging. Thunderbolt often rides USB-C shape at very high speed for SSDs and docks. If a device needs both data and charging, USB-C is the default ask in 2081.
B. Video and audio: the display door
HDMI carries digital video plus audio to monitor, TV, projector. DisplayPort does the same for high resolution and gaming monitors. VGA is analog video from the older era and still lives on old projectors. When a laptop has HDMI plus USB-C and the hall has only VGA, an HDMI to VGA adapter is the fix before a presentation, not after.
C. Network and storage: the stay connected door
Ethernet RJ45 for wired network, stable and fast where WiFi crowds. SD card slot for camera cards. Both are data only, no display.
D. Audio: the sound door
3.5 mm jack for headphones, speakers, and microphones. Simple analog audio. Many laptops now drop it and push audio through USB-C or Bluetooth.
| Port | Cargo | Typical devices | Note |
|---|---|---|---|
| USB-A | Data plus power | Keyboard, mouse, pen drive, printer | Most common still |
| USB-C | Data plus power plus video | Phones, modern laptops, docks | Reversible, faster |
| Thunderbolt via USB-C | Very fast data plus video | External NVMe, high end displays | Check number: 3 or 4 |
| HDMI | Digital video plus audio | Monitor, projector | One cable for both |
| DisplayPort | Digital video plus audio | High refresh monitors | Often better for gaming |
| VGA | Analog video | Old projectors | Needs adapter now |
| Ethernet | Network data | Router, switch | Latency beats WiFi |
| SD slot | Storage data | Camera cards | Speed varies by card class |
| Audio jack | Analog audio | Headset, mic | Small and analog |
Wireless without a port. Bluetooth for headphones and keyboards, WiFi for printers, NFC for tap to pair. They remove cables but need pairing and power.
Serial versus parallel: why one wire won
Serial sends one bit at a time on one line. Parallel sent many bits side by side. Old COM ports were serial, LPT printer ports were parallel. Today almost everything fast is serial because parallel cables suffer interference and skew over distance and are harder to shield. USB is a very fast serial, even though it replaced parallel printers.
The system bus: three questions
The system bus is the highway inside the motherboard. Three lines answer three questions.
| Bus | Answers | Carries | Direction |
|---|---|---|---|
| Address bus | Where | Memory or device address the CPU wants | One way, CPU out |
| Data bus | What | The actual bytes being read or written | Two way |
| Control bus | When and whether | Read, write, clock, interrupt signals | Two way |
Width is lanes. A 64 bit data bus carries 8 bytes per tick. A wider bus moves more per trip but needs more pins and power.
The address width decides how much RAM you can even see
If the address bus has n lines, it can name 2 to the power n locations. That is why a 32 bit address bus limits RAM to 2 to the 32 bytes, which is 4 GB. A 64 bit processor can name far more, but the installed RAM and OS still set the practical limit. The table matters for exam reasoning.
| Address lines | Locations | RAM visible |
|---|---|---|
| 32 | 2 to the 32 | About 4 GB |
| 64 | 2 to the 64 | Far beyond installed RAM |
Bus speed adds trips per second. Total bandwidth is width times speed, but actual throughput also depends on protocol and contention.
Expansion bus: adding lanes
The expansion bus connects cards via slots. Modern standard is PCI Express (PCIe). Lanes are x1, x4, x8, x16. A GPU wants x16. An NVMe SSD uses x4 lanes through M.2. A network card may use x1. If the CPU offers 20 lanes and the chipset adds more, the board manual tells how they split. Putting a fast card in a slow slot caps it.
Self-check
Nepal worked example: the classroom that connects first time (NPR, BS 2081)
A college in Janakpur equips a classroom on 2081-09-18 with a laptop (HDMI plus USB-C, no VGA), a 2018 projector with VGA only, and a WiFi printer that also has Ethernet. Quotes from Janakpur:
- HDMI to VGA adapter: NPR 1,200
- USB-C hub with HDMI plus USB-A plus Ethernet: NPR 3,800
- 10 m Ethernet cable: NPR 600
- Replacement VGA cable: NPR 450
The admin reasons by group. Group B video needs an adapter or the class fails before it starts. Group A data plus power needs a hub because the laptop has only one USB-C. Group C network needs Ethernet for stable printing when 40 phones crowd WiFi.
Spend = 1,200 + 3,800 + 600 = NPR 5,600. The VGA cable is not needed; the adapter plus existing HDMI covers video. Without grouping, the college would have bought a VGA cable alone for NPR 450 and still had no signal.
Example 1: In a cooperative branch, Group C decides network risk. Ask: on 2081-09-18 does the branch printer use Ethernet so day end reports still print when WiFi drops? If only wireless links exist, a single interference event delays audit reports.
Example 2: In a college or retail chain, Group B decides delivery. Ask: can a lecturer walk in with only USB-C and still drive an old VGA hall plus a new HDMI lab without swapping laptops? Standardize on a hub plus one adapter per room and stop last minute cable hunts.
Summary
- Ports are doors outward grouped by cargo: data plus power, video, network, audio, plus wireless where no door exists.
- Modern ports are fast serial. Parallel faded because interference wins over many wires.
- The system bus answers where with address, what with data, when with control. Address width sets RAM visible.
- Expansion bus lanes set card speed. Put the fast card in the wide slot.
Key Takeaways
- USB-C is now data plus power plus video. Name its shape before you buy an adapter.
- HDMI and DisplayPort are digital and carry audio. VGA is analog and needs conversion.
- A 32 bit address bus caps visible RAM near 4 GB. The OS and installed RAM cap it further.
- PCIe lanes are a budget. Count before you add a second NVMe.
Discussion Questions
- Why did fast serial replace parallel for printers despite parallel moving more bits side by side?
- Which bus is one way and why can it not be two way?
- What fails first in a room with VGA only and a laptop with USB-C plus HDMI?
Exercises
Short answer
- Name four ports and state cargo for each.
- Differentiate serial and parallel with direction and modern example.
- What is bus width and how does address width limit RAM?
Long answer
- Group I/O ports by cargo and explain with a diagram how system bus and expansion bus connect CPU, RAM, and ports.
- A Janakpur classroom on 2081-09-18 has a USB-C and HDMI laptop plus a VGA projector and a WiFi printer. Advise adapters and hub within NPR 6,000 with lane and address reasoning.


