IGCSE CS Pseudocode
Write and run the pseudocode in the Cambridge IGCSE 0478 syllabus for 2026, 2027 and 2028.
- pseudocode
- 23 Lessons
- 14 videos
- Runs in your browser
On this device: 0 of 23 lessons completed
Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English.
Lessons in this course
23 of 23 lessons shown
No lessons match. Clear the search or choose another filter.
- OUTPUT and sequence Pseudocode is the exam's language · OUTPUT shows text · OUTPUT can join items Lesson 1 · 3 required tasks · ★ Video
- Variables, DECLARE and CONSTANT A variable stores a value · DECLARE names the type · You can change a variable · A constant does not change Lesson 2 · 4 required tasks · ★ Video
- INPUT and data types INPUT reads what the user types · DECLARE the type so numbers work · The five data types Lesson 3 · 3 required tasks · ★ Video
- Arithmetic, DIV and MOD Arithmetic operators · ^ raises to a power · DIV: whole-number division · MOD: the remainder Lesson 4 · 4 required tasks · ★ Video
- Selection: IF IF makes a decision · IF ... ELSE · Comparison operators Lesson 5 · 3 required tasks · ★★ Video
- Selection: CASE CASE chooses among values · OTHERWISE catches the rest Lesson 6 · 3 required tasks · ★★ Video
- Iteration: FOR FOR repeats a fixed number of times · A running total · STEP changes the count Lesson 7 · 3 required tasks · ★★ Video
- Iteration: WHILE and REPEAT WHILE tests before each pass · REPEAT tests after each pass Lesson 8 · 3 required tasks · ★★ Video
- String handling LENGTH counts characters · UCASE and LCASE change case · SUBSTRING takes part of a string · Printing several values Lesson 9 · 3 required tasks · ★★ Video
- 1-D arrays DECLARE an array · The declaration sets the index bounds · Loop through an array Lesson 10 · 4 required tasks · ★★ Video
- 2-D arrays A 2-D array is a grid · Two indexes: row, column · Nested FOR over a grid Lesson 11 · 3 required tasks · ★★★ Video
- Procedures A PROCEDURE is a named block · Parameters pass data in · A parameter is a copy · Local and global Lesson 12 · 4 required tasks · ★★★ Video
- Functions A FUNCTION returns a value · Use the returned value · A function can return a Boolean Lesson 13 · 3 required tasks · ★★★ Video
- Putting it together Searching and counting Lesson 14 · 3 required tasks · ★★★ Video
- Text files A file keeps data after the program stops · READ and WRITE · Read every line Lesson 15 · 3 required tasks · ★★★
- Logic: AND, OR, NOT A room that stays comfortable · OR: either test is enough · NOT flips a Boolean Lesson 16 · 3 required tasks · ★★
- Nested decisions One speed, three outcomes · Count the marks that count Lesson 17 · 3 required tasks · ★★★
- ROUND, RANDOM and a trace A shop rounds a price · A dice uses RANDOM · Fill a trace table Lesson 18 · 3 required tasks · ★★★
- Bubble sort Put the smallest height first · Repeat the pass · Stop when nothing swaps Lesson 19 · 3 required tasks · ★★★★
- Validation and test data Check the data before you use it · Ask again until the input is valid · Length, presence and type checks · Choose test data Lesson 20 · 3 required tasks · ★★★
- Standard methods Four methods the exam keeps asking for · A rogue value ends the input · Highest and lowest in one loop · A search that stops early Lesson 21 · 4 required tasks · ★★★
- The 15-mark scenario The last question on Paper 2 · Plan before you write · Where the marks are Lesson 22 · 3 required tasks · ★★★★
- Find and fix the errors "Identify the errors and correct them" · A method that finds them · Four errors in one algorithm · The corrected algorithm Lesson 23 · 4 required tasks · ★★★
Open the Pseudocode reference
Every topic in one place, with short examples you can run.
Where to learn more
- IGCSE pseudocode practice (this site) Finished the course? Topic drills and mixed problems with hints
- Pseudocode handout (this site) The 0478 appendix for 2026–2028, with every example runnable
- Python for IGCSE CS (this site) The same ideas, written in Python you can run
- IGCSE CS handouts (this site) Algorithm design and programming theory
- AS-level CS Pseudocode (this site) The 9618 guide, for the AS paper — different rules