Skip to content

Cambridge International · IGCSE · 0478 · 2026-2028

8.1 Programming concepts

Topic 8.1 of the Cambridge IGCSE Computer Science (0478) syllabus for 2026-2028, in 8 Programming. The syllabus lists 37 things you need to be able to do. Use them as your revision checklist.

What the syllabus asks you to do

  1. Declare and use variables and constants

  2. Understand and use basic data types

    Syllabus notes: Including: integer; real; char; string; Boolean

  3. Understand and use input and output

  4. Understand and use the concept of sequence

  5. Understand and use the concept of selection

    Syllabus notes: Including: IF statements; CASE statements

  6. Understand and use the concept of iteration

    Syllabus notes: Including: count-controlled loops; pre-condition loops; post-condition loops

  7. Understand and use the concepts of totalling and counting

  8. Understand and use the concept of string handling

    Syllabus notes: Including: length; substring; upper; lower. The first character of the string can be position zero or one

  9. Understand and use arithmetic, relational and logical operators

    Syllabus notes: Arithmetic, limited to: +; –; /; *; ^ (raised to power of); MOD; DIV. Relational, limited to: =; <; <=; >; >=; <> (not equal to). Logical, limited to: AND; OR; NOT

  10. Understand and use nested statements

    Syllabus notes: Including nested selection and iteration. Candidates will not be required to write more than three levels of nested statements

  11. Understand what is meant by procedures, functions and parameters

    Syllabus notes: Procedures and functions may have up to three parameters

  12. Define and use procedures and functions, with or without parameters

  13. Understand and use local and global variables

  14. Understand and use library routines

    Syllabus notes: Including: MOD; DIV; ROUND; RANDOM

  15. Understand how to create a maintainable program

    Syllabus notes: Including appropriate use of: meaningful identifiers; the commenting feature provided by the programming language; procedures and functions; relevant and appropriate commenting of syntax. Use meaningful identifiers for: variables; constants; arrays; procedures and functions

  16. 8.1.3Values are input using the INPUT command as follows: INPUT <identifier>

    Syllabus notes: The identifier should be a variable (that may be an individual element of a data structure, such as an array).

  17. 8.1.3Values are output using the OUTPUT command as follows: OUTPUT <value(s)>

    Syllabus notes: Several values, separated by commas, can be output using the same command.

  18. 8.1.4 (f)Standard arithmetic operator symbols are used: + addition, subtraction * multiplication / division ^ raised to the power of

  19. 8.1.4 (f)The integer division operators MOD and DIV can also be used.

    Syllabus notes: DIV(<identifier1>, <identifier2>) Returns the quotient of identifier1 divided by identifier2 with the fractional part discarded. MOD(<identifier1>, <identifier2>) Returns the remainder of identifier1 divided by identifier2. The identifiers are of data type integer.

  20. 8.1.4 (f)The following symbols are used for relational operations: = equal to < less than <= less than or equal to > greater than >= greater than or equal to <> not equal to

    Syllabus notes: The result of these operators is always of data type BOOLEAN.

  21. 8.1.4 (f)The only logical operations used are AND, OR and NOT.

    Syllabus notes: The operands and results of these operations are always of data type BOOLEAN.

  22. 8.1.4 (e)LENGTH(<identifier>) Returns the integer value representing the length of string.

    Syllabus notes: The identifier should be of data type string.

  23. 8.1.4 (e)LCASE(<identifier>) Returns the string/character with all characters in lower case.

    Syllabus notes: The identifier should be of data type string or char.

  24. 8.1.4 (e)UCASE(<identifier>) Returns the string/character with all characters in upper case.

    Syllabus notes: The identifier should be of data type string or char.

  25. 8.1.4 (e)SUBSTRING(<identifier>, <start>, <length>) Returns a string of length length starting at position start.

    Syllabus notes: The identifier should be of data type string, length and start should be positive, and data type integer. Generally, a start position of 1 is the first character in the string.

  26. 8.1.7ROUND(<identifier> or <expression>, <places>) Returns the value of the identifier or the result of an expression rounded to places number of decimal places.

    Syllabus notes: The identifier should be of data type real; places should be data type integer.

  27. 8.1.7RANDOM() Returns a random number between 0 and 1 inclusive.

  28. 8.1.4 (b) and 8.1.5IF statements may or may not have an ELSE clause.

    Syllabus notes: IF statements without an ELSE clause are written as follows: IF <condition> THEN <statements> ENDIF. IF statements with an ELSE clause are written as follows: IF <condition> THEN <statements> ELSE <statements> ENDIF. Note that the THEN and ELSE clauses are only indented by two spaces. When IF statements are nested, the nesting should continue the indentation of two spaces.

  29. 8.1.4 (b)CASE statements allow one out of several branches of code to be executed, depending on the value of a variable.

    Syllabus notes: An OTHERWISE clause can be the last case. Each case clause is indented by two spaces. The case clauses are tested in sequence. If present, an OTHERWISE clause must be the last case.

  30. 8.1.4 (c)Count-controlled loops are written as follows: FOR <identifier> ← <value1> TO <value2> <statements> NEXT <identifier>

    Syllabus notes: The identifier must be a variable of data type INTEGER, and the values should be expressions that evaluate to integers.

  31. 8.1.4 (c)An increment can be specified as follows: FOR <identifier> ← <value1> TO <value2> STEP <increment> <statements> NEXT <identifier>

    Syllabus notes: The increment must be an expression that evaluates to an integer. The increment can be negative.

  32. 8.1.4 (c)Post-condition loops are written as follows: REPEAT <statements> UNTIL <condition>

    Syllabus notes: The condition must be an expression that evaluates to a Boolean. The statements in the loop will be executed at least once.

  33. 8.1.4 (c)Pre-condition loops are written as follows: WHILE <condition> DO <statements> ENDWHILE

    Syllabus notes: The condition must be an expression that evaluates to a Boolean. The statements will not be executed if, on the first test, the condition evaluates to FALSE.

  34. 8.1.6 (b)A procedure with no parameters is defined as follows: PROCEDURE <identifier> <statements> ENDPROCEDURE

  35. 8.1.6 (b)A procedure with parameters is defined as follows: PROCEDURE <identifier>(<param1>:<datatype>, <param2>:<datatype>...) <statements> ENDPROCEDURE

    Syllabus notes: The <identifier> is the identifier used to call the procedure. Where used, param1, param2, etc. are identifiers for the parameters of the procedure. These will be used as variables in the statements of the procedure.

  36. 8.1.6 (b)Procedures should be called as follows: CALL <identifier> CALL <identifier>(Value1,Value2...)

    Syllabus notes: These calls are complete program statements. When parameters are used, Value1, Value2.. must be of the correct data type as in the definition of the procedure.

  37. 8.1.6Defining and calling functions

    Syllabus notes: Functions operate in a similar way to procedures, except that in addition they return a single value to the point at which they are called. Their definition includes the data type of the value returned.

Syllabus points and notes are quoted from the Cambridge International Cambridge IGCSE Computer Science (0478) syllabus (2026-2028) for study purposes, each one checked word for word against the official document. TutorAura is not endorsed by Cambridge International.

How 0478 is examined

Cambridge IGCSE Computer Science (0478) exam papers
PaperTimeMarksWeighting
Paper 1 Computer Systems no calculator1 hour 45 minutes7550%
Paper 2 Algorithms, Programming and Logic no calculator1 hour 45 minutes7550%

Which paper tests which topic isn't fixed: any topic in your tier can come up on any of your papers.

Revise 8.1 with a tutor that knows your syllabusThe TutorAura AI tutor teaches to these exact 0478 syllabus points, explains each mistake one step at a time and sets exam-style questions. Free for 3 days, then free practice every day.

Start free

Study 0478 with an AI tutor

It teaches to your official syllabus, explains every mistake one step at a time and sets exam-style questions. Free for 3 days, no card needed.

Start free trial