Learning Objectives
By the end of this topic, you should be able to:
- Explain the role of a controller in the operation of a computer.
- Explain the role of a port in the operation of a computer.
- Identify at least three ports common to a PC or mobile device.
Learning Activities
To help you meet the learning objectives, we have prepared a combination of readings, activities, and videos.
Course Readings
These reading were designed to introduce the course topics to an audience of educators. They should be considered "required" and read in order.
- Reading 1 – Controllers and Ports — what controllers do, how they connect to the CPU through the bus, and what a port actually is
- Reading 2 – Ports in the Wild — identifying and understanding the common ports found on desktop computers, laptops, and mobile devices
Lesson Videos
These videos support the readings above and may present the material with some deeper connections and worked examples.
Checking for Understanding, Questions
Review the Learning Objectives at the top of this page. You will be asked to demonstrate these skills on this week's competency demo. To check your understanding, try the following questions. Try each one on your own before looking at the answer key. It is completely fine if you need to revisit the readings as you work through these questions.
Controllers
- In your own words, explain what a controller does. Why does the CPU need controllers rather than communicating directly with each peripheral device?
- How does the CPU send data to a controller? What concept from Topic 2b does this connect to? What is this communication design called?
- A student asks: "If I plug a keyboard into my computer, does the CPU talk directly to the keyboard?" How would you answer?
Ports
- What is the relationship between a port and a controller? How are they different, and how do they work together?
- Look at a laptop, desktop, or tablet you have access to right now. How many distinct ports can you identify? For each one, name the port type and describe what it is typically used for.
PC vs. Mobile
- Name at least three ports common on desktop or laptop computers and explain what each is used for.
- Name at least three connection types (wired or wireless) common on smartphones or tablets and explain what each is used for.
- USB-C is appearing on both laptops and smartphones. What advantages does it offer over older connector types like USB-A or Micro-USB?
Checking for Understanding, Answers
You can compare your answers to the following answer key.
Show Answer Key
Controllers
- A controller is a dedicated circuit that manages communication between the CPU and a specific type of peripheral device. The CPU needs controllers because each peripheral (keyboard, display, storage drive, network card) speaks its own specialized protocol. Rather than building knowledge of every device into the CPU, controllers handle the device-specific details and present a standardized interface to the CPU. This keeps the CPU general-purpose.
- The CPU sends data to a controller through the bus — the shared communication pathway introduced in Topic 2b. The bus carries data, addresses, and control signals between the CPU, RAM, and all connected controllers. This design is called a bus architecture: multiple components share the same communication lines rather than each having a dedicated connection to the CPU.
- No — the CPU does not talk directly to the keyboard. When a key is pressed, the keyboard sends a signal to the keyboard controller (often built into the motherboard's I/O chipset). The controller processes the signal and uses the bus to notify the CPU. The CPU then responds by reading the keystroke data from the controller. The CPU only ever interacts with the controller, not the keyboard itself.
Ports
- A controller is the internal circuit that manages communication with a class of devices. A port is the physical connector on the outside of the machine that provides the external access point to that controller. They work together: plugging a device into a port connects it electrically to the controller, which then handles all communication with the CPU on the device's behalf.
- This is an observation exercise — answers will vary by device. Common answers include: USB-A, USB-C, HDMI, headphone jack (3.5 mm audio), SD card slot, Ethernet (RJ-45), Thunderbolt. For each, the key is identifying both the name and a typical use (e.g., USB-A for peripherals and flash drives, HDMI for connecting an external display).
PC vs. Mobile
- Common PC/laptop ports (any three): USB-A (peripherals, flash drives), USB-C / Thunderbolt (high-speed data, charging, video), HDMI (external displays and projectors), Ethernet (RJ-45) (wired network), headphone jack (audio output), SD card slot (camera memory cards).
- Common mobile connection types (any three): USB-C (charging, data transfer), Wi-Fi (wireless internet), Bluetooth (wireless peripherals like headphones and keyboards), cellular (LTE/5G) (mobile data), NFC (contactless payments and short-range data transfer).
- USB-C advantages over older connectors: it is reversible (no wrong way to plug it in), supports higher data transfer speeds (especially with USB 3.x and Thunderbolt), can carry video signal (DisplayPort Alt Mode), and can deliver more power for charging larger devices. A single USB-C port can replace several older ports. USB-A is not reversible and is limited to slower USB 2.0/3.0 speeds; Micro-USB is fragile and also not reversible.
Extend Your Learning
The following resources go a little deeper on topics we touched on but did not fully explore in the readings. These are entirely optional — none of this material appears on the Competency Demo — but each one is a natural "next question" from something covered this week.
-
Device drivers: the software side of controllers
Controllers handle the hardware side of peripheral communication, but software is involved too. A device driver is the software layer that lets the operating system talk to a controller. This Wikipedia article explains what happens when you plug in a device and Windows says "installing driver" — and why drivers can go wrong.
How Device Drivers Work — Wikipedia -
The evolution of USB
USB has gone through many versions (1.0, 2.0, 3.0, 3.1, 4.0) with dramatically different speeds, while a bewildering variety of physical connector shapes has come and gone. This article from Same Sky untangles the USB version and connector naming mess in a way that is genuinely useful for anyone buying cables or explaining them to students.
What Is USB? — Same Sky