Software, the OS and interrupts
Introduit
8:28
Matériel et logiciel
Voici un ordinateur tout neuf. Chaque pièce physique fonctionne — le processeur, la mémoire, l'écran, le clavier. Allumez-le, et rien ne se passe. Pas de bureau…
Narration en anglais · sous-titres en anglais et en 中文 au choix
Dans cette leçon
| English | Sens |
|---|---|
| software/ˈsɒftweə/ | logiciel |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | système d'exploitation |
| Hardware/ˈhɑːdweə/ | The physical parts; software is the programs that control them. |
| programs/ˈprəʊɡræmz/ | A set of instructions specifying operations for a computer to carry out. |
| system software/ˈsɪstəm ˈsɒftweə/ | logiciel système |
| application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ | logiciel application |
| compilers | |
| device drivers/dɪˈvaɪs ˈdraɪvəz/ | pilotes de périphérique |
| utility software/juːˈtɪlɪti ˈsɒftweə/ | logiciel utilitaire |
| anti-virus/ˈænti ˈvaɪrəs/ | Software aimed at detecting or removing viruses and often other malware; protection is not guaranteed by its presence alone. |
| backup/ˈbækʌp/ | An additional copy of data kept so it can be recovered after loss or damage. |
| word processor/wɜːd ˈprəʊsesə/ | |
| spreadsheet/ˈspredʃiːt/ | |
| database/ˈdeɪtəbeɪs/ | An organised collection of data that can be accessed and managed. |
| web browser/web ˈbraʊzə/ | An application that requests web resources, interprets their content and presents pages for the user to interact with. |
| managing files | |
| managing memory | |
| managing peripherals/ˈmænɪdʒɪŋ pəˈrɪfərəlz/ | |
| multitasking/ˈmʌltitæskɪŋ/ | multitâche |
| interrupt/ˈɪntərʌpt/ | interruption |
| user interface/ˈjuːzə ˈɪntəfeɪs/ | The controls, displays and interaction mechanisms through which a person communicates with a computer system or program. |
| platform/ˈplætfɔːm/ | A hardware/software environment on which applications can run. |
| security/sɪˈkjʊərɪti/ | |
| signal/ˈsɪɡnl/ | Information or cues that communicate a condition and can influence a response or decision. |
| processor/ˈprəʊsesə/ | The component that executes instructions and performs the operations of a computer or similar system. |
| CPU/ˌsiː piː ˈjuː/ | |
| interrupt service routine/ˈɪntərʌpt ˈsɜːvɪs ruːˈtiːn/ | A routine executed to handle a particular interrupt before control returns to an appropriate point in the interrupted processing. |
| instruction/ɪnˈstrʌkʃn/ | |
| state/steɪt/ |
Logiciels 软件 et système d'exploitation 操作系统
- Matériel 硬件 = parties physiques ; logiciel = programmes qui les contrôlent.
- Les logiciels se divisent en logiciel système 系统软件 et logiciel application 应用软件.
- Le logiciel système le plus important est le système d'exploitation.
Logiciel système vs application
- Le logiciel système contrôle l'ordinateur et fournit une base pour d'autres programmes : le système d'exploitation, les compilateurs, les pilotes périphériques 设备驱动程序, et le logiciel utilitaire 实用程序 (anti-virus, sauvegarde).
- Le logiciel application permet à l'utilisateur d'accomplir une tâche : traitement de texte, tableur, base de données, navigateur web.
- Le logiciel système s'exécute en arrière-plan ; le logiciel application est utilisé directement par l'utilisateur.

Les logiciels se divisent en logiciel système (gère l'ordinateur) et logiciel application (permet à l'utilisateur d'accomplir une tâche).

Sur une interruption 中断, le CPU sauvegarde son emplacement, exécute la routine de gestion d'interruption, puis restaure son emplacement et continue.
Which is system software?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
The OS (and drivers, utilities) is system software; the others are application software.
Sort these into system or application software.
Difficulté 2/5 · 140 pièces + un petit bonus lors de la première réussite aujourd'hui
Drivers and utilities run the computer (system); a browser is a user application.
Le système d'exploitation
- Le SO contrôle tout l'ordinateur afin que le matériel, les applications et l'utilisateur travaillent ensemble. Ses rôles incluent :
- gestion des fichiers, gestion de la mémoire, gestion des périphériques (et pilotes), multitâche 多任务处理, gestion des interruptions, fourniture d'une interface utilisateur, une plateforme pour les applications, et la sécurité.

La carte mère et les pièces attachées sont du matériel — les parties physiques d'un ordinateur.

Which is a role of the operating system?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
The OS manages files, memory, peripherals, multitasking, interrupts, the UI and security.
Interrupts
- Une interruption est un signal au processeur indiquant que quelque chose a besoin d'attention maintenant.
- Elle peut provenir du matériel (touche pressée, imprimante sans papier), du logiciel (division par zéro), ou de l'utilisateur (appuyer sur annuler).
- Le processeur s'arrête, sauvegarde son emplacement, traite l'interruption, puis reprend — ainsi l'ordinateur réagit rapidement aux événements importants.

Le système d'exploitation se situe entre le matériel et le logiciel application et l'utilisateur, leur permettant de travailler ensemble.

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:
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
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.
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
Interrupts can be hardware, software or user-triggered; in every case the CPU saves state, handles it, then resumes.
Cette carte est nouvelle. Elle s’affiche donc en anglais jusqu’à ce que sa traduction soit prête.
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?
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
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.
Difficulté 1/5 · 100 pièces + un petit bonus lors de la première réussite aujourd'hui
Saving the registers lets the program resume exactly where it stopped.
Vous avez compris
- logiciel système gère l'ordinateur (SO, pilotes, utilitaires) ; logiciel application effectue une tâche utilisateur
- le SO gère les fichiers, la mémoire, les périphériques, le multitâche, les interruptions, l'interface et la sécurité
- une interruption = un signal nécessitant une attention immédiate (matériel / logiciel / utilisateur)
- sur une interruption, le CPU sauvegarde son emplacement, la traite, puis continue
Que s’est-il passé ? Seule l’équipe du site voit ces informations.