Programming concepts

35 min · 6 IGCSE exam questions

Syllabus: Cambridge IGCSE Computer Science 0478 (2026–2028), topic 8.1 Programming concepts.

Learning objectives. By the end of this lesson you should be able to declare and use variables and constants of the five basic data types, use input and output, use sequence, selection, iteration, totalling, counting and string handling, use arithmetic, relational and logical operators, write nested statements, define and call procedures and functions with parameters, explain local and global variables, use the library routines MOD, DIV, ROUND and RANDOM, and write a program that is easy to maintain.

In this lesson

  • From algorithm to program
  • The five basic constructs
  • Variables and constants
  • Basic data types
  • Input and output
  • Sequence
  • Selection: IF and CASE
  • Iteration: three kinds of loop
  • Totalling and counting
  • String handling
  • Arithmetic, relational and logical operators
  • Nested statements
  • Procedures and functions
  • Local and global variables
  • Library routines
  • Creating a maintainable program
  • Practice
  • Revision checklist