📚 GCSE WJEC Computer Science: Operating Systems Key Points | GCSE WJEC 计算机:操作系统 考点精讲
An operating system (OS) is the most fundamental software that runs on a computer. It manages the hardware and software resources of the system, providing a stable and consistent way for applications to interact with the hardware without needing to know every detail of the hardware. For WJEC GCSE Computer Science, you need to understand the purpose and functions of an operating system, the different types of user interfaces, and key concepts such as memory management, multitasking, file management and security.
操作系统是计算机上运行的最基础软件。它管理系统的硬件和软件资源,为应用程序提供一种稳定一致的方式与硬件交互,而无需了解硬件的每一个细节。对于 WJEC GCSE 计算机科学,你需要理解操作系统的目的和功能,不同类型的用户界面,以及内存管理、多任务、文件管理和安全性等关键概念。
1. What is an Operating System? | 什么是操作系统?
An operating system is a collection of programs that control the execution of application software and act as an interface between the user and the computer hardware. Examples include Microsoft Windows, macOS, Linux, iOS and Android. The OS is loaded into memory when the computer is switched on (booting).
操作系统是一组控制应用软件执行并充当用户与计算机硬件之间接口的程序。例子包括 Microsoft Windows、macOS、Linux、iOS 和 Android。计算机开机时,操作系统被加载到内存中(启动)。
The kernel is the core part of the OS, responsible for managing resources such as the CPU, memory and input/output devices. It remains in main memory throughout the session.
内核是操作系统的核心部分,负责管理 CPU、内存和输入/输出设备等资源。它在整个会话期间驻留在主存中。
2. Functions of an Operating System | 操作系统的功能
The key functions of an operating system include: managing the user interface, controlling memory allocation, scheduling processor time for processes, handling input and output devices, organising files on storage, and enforcing security and access rights. Together, these functions allow the hardware and software to work together efficiently.
操作系统的主要功能包括:管理用户界面、控制内存分配、为进程调度处理器时间、处理输入和输出设备、组织存储上的文件,以及执行安全性和访问权限。这些功能共同使硬件和软件高效地协同工作。
Additionally, the OS provides utility programs for system maintenance, such as disk defragmentation, backup and antivirus tools. While some utilities are considered separate software, many are tightly integrated with the operating system.
此外,操作系统还提供用于系统维护的实用程序,如磁盘碎片整理、备份和防病毒工具。虽然有些实用程序被视为独立软件,但许多与操作系统紧密集成。
3. User Interfaces: GUI, CLI, and Menu-Driven | 用户界面:图形、命令行与菜单驱动
A graphical user interface (GUI) uses windows, icons, menus and pointers (WIMP) to allow the user to interact with the system. GUIs are intuitive and user-friendly, making them suitable for most general-purpose computers. Elements can be manipulated with a mouse, touch or keyboard shortcuts.
图形用户界面使用窗口、图标、菜单和指针(WIMP)来允许用户与系统交互。GUI 直观且用户友好,适用于大多数通用计算机。元素可以通过鼠标、触摸或键盘快捷键操控。
A command-line interface (CLI) requires the user to type commands. It is less intuitive but can be more powerful and efficient for expert users, and uses fewer system resources. Many administrative tasks are performed through a CLI.
命令行界面要求用户键入命令。它不太直观,但对于专家用户来说可以更强大和高效,并且使用更少的系统资源。许多管理任务通过 CLI 执行。
A menu-driven interface presents the user with a list of options to choose from, common in ATMs and information kiosks. It is simple to use but limited in flexibility, as actions are restricted to the predefined menu choices.
菜单驱动界面向用户呈现一个可供选择的选项列表,常见于 ATM 和信息亭。它使用简单,但灵活性有限,因为操作局限于预定义的菜单选项。
The table below summarises the advantages and disadvantages of each interface type:
下表总结了每种界面类型的优缺点:
| Interface | Advantages | Disadvantages |
|---|---|---|
| GUI | Easy to use; visual; intuitive; no need to memorise commands | Uses more memory and processing power; can be slower for repetitive tasks |
| CLI | Fast for experts; low resource usage; powerful scripting | Hard to learn; not user-friendly; easy to make mistakes |
| Menu-Driven | Very simple; no typing skills required; minimal training | Limited options; cannot perform complex tasks; slow if many menu layers |
4. Memory Management | 内存管理
Memory management is how the OS controls and coordinates the computer’s main memory (RAM). It keeps track of each memory location, allocates memory to processes when needed, and deallocates it when the process finishes. This allows multiple programs to run at the same time without interfering with each other’s memory space.
内存管理是操作系统如何控制和协调计算机主存(RAM)。它跟踪每个内存位置,在需要时向进程分配内存,并在进程结束时释放。这允许多个程序同时运行而不相互干扰内存空间。
When there is not enough physical RAM, the OS can use virtual memory. It moves infrequently used pages of memory out to a dedicated area on the hard disk (swap space). This gives the illusion of more memory but can slow down the system due to slower disk access speeds. Paging is a common technique where memory is divided into fixed-size blocks called pages.
当物理 RAM 不足时,操作系统可以使用虚拟内存。它将不常使用的内存页面移到硬盘上专用区域(交换空间)。这制造了更大内存的假象,但由于磁盘访问速度较慢,可能会降低系统速度。分页是一种将内存划分为称为页面的固定大小块的常用技术。
5. Multitasking and Process Management | 多任务与进程管理
The OS allows a computer to appear to do many tasks at once (multitasking) by rapidly switching the CPU between processes. The scheduler is the part of the OS that decides which process runs next according to a scheduling algorithm (e.g., round robin, priority-based). Each process is in one of several states: running, ready or blocked.
操作系统通过快速在进程之间切换 CPU,使计算机看起来同时处理许多任务(多任务)。调度器是操作系统中决定下一个运行哪个进程的部分,依据调度算法(例如轮转调度、优先级调度)。每个进程处于几种状态之一:运行、就绪或阻塞。
Interrupts are signals sent by hardware or software indicating an event that needs immediate attention. The OS suspends the current process, saves its state, services the interrupt, and then resumes the process. This mechanism is crucial for managing I/O operations and multitasking, and ensures that the CPU responds to time-critical events.
中断是由硬件或软件发送的信号,指示需要立即关注的事件。操作系统暂停当前进程,保存其状态,服务中断,然后恢复进程。这种机制对于管理 I/O 操作和多任务至关重要,并确保 CPU 响应时间关键的事件。
6. Peripheral Management and Device Drivers | 外设管理与设备驱动程序
Peripheral devices such as printers, keyboards, mice and USB drives are managed by the OS through device drivers. A device driver is a specific program that translates the OS’s general commands into instructions the hardware can understand. This abstraction allows the OS to work with a wide range of hardware without needing to know the low-level details of each device.
打印机、键盘、鼠标和 USB 驱动器等外设由操作系统通过设备驱动程序管理。设备驱动程序是一种特定程序,将操作系统的一般命令转换为硬件能够理解的指令。这种抽象允许操作系统与各种硬件配合,而无需了解每个设备的底层细节。
When a device is connected, the OS may automatically detect it and install the appropriate driver (plug and play). The OS also uses buffers to temporarily store data being transferred between a fast device (CPU) and a slow device (printer), preventing data loss or bottlenecks.
连接设备时,操作系统可以自动检测并安装合适的驱动程序(即插即用)。操作系统还使用缓冲区临时存储快速设备(CPU)和慢速设备(打印机)之间传输的数据,防止数据丢失或瓶颈。
7. File Management | 文件管理
The OS organises data into files and folders (directories) on storage devices. It provides a logical structure using paths (e.g., C:\Documents\file.txt) and maintains file metadata such as name, size, type, date modified, and permissions. The file manager allows users to create, rename, copy, move, delete and search for files.
操作系统将数据组织成存储设备上的文件和文件夹(目录)。它使用路径提供逻辑结构(例如 C:\Documents\file.txt),并维护文件元数据,如名称、大小、类型、修改日期和权限。文件管理器允许用户创建、重命名、复制、移动、删除和搜索文件。
The OS also handles the allocation of disk space, keeping track of free and used blocks. Common file systems include NTFS (Windows), APFS (macOS) and ext4 (Linux). File extensions (e.g., .txt, .jpg) allow the OS to associate files with default applications.
操作系统还处理磁盘空间的分配,跟踪空闲和已用块。常见文件系统包括 NTFS(Windows)、APFS(macOS)和 ext4(Linux)。文件扩展名(如 .txt、.jpg)允许操作系统将文件与默认应用程序关联。
8. User and Security Management | 用户与安全管理
The OS controls access to the system through user accounts and authentication (username and password). It enforces access rights, determining which users can read, write or execute certain files and programs. Different types of accounts (e.g., administrator, standard user) have different privileges, limiting what ordinary users can change.
操作系统通过用户账户和身份验证(用户名和密码)控制系统访问。它强制执行访问权限,确定哪些用户可以读、写或执行某些文件和程序。不同类型的账户(如管理员、标准用户)具有不同的权限,限制了普通用户可以更改的内容。
Security features include firewalls to monitor network traffic, encryption to protect data, and automatic updates to patch vulnerabilities. The OS also maintains logs of system events to detect suspicious activity. Authentication can be strengthened with biometric methods or two-factor authentication in modern systems.
安全功能包括用于监控网络流量的防火墙、保护数据的加密,以及修补漏洞的自动更新。操作系统还维护系统事件日志以检测可疑活动。在现代系统中,可以通过生物识别方法或双因素身份验证加强认证。
9. Utility Software | 实用程序软件
Utility software is system software designed to help analyse, configure, optimise or maintain a computer. Examples include disk defragmenters (reorganise files to improve speed), backup software, virus scanners, file compressors, and system monitors. While not strictly part of the OS kernel, many operating systems bundle such utilities to provide a complete experience.
实用软件是旨在帮助分析、配置、优化或维护计算机的系统软件。例子包括磁盘碎片整理程序(重新组织文件以提高速度)、备份软件、病毒扫描程序、文件压缩器和系统监视器。虽然严格来说不是操作系统内核的一部分,但许多操作系统捆绑了这些实用程序以提供完整的体验。
Encryption software can turn readable data into coded form; the OS may use this to protect files. Disk cleanup tools remove temporary files and free up space. These utilities help keep the system running efficiently.
加密软件可以将可读数据转为编码形式;操作系统可能使用它来保护文件。磁盘清理工具删除临时文件并释放空间。这些实用程序有助于保持系统高效运行。
10. Real-World Examples and Exam Tips | 实例与考试技巧
In the WJEC exam, you may be asked to describe the functions of an OS, compare interfaces, or explain why virtual memory is used. Always use specific terminology such as ‘kernel’, ‘scheduler’, ‘device driver’ and ‘paging’. Provide real-world examples, like how a smartphone OS (Android/iOS) manages touch input and power consumption differently from a desktop OS.
在 WJEC 考试中,你可能会被要求描述操作系统的功能,比较界面,或解释为什么使用虚拟内存。始终使用诸如“内核”、“调度器”、“设备驱动程序”和“分页”等特定术语。提供实际例子,比如智能手机操作系统(Android/iOS)如何以不同于桌面操作系统的方式管理触摸输入和功耗。
Be careful to distinguish between utility software and the core operating system. Practice explaining the process of an interrupt and the states of a process. Diagrams of the interrupt cycle or process states, even if not required, can help you structure your answer clearly and demonstrate deeper understanding.
注意区分实用软件和核心操作系统。练习解释中断的过程和进程的状态。中断周期或进程状态的图表,即使不作要求,也能帮助你清晰地组织答案并展示更深的理解。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导