← 返回资讯屏轩教育 · 行业资讯

Formula Summary Handbook for GCSE CCEA Computer Science | GCSE CCEA 计算机科学公式汇总手册

2026-07-14 04:23 · 本文部分内容由AI辅助创作

📚 Formula Summary Handbook for GCSE CCEA Computer Science | GCSE CCEA 计算机科学公式汇总手册

This comprehensive handbook brings together every essential formula, conversion, and calculation rule required for the GCSE CCEA Computer Science specification. Use it as a one‑stop revision resource to master file sizes, data transfer times, compression ratios, Boolean laws, and numeric conversions.

这本全面的手册汇集了 GCSE CCEA 计算机科学课程中所有必备的公式、换算和计算规则。把它作为一站式复习资源,掌握文件大小、数据传输时间、压缩比、布尔代数定律和数制转换。

1. Storage Units and Conversions | 存储单位与换算

All digital data is measured in bits and bytes. You must be able to convert between the common prefixes accurately.

所有数字数据都以比特和字节计量。你必须能准确地在常见前缀之间进行换算。

The exam board accepts both decimal (1000) and binary (1024) meanings; always state which you are using.

考试局同时接受十进制(1000)和二进制(1024)的含义,务必说明你使用的是哪一种。


2. Image File Size | 图像文件大小

ge depends on its resolution (width × height in pixels) and colour depth (bits per pixel).

位图图像的文件大小取决于它的分辨率(宽度×高度,以像素计)和颜色深度(每像素位数)。

File size (bits) = Width × Height × Colour Depth

文件大小(比特)= 宽度 × 高度 × 颜色深度

Convert this to bytes by dividing by 8, then to larger units as needed.

除以 8 转换为字节,再根据需要转换为更大的单位。

Example: a 1920 px × 1080 px image with 24‑bit colour depth.
File size = 1920 × 1080 × 24 = 49,766,400 bits ≈ 6,220,800 bytes ≈ 6.2 MB.

示例:一幅 1920 px × 1080 px、24 位颜色深度的图像。
文件大小 = 1920 × 1080 × 24 = 49,766,400 bits ≈ 6,220,800 字节 ≈ 6.2 MB。


3. Sound File Size | 音频文件大小

The size of an uncompressed sound file is determined by the sample rate, bit depth, number of channels, and duration.

未压缩音频文件的大小由采样率、位深度、声道数和时长决定。

File size (bits) = Sample Rate × Bit Depth × Channels × Duration (seconds)

文件大小(比特)= 采样率 × 位深度 × 声道数 × 时长(秒)

Sample rate is measured in Hz (e.g. 44,100 Hz); bit depth is the number of bits per sample; channels are 1 (mono) or 2 (stereo).

采样率以赫兹(Hz,如 44,100 Hz)为单位;位深度是每个样本的位数;声道数为 1(单声道)或 2(立体声)。

Example: 60 seconds of stereo sound at 44.1 kHz, 16 bits.
File size = 44,100 × 16 × 2 × 60 = 84,672,000 bits ≈ 10.58 MB.

示例:44.1 kHz、16 位立体声 60 秒的音频。
文件大小 = 44,100 × 16 × 2 × 60 = 84,672,000 bits ≈ 10.58 MB。


4. Text File Size | 文本文件大小

The size of a plain text file depends on the character encoding and the number of characters.

纯文本文件的大小取决于字符编码和字符数量。

File size (bits) = Number of characters × Bits per character

文件大小(比特)= 字符数量 × 每个字符的位数

Example: a 500‑character ASCII file ≈ 500 bytes. A 500‑character UTF‑16 file ≈ 1000 bytes.

示例:一个 500 个字符的 ASCII 文件 ≈ 500 字节。一个 500 个字符的 UTF‑16 文件 ≈ 1000 字节。


5. Data Transfer Time | 数据传输时间

To calculate how long it takes to transmit a file over a network, use the relationship between data size and transmission speed.

要计算通过网络传输文件所需的时间,使用数据大小和传输速度之间的关系。

Time (seconds) = Data size (bits) ÷ Transfer rate (bps)

时间(秒)= 数据大小(比特)÷ 传输速率(bps)

the file size is given in MB, convert to bits (×8×1000×1000) and the transfer rate to bps.

务必确保单位一致:如果文件大小以 MB 给出,则转换为比特(×8×1000×1000),传输速率也转换为 bps。

Example: a 25 MB file over a 10 Mbps connection.
25 MB = 25 × 8 × 1,000,000 = 200,000,000 bits.
Time = 200,000,000 ÷ 10,000,000 = 20 seconds.

示例:在 10 Mbps 的连线上传输一个 25 MB 的文件。
25 MB = 25 × 8 × 1,000,000 = 200,000,000 bits。
时间 = 200,000,000 ÷ 10,000,000 = 20 秒。


6. Compression Ratio | 压缩比

Compression ratio expresses the relationship between the original file size and the compressed file size.

压缩比表示原始文件大小与压缩后文件大小之间的关系。

Compression Ratio = Original size : Compressed size

压缩比 = 原始大小 : 压缩后大小

It can also be stated as a percentage saving:

也可以用节省的百分比表示:

Space saved (%) = [(Original size – Compressed size) ÷ Original size] × 100

节省的空间 (%) = [(原始大小 – 压缩后大小) ÷ 原始大小] × 100

file compressed to 20 MB → ratio 50:20, simplified to 5:2. Space saved = (30÷50)×100 = 60%.

示例:一个 50 MB 的文件压缩到 20 MB → 比率 50:20,简化为 5:2。节省空间 = (30÷50)×100 = 60%。


广告 / Sponsored

7. Audio Bit Rate and Streaming | 音频比特率与流式传输

processed per second. For uncompressed audio it equals sample rate × bit depth × channels.

比特率是每秒处理的数据量。对于未压缩音频,它等于采样率 × 位深度 × 声道数。

Bit rate (bps) = Sample Rate × Bit Depth × Channels

比特率 (bps) = 采样率 × 位深度 × 声道数

When streaming, a lower bit rate reduces quality but saves bandwidth. Compressed formats (MP3, AAC) use much lower bit rates.

流式传输时,较低的比特率会降低质量但节省带宽。压缩格式(MP3、AAC)使用低得多的比特率。


8. Image Resolution and Printing | 图像分辨率与打印

Resolution determines the quality of an image on screen or in print. DPI (dots per inch) links pixel dimensions to physical size.

分辨率决定了图像在屏幕上或打印时的质量。DPI(每英寸点数)将像素尺寸与物理尺寸联系起来。

Physical size (inches) = Pixel width ÷ DPI

物理尺寸(英寸)= 像素宽度 ÷ DPI

Example: an 1800 px wide image at 300 DPI will print at 6 inches wide.

示例:一幅 1800 像素宽、300 DPI 的图像将打印出 6 英寸宽。


9. Boolean Algebra Laws | 布尔代数定律

Logic circuits and expressions can be simplified using Boolean identities. Key laws are listed below.

可以使用布尔恒等式简化逻辑电路和表达式。关键定律如下所示。

Law / 定律AND form / 与形式OR form / 或形式
Identity / 恒等A • 1 = AA + 0 = A
Null / 归零A • 0 = 0A + 1 = 1
Idempotent / 幂等A • A = AA + A = A
Complement / 互补A • ¬A = 0A + ¬A = 1
De Morgan's / 德摩根¬(A • B) = ¬A + ¬B¬(A + B) = ¬A • ¬B

These identities are essential when simplifying circuits or writing efficient code.

在简化电路或编写高效代码时,这些恒等式至关重要。


10. Binary and Hexadecimal Conversions | 二进制与十六进制转换

Understanding how to move between denary, binary, and hexadecimal is a core skill.

理解如何在十进制、二进制和十六进制之间转换是一项核心技能。

Example: 1101 0111₂ → D7₁₆ (13 in decimal is D, 7 is 7).

示例:1101 0111₂ → D7₁₆(13 十进制为 D,7 为 7)。


11. Error Detection: Parity and Checksums | 错误检测:奇偶校验与校验和

Parity checks and checksums help detect errors in transmitted data.

奇偶校验和校验和有助于检测传输数据中的错误。

Even parity: total number of 1s including parity bit is even. Odd parity: total number of 1s is odd.

偶校验:包括校验位在内的 1 的总数为偶数。奇校验:1 的总数为奇数。

Checksum: data is divided into equal‑sized blocks; sum of block values (often modulo 256) is transmitted. Receiver computes sum and compares.

校验和:将数据分成等长的块;传输块值的和(通常模 256)。接收方计算和并比较。

Checksum = (Sum of all bytes) mod 256

校验和 = (所有字节之和)mod 256

Note that a simple checksum cannot correct errors; it only detects some types of corruption.

请注意,简单的校验和无法纠正错误,只能检测某些类型的损坏。


12. Network Speed and Bandwidth | 网络速度与带宽

Bandwidth is the maximum data transfer rate of a network, usually measured in bits per second (bps).

带宽是网络的最大数据传输速率,通常以每秒比特数(bps)计量。

Transfer Rate (bps) = Data transferred (bits) ÷ Time (seconds)

传输速率 (bps) = 传输的数据量(比特)÷ 时间(秒)

High‑frequency questions ask you to compare theoretical bandwidth with real‑world throughput, which is often lower due to protocol overhead and congestion.

高频考题要求比较理论带宽与实际吞吐量,后者因协议开销和拥塞通常较低。

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

广告 / Sponsored
培生爱德思计算机科学学生用书教材Pearson Edexcel International GCSE Computer…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥349.0

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

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao