Computer System Components and Embedded Computer Systems
A computer system is more than a processor. It needs ways to receive data, execute instructions, hold information while work is in progress, retain files, and communicate results. An embedded system uses these same basic capabilities inside a product designed for a defined job.
This page connects the two ideas: first identify the role of each component, then see how those roles work together in a specialised device. The examples and practice scenarios on this page have been written for this study resource.
By the end of this page, you should be able to:
- Describe the roles of input, processing, primary memory, secondary storage, output, and I/O interfaces.
- Trace data through a computer system and explain why each component is needed.
- Distinguish primary memory from secondary storage, including removable storage.
- Define an embedded system and distinguish it from a general-purpose computer.
- Explain the role of a microcontroller in a specialised product.
- Evaluate benefits, limitations, and security considerations in a stated context.
1. The main roles in a computer system
Consider a self-service station where students return borrowed sports equipment. The station scans an item label, checks whether a return can be accepted, opens a compartment, records the transaction, and updates the equipment list. Each hardware role contributes to this task.
| Role or component | What it contributes | In the equipment-return station |
|---|---|---|
| Input | Brings data or a user command into the system. | A label reader captures the item ID; a compartment sensor reports whether the door is closed. |
| Processor (CPU) | Executes program instructions and performs calculations or decisions. | The controller checks the item ID and decides which compartment should respond. |
| Primary memory | Holds instructions and data that the processor needs during current work. | The active program, scanned ID, and current return status are available while the decision is made. |
| Secondary storage | Keeps data or software when the current task ends or power is removed. | A local log retains completed return events for later checking. |
| Output / actuator | Communicates a result or causes an action outside the processing logic. | A display shows the next instruction and an electronic latch releases the selected compartment. |
| I/O interface | Coordinates communication between the processor and connected devices. | It carries signals from the reader and door sensor to the controller and sends control signals back. |
| Network interface (if fitted) | Transfers data to or from another system. | The station can send an updated equipment count to a staff dashboard. |
Common mistake: naming a component is not explaining its role
“It has a processor” is only a statement of presence. A stronger explanation says what the processor does with the data in this situation—for example, checking the scanned ID before sending a signal to the latch.
2. Follow the data through the system
A single task usually involves several components. The sequence below follows one return event; real systems may perform some steps in parallel, and storage or network communication may happen at a different point in the process.
- Capture: the reader converts the label into an item identifier. The door sensor supplies its current state.
- Transfer: the I/O interface passes those signals to the controller in a form it can use.
- Process: the processor follows the control program and checks the identifier against the current return rules.
- Use working data: primary memory holds the current identifier, intermediate values, and result while the decision is being made.
- Respond: the system updates the display and sends a signal to the appropriate latch.
- Retain: a record of the event is written to non-volatile storage so it remains available later.
- Synchronise (optional): if a network is available, the station sends the updated count to the staff system.
Exam tip: explain the link between stages
Use a cause-and-effect chain: input provides a value → the processor applies instructions → output responds to the decision. Add memory, storage, or networking when the question asks how data is held or shared.
3. Input and output depend on the direction of data
Classify a device by what it is doing in the stated task, not only by its name. A component that can send information in both directions may perform both input and output roles.
| Action | Role | Reason |
|---|---|---|
| Scanning an equipment label | Input | The item identifier enters the system. |
| Showing “return accepted” on the display | Output | The system communicates a result to the user. |
| Sending a signal to release a latch | Output | The controller causes an external action. |
| Loading a saved event record for review | Input to the active processing task | Previously stored data is brought into the system for use. |
| Writing a new event record to storage | Output from the active processing task | The system transfers data to a storage device. |
| A touch display showing a menu and detecting a selection | Both | Displaying the menu is output; detecting the touch is input. |
4. Primary memory and secondary storage
The processor needs fast access to the instructions and data involved in current work. The system also needs a way to keep programs and records for later use. These are related but different jobs.
| Feature | Primary memory | Secondary storage |
|---|---|---|
| Main purpose | Holds instructions and data needed during processing. | Retains programs and data between tasks or after shutdown. |
| Processor use | Provides the processor with working information. | Data is normally transferred into primary memory before it is processed. |
| Power loss | RAM is volatile; ROM is non-volatile. | Designed to retain stored data without continuous power. |
| Typical examples | RAM and ROM. | SSD, hard disk, memory card, or USB flash storage. |
| Typical trade-off | Fast access but generally less capacity. | Usually more capacity for the cost, but slower access. |
Common mistake: treating RAM as the whole of primary memory
RAM is one type of primary memory, not a synonym for all primary memory. ROM can hold instructions that must remain available when the device is switched off.
Why removable storage can be useful
Removable storage can be detached from one device and moved, replaced, or stored separately. It can help with transferring records, collecting data from equipment, or keeping an offline copy. It can also be lost, damaged, or used to introduce unwanted software, so handling and backup procedures still matter.
5. What makes a system embedded?
An embedded system is a computing unit built into a larger product and intended mainly to carry out a defined task, or a closely related group of tasks, for that product. Its hardware and software are chosen around that purpose rather than broad user flexibility.
| Clue | What it suggests |
|---|---|
| It is part of a product with another main purpose. | The computer is there to make that product operate or provide a particular service. |
| Its tasks are clearly limited. | The program concentrates on the functions required by the product. |
| It reads sensors or user controls and operates other components. | It may monitor conditions and control physical behaviour. |
| Its software and interfaces are designed for the product. | The user is not normally expected to install a wide range of unrelated applications. |
The sports-kit return station is embedded because its controller is built into the station and manages the return process. It is not intended to be a general computer for unrelated user tasks.
Common mistake: using size as the definition
Small size, automation, or a lack of a keyboard does not prove that a system is embedded. Focus on its integration into a product and its specialised purpose. An embedded system may still have a screen, network connection, or sophisticated interface.
6. Microcontrollers and embedded design
A microcontroller is an integrated circuit that combines a processor, memory, and input/output facilities on one chip. It is often suitable for products that need to read signals and control hardware without the full flexibility of a desktop computer.
In the return station, a microcontroller could read the label reader and door sensor, run the return rules, and control the display and latch. Putting several functions on one chip can reduce the number of separate components and simplify the physical design.
7. General-purpose computers and embedded systems
Both designs need processing, memory, and ways to exchange data. Their main difference is the range of tasks they are designed to support.
| Design aspect | General-purpose computer | Embedded system |
|---|---|---|
| Intended use | Supports many different applications chosen by the user. | Concentrates on a defined function or a small set of related functions. |
| Software | Usually supports a broad choice of applications. | Often runs software selected for the product's job and constraints. |
| Hardware priorities | Balances performance, usability, compatibility, and flexibility. | Can be tailored to size, power, cost, timing, and operating conditions. |
| User interaction | Often has a flexible interface for many tasks. | May have a few controls, a dedicated display, or little direct interaction. |
| Changes and upgrades | Applications and components are often easier to add or replace. | Changes may be restricted by the product design or support arrangements. |
Make a comparison, not two separate descriptions
Use paired language: “A general-purpose computer can run many user-selected applications, whereas an embedded system is configured for the product's specific job.” Then explain why that difference matters in the scenario.
8. Benefits, limitations, and connectivity
A specialised design can be effective, but its benefits depend on the application. Avoid claiming that every embedded system is automatically cheap, reliable, small, or energy-efficient.
| Possible benefit | Why it may occur | Possible limitation |
|---|---|---|
| Efficient use of resources | The design can include only the processing power, memory, and interfaces the task needs. | Limited resources may make new features difficult to add. |
| Compact or low-power design | Components can be selected for a narrow workload and physical environment. | Size or power constraints may limit performance. |
| Consistent automatic operation | The device repeatedly runs a defined control program. | A software or hardware fault can disrupt the product's main function. |
| Lower unit cost in large production runs | A specialised design may be manufactured in quantity. | Design, testing, repair, and long-term support can still be expensive. |
| Product-specific integration | Controls and sensors can be matched to the physical device. | Repair or upgrades may require specialist parts or access. |
When the embedded system is networked
A connection can let the return station synchronise stock, send fault reports, or receive an authorised software update. The same connection creates risks: someone might access stored information or send unauthorised commands if authentication and updates are poorly managed. Network connectivity is a design choice, not a defining requirement of every embedded system.
Build an explanation with three links
Design feature → technical consequence → effect in context. For example, a controller with a narrow workload may need fewer resources; in a battery-powered product, that could reduce energy use and extend the time between charges.
Interactive: Computer System Design Lab
Explore a data path, compare system designs, and check your understanding. Try to explain each choice in terms of the task the system must perform.
9. Writing stronger exam answers
For a definition
Include the two core ideas: the computing system is part of a larger product, and its role is specialised. Do not rely only on words such as “small” or “automatic”.
For a benefit or drawback
Link the design feature to a technical effect, then to the scenario. “The program is designed for one main task” is a feature; explain what that means for resource use, response, upgrades, or reliability in the product described.
Frequent weaknesses
- Listing components without explaining what each one does.
- Claiming that every embedded system is inexpensive or uses little power.
- Confusing a microcontroller with the complete embedded system.
- Describing a network risk without explaining what could be accessed or changed.
- Repeating words from the question instead of applying the idea to the stated product.
10. Practice
Knowledge and application
- Explain the difference between primary memory and secondary storage.
- For the sports-kit return station, identify one input, one processing decision, and one output. Explain each choice.
- Explain why the station's controller is an embedded system. Give two linked reasons.
- Compare the station controller with a laptop used by the sports department to prepare reports.
- Explain one benefit and one limitation of using a specialised controller in the station.
- Explain one benefit and one security risk of sending station data to a staff dashboard.
Self-check points
- Primary memory supports active processing; secondary storage retains data for later use.
- Input: label reader or door sensor. Processing: checking the ID and return rules. Output: display or latch signal.
- The controller is built into the station and performs the station's defined return task.
- The laptop supports many user-selected applications; the embedded controller is task-focused.
- Possible benefits include a tailored design or reduced resource use. Possible limits include restricted upgrades or a failure that disables the station.
- Sharing can keep stock records current; weak authentication could allow unauthorised access or commands.
Transfer scenario: a filament-care cabinet
A cabinet in a school makerspace stores 3D-printer filament. Its controller reads humidity and door sensors, runs a small fan when the conditions require it, records access events, and shows a status message to the technician.
- Explain why the cabinet controller is embedded.
- Identify the input, processing, memory, and output roles in this system.
- Explain one reason to keep an event log in secondary storage.
- Suggest one drawback if the controller's software cannot be updated.
Self-check points
- It is integrated into the cabinet and is designed to manage that cabinet's conditions and access.
- Input: humidity/door sensors. Processing: comparing readings with rules. Memory: current readings and active instructions. Output: fan control and status display.
- The log remains available after the immediate task or a power cycle and can help investigate access or faults.
- A new sensor, changed threshold, or security fix may be difficult to add.
Review summary
| Concept | Essential idea |
|---|---|
| Input | Brings data or commands into the system. |
| Processor | Executes instructions and operates on data. |
| Primary memory | Holds instructions and data needed during current processing. |
| Secondary storage | Retains programs and data for later use. |
| Output | Communicates a result or causes an external action. |
| Embedded system | A computing system integrated into a product for a specialised purpose. |
| Microcontroller | A chip that combines processing, memory, and I/O facilities. |
| Evaluation | Explain the feature, its technical consequence, and its effect in the given context. |