跳到主要内容
编程入门 — Python, Java, C, SQL & Web

AS-level CS Pseudocode

Cambridge 9618 pseudocode, from basics to exam questions.

  • pseudocode
  • 34 课程
  • 在浏览器中运行

此设备:完成 0 / 34 门课程

开始课程

考试准备

两次首次测评均达到 80%,并通过所有核心题。

测评 A · 测评 B

本课程中的课程

显示 35 / 35 门课程

Diagnostic

  1. Optional entry diagnostic 找到你的起点 Lesson 0 · 可选诊断 · ★

Foundations

  1. 输出与顺序 Pseudocode is the exam's language · OUTPUT shows a value Lesson 1 · 4 项必做任务 · ★

基础

  1. 变量与DECLARE声明 变量保存一个值 · 先 DECLARE,再用箭头 Lesson 2 · 3 项必做任务 · ★
  2. 类型与常量 Six data types · CONSTANT uses = Lesson 3 · 4 项必做任务 · ★

Foundations

  1. 算术运算、DIV 与 MOD 算术运算符 · DIV 和 MOD 写在两个数中间 · INT 去掉小数部分 Lesson 4 · 3 项必做任务 · ★

基础

  1. 选择:IF语句 IF … THEN 写在同一行 · ELSE 是另一条路 · 关系运算符 · AND、OR 与 NOT Lesson 5 · 4 项必做任务 · ★★
  2. 选择:CASE语句 CASE OF 选择一个分支 · 值范围和更长的分支结构 Lesson 6 · 3 项必做任务 · ★★
  3. 迭代:FOR循环 FOR 用来计数 · STEP 改变步长 Lesson 7 · 3 项必做任务 · ★★
  4. 迭代:WHILE和REPEAT WHILE tests first · REPEAT runs, then tests Lesson 8 · 3 项必做任务 · ★★
  5. 字符串处理 LENGTH、MID 与 RIGHT · UCASE 和 LCASE 接收一个字符 · & 用来连接字符串 Lesson 9 · 4 项必做任务 · ★★
  6. 1维数组 同一类型的一列值 · 用循环访问每一个格子 Lesson 10 · 3 项必做任务 · ★★

Foundations

  1. 2-维数组 Rows and columns · One loop inside another Lesson 11 · 3 项必做任务 · ★★★

基础

  1. 过程与 BYREF CALL 运行一个过程 · 默认按值传递 · BYREF 传递真正的变量 Lesson 12 · 3 项必做任务 · ★★★
  2. 函数 函数返回一个值 · 调用函数时会发生什么 · 在表达式中使用函数 · 函数可以返回真或假 Lesson 13 · 3 项必做任务 · ★★★

Foundations

  1. 记录 一个名字下面放不同类型 · 类型是蓝图,变量是记录 · 用点号读取字段 · 记录数组 Lesson 14 · 4 项必做任务 · ★★★
  2. 文本文件 Data that stays after the program ends · The four statements and the three modes · EOF tells you when to stop · Numbers in a file are text Lesson 15 · 4 项必做任务 · ★★★

基础

  1. 线性查找与冒泡排序 查找一个值,然后对列表排序 · 搜索可以提前停止 · 把最大的冒到末尾 · 交换需要三个步骤 Lesson 17 · 3 项必做任务 · ★★★★

Foundations

  1. 栈、队列与链表 Three ways to keep items in order · A stack in an array · A queue in an array · A linked list in two arrays Lesson 29 · 4 项必做任务 · ★★★★
  2. Built-in functions from the insert A receipt joins a number to text · Check before you convert · ASC and CHR Lesson 18 · 4 项必做任务 · ★★

基础

  1. 逻辑:AND、OR 与 NOT 社团要核对年龄的两端 · 任意一天休息 · 并列比较 AND、OR 和 NOT · 把第二个判断嵌进去 Lesson 19 · 4 项必做任务 · ★★

解决问题

  1. 整合 一个程序用上几种结构 · 这门课留给 A2 的内容 Lesson 16 · 3 项必做任务 · ★★★

Solving problems

  1. Read a scenario and plan an algorithm From a scenario to a contract · Guided, then independent Lesson 20 · 3 项必做任务 · ★★★
  2. Choose loops and validate input Match the loop to the requirement · Separate attempts from accepted items · Test the decisions Lesson 21 · 3 项必做任务 · ★★★
  3. Combine arrays, strings and searches Store only what the problem needs · Transfer the pattern Lesson 22 · 3 项必做任务 · ★★★
  4. Insert, delete, split and sort A list that grows and shrinks · Insert into a sorted array · Delete an item · Split a line at its commas Lesson 32 · 4 项必做任务 · ★★★★
  5. Structure charts and module headers A map of the modules · From arrows to a header · The program behind the chart · Watch the BYREF rule Lesson 33 · 4 项必做任务 · ★★★
  6. 测试方法 How do you know it works? · Stub testing: test before everything is written · White-box: a test for every path · Black-box: inputs and outputs only Lesson 34 · 3 项必做任务 · ★★★
  7. Design subroutines and parameter contracts Choose a procedure or function · Review the interfaces Lesson 23 · 3 项必做任务 · ★★★
  8. Build reports from records and text files Choose a record for related fields · Read files without losing the final line · Explain your choices Lesson 24 · 3 项必做任务 · ★★★
  9. Trace, diagnose and repair algorithms Trace in execution order · Use a counterexample to find the fault · Distinguish error types Lesson 25 · 3 项必做任务 · ★★★
  10. Refine designs and choose test data Refine before writing statements · Translate a flow into control structures · Test with expected outcomes Lesson 26 · 3 项必做任务 · ★★★★
  11. 项目 Solve a multipart tournament scenario Read every part before coding · Build a checklist · Review without a template Lesson 27 · 项目 · ★★★★

Exam readiness

  1. Exam workshop: plan, answer and review Plan a multipart answer · Where marks are lost · Marking checklist · Attempt, then compare Lesson 28 · 3 项必做任务 · ★★★★
  2. Independent assessment A: parcel dispatch 独立考试工作坊 Lesson 30 · 4 项必做任务 · ★★★★★
  3. Independent assessment B: equipment inspections 独立考试工作坊 Lesson 31 · 4 项必做任务 · ★★★★★
Open the Pseudocode reference Every topic in one place, with short examples you can run.

深入学习入口

登录或创建账户

IGCSE, A-Level & AP