Study Guide

Unit Overview

Programming

CIE A-Level Computer ScienceΒ· 5 min read πŸ“Š n/a

1. Unit at a glance

This unit builds incrementally from basic programming building blocks up to full multi-paradigm programming concepts. You will start with core syntax and fundamentals, then gradually add more complex constructs for controlling program flow, reusing code, storing data persistently, and working with different programming approaches.

The learning path follows a logical sequence: each sub-topic builds on skills from the previous one, so we recommend working through them in order. By the end of the unit, you will have all the core programming knowledge needed for Papers 2 and 4 of your CIE 9618 exam.

2. Common Pitfalls

Wrong move:

Confusing pass by value and pass by reference

Why:

This leads to unexpected changes to variable values that break program logic and cost exam marks

Correct move:

Always explicitly confirm which parameter passing method is required, and test changes to input values

Wrong move:

Forgetting to close files after read/write operations

Why:

This causes resource leaks and can lead to corrupted file data in running programs

Correct move:

Use structured handling patterns to guarantee files are closed after all operations complete

Wrong move:

Mixing up core characteristics of different programming paradigms

Why:

CIE 9618 regularly asks comparison questions, so mixing features leads to lost marks

Correct move:

Maintain a comparison table of key features for each paradigm for quick revision reference

3. Quick Reference Cheatsheet

Concept

Key Description

Variable

Named memory location that stores data of a specified type, can be modified after declaration

Pass by Value

A copy of the parameter value is passed to the subroutine; the original value remains unchanged

Pass by Reference

A memory address reference of the parameter is passed; the original value can be modified

Encapsulation

OOP principle that binds data and methods together, restricting access to internal implementation details

Inheritance

OOP principle where a new class inherits attributes and methods from an existing parent class

Declarative Programming

Paradigm where you describe what result you want, not step-by-step how to achieve it

What's Next

To start this unit, begin with the first sub-topic on programming fundamentals, then work through each sub-topic in order to build your skills incrementally. Once you complete all sub-topics in this unit, you can move on to the next unit covering software development.