26/09/2026
π₯ Master GCE A/L ICT Unit 9: Algorithms & Python! π₯
This is one of the most critical, high-weightage units for your exam! It bridges the gap between pure logic and real software. π
π Syllabus Breakdown & Must-Know Tips π
------------------------------
π§ Phase 1: Algorithm Design
Before you code, you must master logic mapping:
β’ π Flowcharts: ISO symbols (Oval = Terminal, Parallelogram = I/O, Rectangle = Process, Diamond = Decision).
β’ π Pseudo-code: Language-independent text logic using IF-THEN-ELSE, WHILE, and REPEAT-UNTIL.
------------------------------
π Phase 2: Python Fundamentals
Python is an imperative & OOP multi-paradigm language interpreted line-by-line.
π‘ Core Areas to Focus On:
β’ Basic Syntax: Data types (int, float, string, boolean) & operators. (Tested in MCQs)
β’ Control Structures: Sequence, Selection (if-elif-else), and Iteration (while/for loops). (Crucial for Paper II)
β’ Data Structures: Lists (mutable []), Tuples (immutable ()), and Dictionaries ({}). (Great for index tracking & matrices)
β’ Functions: def, parameters, and variable scope (local vs. global).
β’ File Handling: open(), read(), write(), close(). (Highly predictable in Paper II Part B!)
β’ OOP Basics: Classes, Objects, and Inheritance. (MCQ syntax questions)
------------------------------
π» Code Snippets to Memorize:
1οΈβ£ Grading System (Selection):
marks = int(input("Enter marks: "))if marks >= 75:
grade = "A"elif marks >= 65:
grade = "B"else:
grade = "C"
print("Grade:", grade)
2οΈβ£ Loops (Iteration - range is exclusive!):
# Prints even numbers: 2, 4, 6, 8, 10for i in range(2, 11, 2):
print(i)
3οΈβ£ File Handling (Reading):
with open("student_records.txt", "r") as file:
for line in file:
print(line.strip())
------------------------------
π Top 3 Exam Survival Tips:
π Watch Indentation: Python uses whitespace, not curly braces {}! One wrong space = IndentationError.
π Trace Loops Manually: Draw trace tables for Paper I to avoid off-by-one errors in nested loops.
π Mutable vs. Immutable: Lists can change, Tuples CANNOT. Examiners love testing this!
------------------------------
π¬ Drop a comment