අන්තර්ගතයට යන්න
mcqdinethlive
SPARK · UNIT 5

Learn the fetch-execute cycle before the OS lesson

The OS lesson feels like a pile of words when the fetch-execute cycle is not clear yet. One learning order makes Unit 5 click, and it matters in Paper II.

සිංහලෙන් කියවන්න

The OS lesson often feels like a pile of new words: process, PCB, context switch, frame, page table. The words are not the problem. The order is. Unit 5 is built on top of Unit 2, and most students meet it before the bottom floor is solid.

Look at what a PCB stores. The Teachers' Guide lists the program counter in it (Teachers' Guide 5.3, page 136) (ගුරු අත්පොත 5.3, පිටුව 147). The Sinhala Guide calls the PCB "ක්‍රියායන පාලන ඛණ්ඩය" and the program counter "වැඩසටහන් ගණකය". That is the same register students met in the fetch-execute cycle (2.3). A context switch saves it so the process can go on from the same place later. Frame sizes are powers of two (Teachers' Guide 5.4, page 141) (ගුරු අත්පොත 5.4, පිටුව 153), so paging needs the binary from Unit 3. Without those, Unit 5 is pure memory work.

So learn it in this order. First the stored program and the fetch-execute cycle. Then the memory hierarchy. Then binary and registers. Only then processes, memory management and files.

It pays off. Every new-syllabus Paper II from 2019 to 2026 had an OS question worth 9 to 15 marks. The full story, from double-click to exit, with the question types and worked examples, is in an Explained post.

මේ Spark එක බෙදාගන්න

A/L ICT කරන යාළුවෙකුට යවන්න.

තවත් Sparks

  1. English

    Layer 2 and Layer 3 switches 101

    A Layer 2 switch forwards frames by MAC address inside one LAN, and a Layer 3 switch also routes packets by IP address between networks. Why both exist, where they work today, and the past paper questions that test them.

  2. English

    Planning an A/L ICT second attempt

    A low 2026 A/L ICT result is a map of gaps, not an end. Six units carry 73.4% of the marks, and every paper for the plan is free on this site.

  3. English

    Sequential search in Python 101

    A sequential search returns inside the loop on a match and gives the not found value only after the loop. 2026 Paper II Q9(c) shows where that line goes.

All Sparks