ข้ามไปยังเนื้อหา
เรียนรู้การเขียนโค้ด — 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. ประเภทและค่าคงที่ ชนิดข้อมูลหกชนิด · CONSTANT ใช้ = Lesson 3 · งานที่ต้องทำ 4 รายการ · ★

Foundations

  1. การคำนวณทางคณิตศาสตร์, DIV และ MOD ตัวดำเนินการทางคณิตศาสตร์ · DIV และ MOD วางอยู่ระหว่างตัวเลข · INT ตัดส่วนทศนิยมออก Lesson 4 · งานที่ต้องทำ 3 รายการ · ★

พื้นฐาน

  1. การเลือก: IF IF … THEN บนบรรทัดเดียว · ELSE เป็นเส้นทางอื่น · Relational operators · 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-D arrays Rows and columns · One loop inside another Lesson 11 · งานที่ต้องทำ 3 รายการ · ★★★

พื้นฐาน

  1. Procedures and BYREF CALL ทำงาน procedure · By value เป็นค่าเริ่มต้น · BYREF ส่งตัวแปรจริง Lesson 12 · งานที่ต้องทำ 3 รายการ · ★★★
  2. ฟังก์ชัน Function ส่งคืนค่าหนึ่งค่า · เกิดอะไรขึ้นเมื่อเรียกใช้ · ฟังก์ชันที่ใช้ภายในนิพจน์ · ฟังก์ชันสามารถคืนค่า TRUE หรือ FALSE Lesson 13 · งานที่ต้องทำ 3 รายการ · ★★★

Foundations

  1. Records ชนิดต่างกันภายใต้ชื่อเดียว · ชนิดคือแบบแผน ตัวแปรคือระเบียน · Field อ่านด้วยจุด · อาร์เรย์ของระเบียน Lesson 14 · งานที่ต้องทำ 4 รายการ · ★★★
  2. ไฟล์ข้อความ (Text files) 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. Linear search and bubble sort หาค่าหนึ่งค่า แล้วเรียงลำดับรายการ · การค้นหาสามารถหยุดก่อนกำหนดได้ · ดันค่าที่ใหญ่ที่สุดไปท้ายรายการ · การสลับค่าต้องใช้สามขั้นตอน Lesson 17 · งานที่ต้องทำ 3 รายการ · ★★★★

Foundations

  1. 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 รายการ · ★★★★
  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. Logic: 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