Software, the OS and interrupts
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| software/ˈsɒftweə/ | 软件 | ruǎn jiàn |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | 操作系统 | cāo zuò xì tǒng |
| Hardware/ˈhɑːdweə/ | 硬件 | yìng jiàn |
| programs/ˈprəʊɡræmz/ | 程序 | chéng xù |
| system software/ˈsɪstəm ˈsɒftweə/ | 系统软件 | xì tǒng ruǎn jiàn |
| application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ | 应用软件 | yìng yòng ruǎn jiàn |
| compilers | 编译器 | biān yì qì |
| device drivers/dɪˈvaɪs ˈdraɪvəz/ | 设备驱动程序 | shè bèi qū dòng chéng xù |
| utility software/juːˈtɪlɪti ˈsɒftweə/ | 实用程序 | shí yòng chéng xù |
| anti-virus/ˈænti ˈvaɪrəs/ | 杀毒软件 | shā dú ruǎn jiàn |
| backup/ˈbækʌp/ | 备份 | bèi fèn |
| word processor/wɜːd ˈprəʊsesə/ | 文字处理软件 | wén zì chǔ lǐ ruǎn jiàn |
| spreadsheet/ˈspredʃiːt/ | 电子表格软件 | diàn zi biǎo gé ruǎn jiàn |
| database/ˈdeɪtəbeɪs/ | 数据库 | shù jù kù |
| web browser/web ˈbraʊzə/ | 网页浏览器 | wǎng yè liú lǎn qì |
| managing files | 文件管理 | wén jiàn guǎn lǐ |
| managing memory | 内存管理 | nèi cún guǎn lǐ |
| managing peripherals/ˈmænɪdʒɪŋ pəˈrɪfərəlz/ | 外设管理 | wài shè guǎn lǐ |
| multitasking/ˈmʌltitæskɪŋ/ | 多任务处理 | duō rèn wù chǔ lǐ |
| interrupt/ˈɪntərʌpt/ | 中断 | zhōng duàn |
| user interface/ˈjuːzə ˈɪntəfeɪs/ | 用户界面 | yòng hù jiè miàn |
| platform/ˈplætfɔːm/ | 平台 | píng tái |
| security/sɪˈkjʊərɪti/ | 安全 | ān quán |
| signal/ˈsɪɡnl/ | 信号 | xìn hào |
| processor/ˈprəʊsesə/ | 处理器 | chǔ lǐ qì |
| CPU/ˌsiː piː ˈjuː/ | 中央处理器 | zhōng yāng chǔ lǐ qì |
| interrupt service routine/ˈɪntərʌpt ˈsɜːvɪs ruːˈtiːn/ | 中断服务程序 | zhōng duàn fú wù chéng xù |
| instruction/ɪnˈstrʌkʃn/ | 指令 | zhǐ lìng |
| state/steɪt/ | 状态 | zhuàng tài |
软件与操作系统
- 硬件是物理部件;软件是控制这些部件的程序。
- 软件分为系统软件和应用软件。
- 最重要的系统软件是操作系统。
系统软件与应用软件
- 系统软件控制计算机,并为其他程序提供基础,包括操作系统、编译器、设备驱动程序和实用程序(杀毒软件、备份软件)。
- 应用软件让用户完成任务,例如文字处理软件、电子表格软件、数据库和网页浏览器。
- 系统软件在后台运行;应用软件由用户直接使用。

Which is system software?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The OS (and drivers, utilities) is system software; the others are application software.
Sort these into system or application software.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Drivers and utilities run the computer (system); a browser is a user application.
操作系统
- OS 控制整个计算机,使硬件、应用软件和用户能够协同工作。它的职责包括:
- 管理文件、管理内存、管理外设(以及驱动程序)、多任务、处理中断、提供用户界面、提供应用软件运行的平台,以及保障安全。

Which is a role of the operating system?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The OS manages files, memory, peripherals, multitasking, interrupts, the UI and security.
中断
- 中断是发送给处理器的信号,表示某件事现在需要处理。
- 中断可以来自硬件(按下按键、打印机缺纸)、软件(除以零)或用户(按下取消)。
- 处理器停止、保存当前位置、处理中断,然后继续执行,使计算机能够快速响应重要事件。

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:
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
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.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Interrupts can be hardware, software or user-triggered; in every case the CPU saves state, handles it, then resumes.
例题:打印时按下按键
一名学生在输入报告的同时打印报告。打印机的纸用完了。解释操作系统会做什么。
- 打印机发送一个中断。中央处理器在当前指令结束时检查中断,保存正在运行的程序的状态,然后运行中断服务程序,显示“请装入纸张”的消息。
- 然后,保存的状态被恢复,文字处理软件继续运行。操作系统正在管理外设(打印机)和多任务,而文字处理软件是应用软件。
Which of these is system software?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
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.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Saving the registers lets the program resume exactly where it stopped.
你掌握了
- 系统软件运行计算机(OS、驱动、实用程序);应用软件做一个用户任务
- OS 管理文件、内存、外设、多任务、中断、UI 和安全
- 一个中断 = 一个需要立即注意的信号(硬件 / 软件 / 用户)
- 在一个中断时 CPU 保存它的位置、服务它,然后继续
出了什么问题?只有网站团队能看到这些信息。