First exams 2027 · SL & HL 2027 年首次开考 · SL 与 HL

A1.3 · Computer fundamentals

A1.3 · 计算机基础

Functions of an Operating System

操作系统的功能

The role of the OS is carried out by a set of specific jobs: handing memory to programs, keeping files in order, driving the hardware, sharing the processor, guarding access and running the desktop, all while background work goes on unseen.

操作系统的作用是由一组具体的工作来完成的:把内存分给程序、把文件管好、驱动硬件、分享处理器、把关访问、运行桌面,而这一切都在后台工作悄然进行的同时发生。

Core for SL & HL SL 与 HL 核心内容 Typically 3–6 marks · AO2 通常 3–6 分 · AO2 Command term: describe 命令词:describe(描述)

Explainer

讲解

Function, not feature

功能,而不是特色

A1.3.1 covered the OS’s overall role. This statement is about the specific functions it performs to carry that role out. The guide names nine: memory management, the file system, device management, scheduling, security, accounting, the graphical user interface, virtualization and networking.

A1.3.1 讲的是操作系统总体的作用。本条陈述讲的是它为履行这一作用而执行的具体功能。学科指南列出了九项:内存管理、文件系统、设备管理、调度、安全、记账、图形用户界面、虚拟化和网络。

Running through all of them is one job: maintaining system integrity while background operations run. At any moment the OS is doing housekeeping the user never sees, updating caches, writing logs, checking devices, and it must do this without letting the visible programs break or interfere with each other.

贯穿所有这些功能的是一项工作:在后台操作运行的同时维护系统的完整性。任何时刻操作系统都在做用户看不见的杂务,比如更新缓存、写日志、检查设备,而它必须在做这些的同时,不让可见的程序崩溃或互相干扰。

Explainer

讲解

The nine functions

九项功能

FunctionWhat it does
Memory managementAllocates and reclaims RAM per process, keeps each process’s memory separate, and uses virtual memory (paging to disk) when RAM runs short
File systemOrganises data into files and directories, tracks free space, and enforces naming and access rules
Device managementUses device drivers to control hardware, and buffers, caches or spools data to smooth speed differences
SchedulingDecides which ready process runs on the CPU next and for how long
SecurityAuthenticates users and checks permissions on every access; provides encryption and monitors for malware
AccountingTracks how much CPU time, memory, disk and network each user and process consumes, for auditing and billing
GUIProvides windows, icons, menus and pointers so users can operate the machine visually
VirtualizationRuns several virtual machines on one physical machine through a hypervisor, isolating them from each other
NetworkingManages the network interface, assigns addresses and implements protocols so programs can communicate
功能它做什么
内存管理为每个进程分配和回收 RAM,让各进程的内存彼此隔离,并在 RAM 不足时使用虚拟内存(把页换出到磁盘)
文件系统把数据组织成文件和目录,记录空闲空间,并强制执行命名和访问规则
设备管理用设备驱动程序控制硬件,并通过缓冲、缓存或假脱机来抹平速度差异
调度决定下一个由哪个就绪进程使用 CPU、用多久
安全验证用户身份并在每次访问时检查权限;提供加密并监控恶意软件
记账记录每个用户和进程消耗了多少 CPU 时间、内存、磁盘和网络,用于审计和计费
GUI提供窗口、图标、菜单和指针,使用户能以可视化方式操作机器
虚拟化通过管理程序在一台物理机上运行多个虚拟机,并让它们彼此隔离
网络管理网络接口、分配地址并实现协议,使程序能够通信

Explore

探索

Each function in action

每项功能的实际运作

Pick a function to see one concrete thing it does and the effect a user would notice if it were missing.

选择一项功能,看看它具体做的一件事,以及如果缺少它用户会注意到的后果。

Check your understanding

检验你的理解

Virtual memory, where the OS moves less-used pages of RAM out to disk, is part of which function?

虚拟内存(操作系统把 RAM 中较少使用的页换出到磁盘)属于哪一项功能?

Common mistake

常见错误

A recurring weakness on “describe the functions” “描述操作系统的功能”这类题反复出现的弱点

RecurringTwo problems recur. First, answers name functions without describing them: “memory management, scheduling, security” is a list, not a description. Each needs a sentence saying what the OS actually does. Second, answers describe GUI features (windows, drag and drop) as if that were the whole OS; the GUI is one function of nine, and the important ones for most questions are memory, scheduling, files and devices.

反复出现有两个问题反复出现。第一,答案只是列出功能名称而不加描述:“内存管理、调度、安全”是清单,不是描述。每一项都需要一句话说明操作系统实际做了什么。第二,答案把 GUI 的特性(窗口、拖放)当成操作系统的全部来描述;GUI 只是九项功能之一,对多数题目而言更重要的是内存、调度、文件和设备。

✕

Named, not described: “An operating system does memory management, file management, device management and scheduling.” Lists four labels with nothing said about any of them.

只点名,不描述: “操作系统负责内存管理、文件管理、设备管理和调度。”列了四个标签,却对任何一个都没有说明。

✓

Described: “Memory management allocates a protected block of RAM to each process and pages less-used data to disk when RAM is full. Scheduling decides which waiting process runs on the CPU next. Device management uses drivers so programs can use any keyboard or printer through one interface. The file system stores data as named files in directories and tracks free disk space.”

有描述: “内存管理为每个进程分配一块受保护的 RAM,并在 RAM 满时把较少使用的数据换出到磁盘。调度决定下一个由哪个等待中的进程使用 CPU。设备管理借助驱动程序,使程序能通过统一接口使用任何键盘或打印机。文件系统把数据以命名文件的形式存放在目录中,并记录空闲磁盘空间。”

Revision questions

复习题

Specimen-paper style. Write an answer, then reveal the marking points and mark yourself.

采用样卷风格。写下答案,然后展开评分要点给自己打分。

Question 1 · 4 marks 第 1 题 · 4 分

[4]Describe four functions of an operating system.

[4]描述操作系统的四项功能。

Question 2 · 3 marks 第 2 题 · 3 分

[3]Describe how the memory-management function of an operating system uses virtual memory.

[3]描述操作系统的内存管理功能如何使用虚拟内存。

Question 3 · 4 marks 第 3 题 · 4 分

[4]Describe the file-system and device-management functions of an operating system.

[4]描述操作系统的文件系统功能和设备管理功能。

Question 4 · 3 marks 第 4 题 · 3 分

[3]Describe what is meant by an operating system keeping the machine in a consistent, trustworthy state while its background tasks run.

[3]描述“操作系统在后台任务运行的同时,让机器保持一致、可信的状态”是什么意思。

Question 5 · 4 marks 第 5 题 · 4 分

[4]Describe the accounting and security functions of an operating system.

[4]描述操作系统的记账功能和安全功能。

Flashcards

记忆卡片

Active recall for this statement’s key terms.

针对本条考纲陈述关键术语的主动回忆练习。

Prototype render · grounded in the IB CS 2027 subject guide and the Hodder and Oxford IB CS 2027 texts for A1.3.2 · not yet wired to live routes