This topic introduces the parts of a computer system: hardware and software, the CPU and memory, user interfaces, the types of computer, and new technologies such as AI and extended reality.
1.1 Hardware and software
Hardware
Hardware 硬件 is the physical parts of a computer system: the parts you can touch.
| kind | examples |
|---|---|
| internal components | CPU 中央处理器 (processor), motherboard |
| internal memory 内部存储器 | RAM 随机存取存储器, ROM 只读存储器 |
| other components | graphics card, sound card, network interface card (NIC), camera, internal and external storage devices, input and output devices 输出设备 |
Software
Software 软件 is the programs that control the computer or process data. Software cannot be touched.
| what it does | examples | |
|---|---|---|
| applications software 应用软件 | helps the user do a task | word processing, spreadsheet, database management system, control and measurement software, apps and applets 小程序, video, graphics and audio editing, computer-aided design (CAD) |
| system software 系统软件 | provides the services the computer needs to operate | operating system 操作系统, device drivers 设备驱动程序, utilities, compilers 编译器, linkers |
- an app is application software that helps a user do a task, on a mobile device or a computer; an applet is a small program that does one or two simple tasks
- a device driver lets the operating system control a piece of hardware, e.g. a printer
- a utility 实用程序 maintains the computer, e.g. anti-virus, backup, disk defragmentation
- a compiler translates a whole high-level program into machine code; a linker joins compiled modules into one program
Analogue and digital data
| analogue data 模拟数据 | digital data 数字数据 |
|---|---|
| changes continuously; can have any value in a range | made of discrete values: 0s and 1s (binary) |
| e.g. temperature, sound, light level in the real world | e.g. data stored and processed by a computer |
- a computer can only process digital data, so an analogue-to-digital converter 模数转换器 (ADC) changes data from a sensor into digital data
- some devices, such as an analogue loudspeaker or an analogue-controlled heater, need analogue signals, so a digital-to-analogue converter (DAC) changes the computer's output
Worked example. A greenhouse temperature sensor sends an analogue signal. An ADC converts it to digital so the computer can compare it with a preset value. If it is too cold, the computer sends a digital signal; the heater is analogue-controlled, so a DAC converts the signal before the heater is switched on.
1.2 The main components of computer systems
The central processing unit (CPU)
The CPU (processor) carries out the instructions of a program. Data and instructions are input, the CPU processes them, and the result is output or stored.
Internal memory: RAM and ROM
| RAM (random access memory) | ROM (read-only memory) | |
|---|---|---|
| can be changed? | yes: read from and written to | no: can only be read |
| when power is off | contents are lost (volatile 易失性) | contents are kept (non-volatile 非易失性) |
| holds | the programs and data in use now | the start-up instructions (e.g. BIOS) |
| size | usually larger | usually small |
Input and output devices
| input devices 输入设备 | output devices |
|---|---|
| send data into the computer | show or use data from the computer |
| e.g. keyboard, mouse, microphone, scanner, sensor | e.g. monitor, printer, speaker, actuator |
Backing storage
Backing storage 后备存储 keeps programs and data permanently, e.g. a hard disk drive (HDD), solid-state drive (SSD), USB flash drive or DVD.
| backing storage | internal memory (RAM) |
|---|---|
| non-volatile: keeps data with the power off | RAM is volatile |
| larger capacity 容量; cheaper per gigabyte | smaller; more expensive per gigabyte |
| slower to access | faster: the CPU reads it directly |
| not directly used by the CPU | holds what the CPU is working on |
Worked example. When you open a saved essay, it is copied from the SSD (backing storage) into RAM, so the CPU can work on it quickly. If the power fails before you save, the changes in RAM are lost; the old copy on the SSD is kept.
1.3 Operating systems
Operating systems and user interfaces
The operating system (OS) manages the computer and lets the user communicate with it through a user interface 用户界面.
| interface | how the user works | advantages | disadvantages |
|---|---|---|---|
| command line interface 命令行界面 (CLI) | types commands | direct control of the computer; uses little memory and processing power; fast for experts | commands must be learned and typed exactly; hard for beginners |
| graphical user interface 图形用户界面 (GUI) | clicks or taps icons 图标, windows, menus and a pointer (WIMP) | easy to learn; no commands to remember | uses more memory and processing power; less direct control |
| dialogue-based | speaks to the device | hands-free, e.g. while driving; good for some disabled users | background noise causes errors; limited commands; accents |
| gesture-based | moves hands or body, e.g. swipe, pinch | natural to use; no input device to hold | gestures can be made by accident; tiring; limited commands |
Worked example. A network technician uses a CLI to set up 200 computers: one typed command can do the work of many clicks. A primary school uses a GUI: young pupils can click pictures without learning commands.
1.4 Types of computer
Desktop computers
A desktop computer 台式计算机 stays in one place and usually uses mains power. It normally has a separate keyboard and mouse; the monitor may be separate or built in.
Uses: office and business management (word processing, spreadsheets, accounts), education, gaming and entertainment.
Mobile computers
| type | characteristics |
|---|---|
| laptop 笔记本电脑 | screen, keyboard and touchpad in one unit; runs on a battery; full operating system |
| smartphone 智能手机 | small touch screen; phone calls, apps, camera, GPS; connects by Wi-Fi and mobile networks |
| tablet 平板电脑 | larger touch screen than a phone; on-screen keyboard (a keyboard can be connected); apps |
| phablet 平板手机 | between a smartphone and a tablet in size; can make phone calls |
Uses: office work while travelling, education, gaming, entertainment (films, music), and remote control of devices (e.g. a drone, home heating, a security camera from a phone app).
Comparing them
| desktop | mobile (laptop, tablet, phone) | |
|---|---|---|
| portability 便携性 | less portable | portable: works away from mains power while the battery lasts |
| expandability 可扩展性 | easy to upgrade (more RAM, new graphics card) | hard or impossible to upgrade |
| screen and keyboard | large screen, full keyboard: comfortable for long use | smaller screen; tablets and phones use on-screen keyboards |
| power and cost | more processing power for the price | less powerful for the same price; battery life limited |
| risks | stays in one place | easier to lose or steal; can be damaged if dropped |
Worked example. A video editor uses a desktop: a large screen, a fast processor and a graphics card that can be upgraded. A sales representative uses a tablet: it is light, shows products to customers anywhere and runs on its battery while she meets customers.
1.5 Emerging technologies
Artificial intelligence (AI)
Artificial intelligence 人工智能 is the ability of a computer to do tasks that normally need human thinking, such as recognising speech or faces, learning from data and making decisions.
| examples in everyday life | positive impact 影响 | negative impact |
|---|---|---|
| voice assistants; translation apps; recommendations on shopping and video sites; face recognition to unlock a phone; chatbots; self-driving cars | saves time; works all day without tiring; can be more accurate than humans in some tasks (e.g. reading medical scans); helps disabled people | some jobs are lost; decisions may be biased or hard to explain; privacy 隐私 (it collects personal data); people may rely on it too much |
Extended reality: virtual and augmented reality
| virtual reality 虚拟现实 (VR) | augmented reality 增强现实 (AR) | |
|---|---|---|
| what it is | a completely computer-generated world, seen through a headset 头戴式设备 | computer images added on top of the real world, seen through a phone, tablet or glasses |
| examples | flight and surgery training; games; virtual tours of museums or houses | trying furniture in your room through a shop's app; games; directions shown over the street |
| positive impact | negative impact |
|---|---|
| safe training for dangerous jobs; learning is more interesting; customers can try before they buy | equipment can be expensive; VR can cause headaches or motion sickness; users may lose awareness of real surroundings; less real social contact |
Worked example. Student pilots practise landing in a VR flight simulator. Mistakes cost nothing and nobody is hurt, and rare emergencies can be practised many times.
Words in the questions
The exercise sheets for this topic also use these words:
- dialogue-based interface 对话式界面
- gesture-based interface 手势界面
- extended reality 扩展现实