AS-level CS Pseudocode
Cambridge 9618 pseudocode, from basics to exam questions.
- pseudocode
- 34 Bài học
- Chạy trực tiếp trên trình duyệt của bạn
Trên thiết bị này: 0 trong số 34 bài học đã hoàn thành
Sẵn sàng cho kỳ thi
Đạt từ 80%+ ở lần thử đầu tiên và vượt qua mọi nhiệm vụ cốt lõi.
Đánh giá A · Đánh giá BCác bài học trong khóa học này
Đang hiển thị 35 trong số 35 bài học
Không có bài học nào khớp. Xóa bộ lọc tìm kiếm hoặc chọn bộ lọc khác.
Diagnostic
Foundations
Nền tảng
Foundations
Nền tảng
- Lựa chọn: IF IF … THEN trên một dòng · ELSE là đường đi khác · Toán tử quan hệ · AND, OR và NOT Lesson 5 · 4 nhiệm vụ bắt buộc · ★★
- Lựa chọn: CASE CASE OF chọn một nhánh · Một loạt giá trị, và các nhánh dài hơn Lesson 6 · 3 nhiệm vụ bắt buộc · ★★
- Lặp: FOR FOR đếm · STEP thay đổi bước nhảy Lesson 7 · 3 nhiệm vụ bắt buộc · ★★
- Lặp: WHILE và REPEAT WHILE tests first · REPEAT runs, then tests Lesson 8 · 3 nhiệm vụ bắt buộc · ★★
- Xử lý chuỗi LENGTH, MID và RIGHT · UCASE và LCASE chỉ nhận một ký tự · & nối các chuỗi Lesson 9 · 4 nhiệm vụ bắt buộc · ★★
- Mảng 1 chiều Một danh sách cùng kiểu · Vòng lặp truy cập mọi ô Lesson 10 · 3 nhiệm vụ bắt buộc · ★★
Foundations
Nền tảng
- Hàm con và BYREF CALL thực thi một thủ tục · By value là mặc định · BYREF truyền biến thật Lesson 12 · 3 nhiệm vụ bắt buộc · ★★★
- Hàm số Một hàm trả về một giá trị · Điều gì xảy ra khi bạn gọi hàm · Hàm được dùng bên trong biểu thức · Hàm có thể trả về TRUE hoặc FALSE Lesson 13 · 3 nhiệm vụ bắt buộc · ★★★
Foundations
- Bản ghi (Records) Các kiểu khác nhau dưới cùng một tên · Kiểu là mẫu thiết kế, biến là bản ghi · Một trường được đọc bằng dấu chấm · Mảng các bản ghi Lesson 14 · 4 nhiệm vụ bắt buộc · ★★★
- Tệp văn bản 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 nhiệm vụ bắt buộc · ★★★
Nền tảng
Foundations
- Stacks, queues and linked lists 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 nhiệm vụ bắt buộc · ★★★★
- Built-in functions from the insert A receipt joins a number to text · Check before you convert · ASC and CHR Lesson 18 · 4 nhiệm vụ bắt buộc · ★★
Nền tảng
Giải quyết vấn đề
Solving problems
- Read a scenario and plan an algorithm From a scenario to a contract · Guided, then independent Lesson 20 · 3 nhiệm vụ bắt buộc · ★★★
- Choose loops and validate input Match the loop to the requirement · Separate attempts from accepted items · Test the decisions Lesson 21 · 3 nhiệm vụ bắt buộc · ★★★
- Combine arrays, strings and searches Store only what the problem needs · Transfer the pattern Lesson 22 · 3 nhiệm vụ bắt buộc · ★★★
- 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 nhiệm vụ bắt buộc · ★★★★
- 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 nhiệm vụ bắt buộc · ★★★
- Các phương pháp thử nghiệm 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 nhiệm vụ bắt buộc · ★★★
- Design subroutines and parameter contracts Choose a procedure or function · Review the interfaces Lesson 23 · 3 nhiệm vụ bắt buộc · ★★★
- 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 nhiệm vụ bắt buộc · ★★★
- Trace, diagnose and repair algorithms Trace in execution order · Use a counterexample to find the fault · Distinguish error types Lesson 25 · 3 nhiệm vụ bắt buộc · ★★★
- Refine designs and choose test data Refine before writing statements · Translate a flow into control structures · Test with expected outcomes Lesson 26 · 3 nhiệm vụ bắt buộc · ★★★★
- Dự án Solve a multipart tournament scenario Read every part before coding · Build a checklist · Review without a template Lesson 27 · Dự án · ★★★★
Exam readiness
- Exam workshop: plan, answer and review Plan a multipart answer · Where marks are lost · Marking checklist · Attempt, then compare Lesson 28 · 3 nhiệm vụ bắt buộc · ★★★★
- Independent assessment A: parcel dispatch workshop kỳ thi độc lập Lesson 30 · 4 nhiệm vụ bắt buộc · ★★★★★
- Independent assessment B: equipment inspections workshop kỳ thi độc lập Lesson 31 · 4 nhiệm vụ bắt buộc · ★★★★★
Open the Pseudocode reference
Every topic in one place, with short examples you can run.
Nơi tìm hiểu thêm
- AS pseudocode practice Topic drills and mixed problems with authored hints.
- AS-Level pseudocode reference (this site) Every 9618 rule with runnable examples, in English and Chinese
- Python for A-Level CS (this site) The same ideas, written in Python you can run
- A-Level CS handouts (this site) Programming and data structures for 9618
- Pseudocode IGCSE CS (trang web này) The 0478 rules for 2026–2028 — they are not the same