Software, the OS and interrupts
Introduzido| English | Significado |
|---|---|
| software/ˈsɒftweə/ | software |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | sistema operacional |
| hardware/ˈhɑːdweə/ | hardware |
| system software/ˈsɪstəm ˈsɒftweə/ | software do sistema |
| application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ | software de aplicação |
| device drivers/dɪˈvaɪs ˈdraɪvəz/ | drivers de dispositivo |
| utility software/juːˈtɪlɪti ˈsɒftweə/ | utilitários |
| interrupt/ˈɪntərʌpt/ | interrupção |
| multitasking/ˈmʌltitæskɪŋ/ | multitarefa |
Software 软件 and the operating system 操作系统
- Hardware 硬件 is the physical parts; software is the programs that control them.
- Software splits into system software 系统软件 and application software 应用软件.
- The most important system software is the operating system.
System vs application software
- System software controls the computer and gives a base for other programs: the operating system, compilers, device drivers 设备驱动程序, and utility software 实用程序 (anti-virus, backup).
- Application software lets the user do a task: word processor, spreadsheet, database, web browser.
- System software runs in the background; application software is used directly by the user.

Which is system software?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
The OS (and drivers, utilities) is system software; the others are application software.
Sort these into system or application software.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Drivers and utilities run the computer (system); a browser is a user application.
The operating system
- The OS controls the whole computer so the hardware, applications and user work together. Its roles include:
- managing files, managing memory, managing peripherals (and drivers), multitasking 多任务处理, handling interrupts, providing a user interface, a platform for applications, and security.

Which is a role of the operating system?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
The OS manages files, memory, peripherals, multitasking, interrupts, the UI and security.
Interrupts
- An interrupt is a signal to the processor that something needs attention now.
- It can come from hardware (a key pressed, printer out of paper), software (divide by zero), or the user (pressing cancel).
- The processor stops, saves its place, services the interrupt, then resumes — so the computer reacts quickly to important events.

How the CPU handles an interrupt
Step through an interrupt. The CPU pauses what it's doing, deals with the urgent event, then carries on exactly where it left off — which is how one processor juggles the keyboard, printer and timer at once.
An interrupt is:
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
An interrupt makes the CPU pause, service the event, then resume — for quick reactions.
A hardware interrupt comes from a device (e.g. a printer out of paper), while a software interrupt comes from a program (e.g. dividing by zero) — both make the CPU pause and service the event.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Interrupts can be hardware, software or user-triggered; in every case the CPU saves state, handles it, then resumes.
Worked example: a key press during printing
A student is typing a report while it prints. The printer runs out of paper. Explain what the operating system does.
- The printer sends an interrupt. At the end of the current instruction the CPU checks for interrupts, saves the state of the running program and runs the interrupt service routine, which shows a "load paper" message.
- The saved state is then restored and the word processor carries on. The OS is managing peripherals (the printer) and multitasking, while the word processor is application software.
Which of these is system software?
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Utilities help run and look after the computer; the others are applications that do a task for the user.
Before handling an interrupt, the CPU saves the state of the current program so it can carry on afterwards.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
Saving the registers lets the program resume exactly where it stopped.
You've got it
- system software runs the computer (OS, drivers, utilities); application software does a user task
- the OS manages files, memory, peripherals, multitasking, interrupts, the UI and security
- an interrupt = a signal needing immediate attention (hardware / software / user)
- on an interrupt the CPU saves its place, services it, then carries on