Memory in IGCSE CIE Computer Science | IGCSE CIE 计算机:存储器考点精讲

📚 Memory in IGCSE CIE Computer Science | IGCSE CIE 计算机:存储器考点精讲

In IGCSE CIE Computer Science, memory and storage are fundamental concepts that appear in both paper theory and practical scenarios. Understanding the types, characteristics and uses of various memory devices is crucial for exam success. This article breaks down every key point you need to know.

在IGCSE CIE计算机科学中,存储器和存储设备是基础概念,出现在理论试卷和实际应用场景中。理解各种存储设备的类型、特性和用途对于考试成功至关重要。本文将详细解析你需要掌握的每一个关键考点。

1. Introduction to Memory | 存储器概述

Memory refers to the components that store data and instructions either temporarily or permanently in a computer system. It can be categorised into primary memory (directly accessed by the CPU) and secondary storage (non-volatile, long-term storage).

存储器指的是计算机系统中临时或永久存储数据和指令的组件。它可分为主存(CPU直接访问)和辅助存储(非易失、长期存储)。


2. Primary Memory: RAM and ROM | 主存:RAM和ROM

Primary memory includes RAM (Random Access Memory) and ROM (Read Only Memory). Both are directly accessible by the CPU via the address bus and data bus. RAM is volatile, meaning its contents are lost when power is turned off, while ROM is non-volatile and retains data without power.

主存包括RAM(随机存取存储器)和ROM(只读存储器)。两者都可通过地址总线和数据总线由CPU直接访问。RAM易失性,断电后内容丢失;ROM非易失,断电后仍能保留数据。


3. RAM Characteristics | RAM的特性

RAM is used to store the operating system, programs currently running, and data being processed. It is read-write memory, allowing both reading and writing at high speeds. As RAM size increases, more applications can run simultaneously without slowing down the system. Common types are DRAM (dynamic, needs constant refreshing) and SRAM (static, faster but more expensive, used in cache).

RAM用于存储操作系统、当前运行的程序和正在处理的数据。它是可读写存储器,支持高速读写。RAM容量越大,系统可同时运行更多应用而不变慢。常见类型有DRAM(动态,需不断刷新)和SRAM(静态,更快但更贵,用于高速缓存)。


4. ROM Characteristics | ROM的特性

ROM is non-volatile and its contents are permanently written during manufacture. It stores firmware, such as the BIOS (Basic Input/Output System) or bootloader, which initializes hardware when the computer starts. Variations include PROM (programmable once), EPROM (erasable with UV light) and EEPROM (electrically erasable, can be reprogrammed). In embedded systems, ROM holds the dedicated program.

ROM是非易失性的,其内容在制造时永久写入。它存储固件,如BIOS(基本输入输出系统)或引导程序,在计算机启动时初始化硬件。变种包括PROM(可编程一次)、EPROM(紫外线擦除)和EEPROM(电擦除,可重新编程)。在嵌入式系统中,ROM保存专用程序。


5. Secondary Storage Devices | 辅助存储设备

Secondary storage is non-volatile and used for long-term storage of data and programs when not in use. It is not directly accessible by the CPU; data must be transferred to RAM first. Examples include magnetic hard drives, solid state drives, optical discs, USB flash drives, and memory cards. The choice depends on capacity, speed, portability, durability and cost.

辅助存储是非易失性的,用于长期存储不在使用中的数据和程序。CPU不能直接访问;数据必须先传输到RAM。示例包括机械硬盘、固态硬盘、光盘、USB闪存盘和存储卡。选择取决于容量、速度、便携性、耐用性和成本。


6. Hard Disk Drives (HDD) vs Solid State Drives (SSD) | 机械硬盘与固态硬盘对比

Hard disk drives (HDD) store data on spinning magnetic platters read by a moving head. Solid state drives (SSD) use flash memory with no moving parts. As a result, SSDs offer much faster read/write speeds, greater shock resistance, silent operation, and lower power consumption, but at a higher cost per gigabyte than HDDs.

机械硬盘(HDD)将数据存储在旋转的磁盘上,由移动磁头读取。固态硬盘(SSD)使用闪存,无移动部件。因此,SSD提供更快的读写速度、更好的抗震性、静音运行、更低功耗,但每GB成本高于HDD。

Feature HDD SSD
Technology Magnetic spinning platters, moving read/write head Flash memory (NAND), no moving parts
Speed Slower (latency from head movement and rotation) Much faster (near-instant access)
Durability Fragile, sensitive to shock/vibration Very durable, shock-resistant
Noise Audible spinning and clicking Silent
Power Consumption Higher (motor) Lower
Cost per GB Lower Higher
Typical Use Bulk storage, servers, desktops Laptops, high-performance PCs, portable drives

7. Optical Storage | 光存储

Optical discs like CD, DVD and Blu-ray use laser technology to read and write data. They are portable, cheap to produce in bulk, and widely used for distributing software, music, and movies. However, they have limited capacity compared to HDD/SSD and are slower. Write-once formats (CD-R, DVD-R) and rewritable formats (CD-RW, DVD-RW) exist. Blu-ray discs have the highest capacity (up to 50 GB or more).

光盘如CD、DVD和蓝光使用激光技术读写数据。它们便携、批量生产成本低,广泛用于分发软件、音乐和电影。但与HDD/SSD相比,容量有限且速度较慢。存在一次性写入格式(CD-R, DVD-R)和可重写格式(CD-RW, DVD-RW)。蓝光光盘容量最大(高达50GB或更多)。


8. Solid-State Portable Storage | 固态便携存储

USB flash drives and SD cards are flash-based, non-volatile, portable storage devices. They connect via USB ports or built-in readers, offering easy data transfer between computers. Solid-state portable storage is durable (no moving parts), compact, and has fast access times. Capacities range from a few GB to terabytes.

USB闪存盘和SD卡是基于闪存、非易失的便携存储设备。它们通过USB端口或内置读卡器连接,方便在计算机间传输数据。固态便携存储耐用(无移动部件)、小巧且访问速度快。容量从几GB到几TB不等。


9. Cloud Storage | 云存储

Cloud storage stores data on remote servers accessed via the internet. It provides accessibility from any device with internet, automatic backup, and easy sharing. Examples include Google Drive, Dropbox, and OneDrive. Exam questions often ask about advantages (access anywhere, disaster recovery, no physical hardware to maintain) and disadvantages (requires internet, ongoing subscription costs, privacy concerns).

云存储将数据存储在远程服务器上,通过互联网访问。它提供从任何联网设备的可访问性、自动备份和轻松共享。示例包括Google Drive、Dropbox和OneDrive。考题常问优点(随时随地访问、灾难恢复、无需维护物理硬件)和缺点(需要互联网、持续订阅费用、隐私问题)。


10. Virtual Memory | 虚拟内存

Virtual memory is a technique that uses a portion of secondary storage (usually HDD or SSD) as an extension of RAM when RAM is full. The OS swaps data between RAM and the virtual memory page file. This allows running more or larger programs than physical RAM can hold, but accessing virtual memory is much slower than RAM (causing thrashing if overused). Exams may ask for the purpose and effect on performance.

虚拟内存是一种当RAM满时,使用部分辅助存储(通常是HDD或SSD)作为RAM延伸的技术。操作系统在RAM和虚拟内存页面文件之间交换数据。这允许运行比物理RAM更多的或更大的程序,但访问虚拟内存比RAM慢得多(过度使用会导致系统抖动)。考试可能会问其目的和对性能的影响。


11. Cache Memory | 高速缓存

Cache memory is a small, extremely fast volatile memory located close to or inside the CPU. It stores frequently used instructions and data to speed up processing. Levels: L1 (fastest, smallest, inside CPU core), L2 (larger, slightly slower) and sometimes L3 (shared). It operates automatically. Cache is more expensive per byte than RAM. IGCSE may ask why cache improves performance.

高速缓存是一种位于CPU附近或内部的小型、极快的易失性存储器。它存储频繁使用的指令和数据以加速处理。级别:L1(最快、最小、在CPU核内)、L2(较大、稍慢)及有时L3(共享)。它自动运行。每字节缓存比RAM更昂贵。IGCSE可能会问为什么缓存能提高性能。


12. Key Exam Tips for Memory | 存储器关键考试技巧

Be able to compare storage types in terms of speed, volatility, capacity, cost, portability, durability. Know the difference between primary and secondary storage. Use case scenarios: which storage to use for a given situation (e.g., distribution of a movie -> Blu-ray; internal laptop storage -> SSD for speed and shock resistance). Understand units: bit, byte, KB (2¹⁰ bytes), MB (2²⁰ bytes), GB (2³⁰ bytes), TB (2⁴⁰ bytes) and their relationship. Virtual memory and cache are higher-tier topics but frequently appear.

能够根据速度、易失性、容量、成本、便携性、耐用性比较存储类型。知道主存和辅助存储的区别。应用场景:给定情况下应使用哪种存储(例如,分发电影→蓝光;笔记本内部存储→SSD,因速度和抗震)。理解单位:bit、byte、KB(2¹⁰字节)、MB(2²⁰字节)、GB(2³⁰字节)、TB(2⁴⁰字节)及其关系。虚拟内存和高速缓存是较高层次主题,但经常出现。

Published by TutorHao | Computer Science Revision Series | aleveler.com

更多咨询请联系16621398022(同微信)

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from aleveler.com

Subscribe now to keep reading and get access to the full archive.

Continue reading