© 2026 schoolict.net (Ruwan Mangala Suraweera)
Lesson 5 A/L Exam Practice: Questions and Answersපාඩම 5 A/L විභාග පුහුණුව: ප්රශ්න සහ පිළිතුරු
Grade 12 A/L ICT · Lesson 512 ශ්රේණිය A/L ICT · පාඩම 5
Paper I MCQPaper I බහුවරණ
This practice paper assesses Lesson 5: Computer Operating System (syllabus competency 5). Paper I has 30 five-option MCQs. Paper II Part A has four structured questions; Part B has three essays. Marking points are shown in brackets.මෙම පුහුණු පත්රය පාඩම 5: පරිගණක මෙහෙයුම් පද්ධතිය (විෂය නිර්දේශ නිපුණතාව 5) ඇගයීමටය. Paper I හි විකල්ප පහේ MCQ 30 ක් ඇත. Paper II A කොටසේ ව්යුහගත ප්රශ්න හතරක්ද; B කොටසේ රචනා තුනක්ද ඇත. ලකුණු කරුණු වරහන් තුළ පෙන්වා ඇත.
Choose one answer for each question. The explanation appears after you answer. Time guide: about 45 minutes (1½ minutes each).සෑම ප්රශ්නයකටම එක් පිළිතුරක් තෝරන්න. පිළිතුරු දුන් පසු පැහැදිලි කිරීම පෙන්වයි. කාල මාර්ගෝපදේශය: විනාඩි 45 පමණ (එකකට විනාඩි 1½).
1An operating system is best described asමෙහෙයුම් පද්ධතියක් හොඳින් විස්තර කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
OS sits between apps and hardware.OS යෙදුම් සහ දෘඪාංග අතර සිටී.
2Which is an OS function?OS කාර්යයක් වන්නේ?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Process, memory, file and device management.ක්රියාවලි, මතක, ගොනු සහ උපාංග කළමනාකරණය.
3GUI meansGUI යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Windows, icons, menus, pointers.කවුළු, අයිකන, මෙනු, පොයින්ටර්.
4A multi-user OS allowsබහු-පරිශීලක OS එකක් ඉඩ දෙන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Accounts and shared resources.ගිණුම් සහ බෙදාගත් සම්පත්.
5A real-time OS is critical whenතත්ය කාලීන OS තීරණාත්මක වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Hard deadlines.දැඩි කාලසීමා.
6CLI stands forCLI යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Typed commands.ටයිප් කළ විධාන.
7Firmware is closest toFirmware ආසන්නතම වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
BIOS/UEFI style.BIOS/UEFI වැනි.
8Time-sharing mainly aims toකාල බෙදාගැනීමේ ප්රධාන අරමුණ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Interactive sharing.අන්තර්ක්රියාත්මක බෙදාගැනීම.
9A directory is best described asඩිරෙක්ටරියක් හොඳින් විස්තර කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Folders in a hierarchy.ධුරාවලියේ ෆෝල්ඩර.
10Contiguous allocation stores a file inඅනුයාත වෙන් කිරීමෙන් ගොනුවක් ගබඩා කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Start + length.ආරම්භය + දිග.
11Indexed allocation usesදර්ශක වෙන් කිරීම භාවිත කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Index lists block numbers.දර්ශකය කොටස් අංක ලැයිස්තුගත කරයි.
12Defragmentation mainlyවිඛණ්ඩනය ඉවත් කිරීම ප්රධාන වශයෙන්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Improves sequential read.අනුක්රමික කියවීම වැඩි දියුණු කරයි.
13Formatting a disk usuallyතැටියක් ආකෘතිකරණය සාමාන්යයෙන්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Creates FAT/inode layout.FAT/inode සැකැස්ම සාදයි.
14Linked allocation stores each block’sසබැඳි වෙන් කිරීම එක් එක් කොටසේ ගබඩා කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Chain of blocks.කොටස් දාමය.
15In the contiguous example (A=2,B=3,C=1 on 10 blocks), free blocks left areඅනුයාත උදාහරණයේ (A=2,B=3,C=1 කොටස් 10 මත) ඉතිරි නිදහස් කොටස්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
10−(2+3+1)=4.10−(2+3+1)=4.
16A process isක්රියාවලියක් යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Running instance.ධාවන අවස්ථාව.
17PCB stands forPCB යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Holds state, registers, ID.තත්ත්වය, රෙජිස්තර, ID තබයි.
18Context switching meansසන්දර්භ මාරුව යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Scheduler swaps CPU.කාර්ය සටහන්කරු CPU මාරු කරයි.
19FCFS schedules byFCFS කාර්ය සටහන්ගත කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Non-preemptive queue order.නොපෙරළන පෝලිම් අනුපිළිවෙල.
20For the FCFS jobs in the notes, average waiting time isසටහන්වල FCFS රැකියා සඳහා සාමාන්ය රැඳී කාලය
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
(0+4+6+13)/4 = 5.75.(0+4+6+13)/4 = 5.75.
21SJF prefersSJF මනාප දක්වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Shortest Job First.කෙටිම රැකියාව පළමුව.
22For the SJF jobs in the notes, average waiting time isසටහන්වල SJF රැකියා සඳහා සාමාන්ය රැඳී කාලය
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
(0+3+6+7)/4 = 4.(0+3+6+7)/4 = 4.
23Throughput of 20 jobs in 10 s isතත්පර 10 ක රැකියා 20 ක throughput
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
20/10 = 2.20/10 = 2.
24The MMU mainlyMMU ප්රධාන වශයෙන්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Memory Management Unit.මතක කළමනාකරණ ඒකකය.
25Virtual memory lets a processඅතථ්ය මතකය ක්රියාවලියකට ඉඩ දෙන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
RAM + swap/page file.RAM + swap/page file.
26Logical address 3500 with 1 KB pages → page, offset1 KB පිටු සහිත තාර්කික ලිපිනය 3500 → පිටුව, offset
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
3500//1024=3, 3500%1024=428.3500//1024=3, 3500%1024=428.
27If page 3 maps to frame 5, physical address isපිටුව 3 රාමුව 5 ට සිතියම්ගත නම් භෞතික ලිපිනය
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
5×1024+428=5548.5×1024+428=5548.
28A device driver isඋපාංග ධාවකයක් යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Printer, disk, NIC drivers.මුද්රක, තැටි, NIC ධාවක.
29Spooling is useful becauseSpooling ප්රයෝජනවත් වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Simultaneous Peripheral Operations On-Line.මන්දගාමී උපාංග සඳහා පෝලිම.
30With 16-bit logical addresses and 1 KB pages, page-number bits areබිටු 16 තාර්කික ලිපින සහ 1 KB පිටු සමඟ පිටු-අංක බිටු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
16−10=6 → 64 pages.16−10=6 → පිටු 64.
Paper II Part APaper II A කොටස
Part A: answer all four questions. Marks for each part are shown in brackets. Try first, then open the model answer.A කොටස: ප්රශ්න හතරටම පිළිතුරු දෙන්න. එක් එක් කොටසේ ලකුණු වරහන් තුළ ඇත. මුලින් උත්සාහ කර පසුව ආදර්ශ පිළිතුර විවෘත කරන්න.
1Operating system need and typesමෙහෙයුම් පද්ධති අවශ්යතාව සහ වර්ග (8 marksලකුණු 8)
- (i) Define an operating system and name three of its main functions.මෙහෙයුම් පද්ධතියක් අර්ථ දක්වා එහි ප්රධාන කාර්යයන් තුනක් නම් කරන්න. (3 marksලකුණු 3)
- (ii) Distinguish multi-user and multi-tasking OS. Give one real-time example.බහු-පරිශීලක සහ බහු-කාර්ය OS වෙන්කර හඳුනාගෙන තත්ය කාලීන උදාහරණයක් දෙන්න. (3 marksලකුණු 3)
- (iii) Compare CLI and GUI in one clear point each.CLI සහ GUI එක් එක් පැහැදිලි කරුණකින් සංසන්දනය කරන්න. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (3 marksලකුණු 3)
System software managing resources / hardware–software bridge (1); any three of: process, memory, file, device, security, user interface (2).සම්පත් / දෘඪාංග–මෘදුකාංග පාලම කළමනාකරණය කරන පද්ධති මෘදුකාංග (1); ක්රියාවලි, මතක, ගොනු, උපාංග, ආරක්ෂාව, අතුරුමුහුණත යනාදියෙන් තුනක් (2).
(ii) (3 marksලකුණු 3)
Multi-user: many people/accounts (1); multi-tasking: many programs at once (1); e.g. airbag / ABS / industrial controller (1).බහු-පරිශීලක: බොහෝ අය/ගිණුම් (1); බහු-කාර්ය: එකවර බොහෝ වැඩසටහන් (1); උදා: airbag / ABS (1).
(iii) (2 marksලකුණු 2)
CLI: typed commands / scriptable (1); GUI: icons/windows / easier for beginners (1).CLI: ටයිප් විධාන / ස්ක්රිප්ට් (1); GUI: අයිකන/කවුළු / ආරම්භකයින්ට පහසු (1).
2Files, directories and allocationගොනු, ඩිරෙක්ටරි සහ වෙන් කිරීම (8 marksලකුණු 8)
- (i) Explain directory hierarchy with root and path idea.මූලය සහ මාර්ග අදහස සමඟ ඩිරෙක්ටරි ධුරාවලිය පැහැදිලි කරන්න. (2 marksලකුණු 2)
- (ii) Compare contiguous, linked and indexed allocation (one strength each).අනුයාත, සබැඳි සහ දර්ශක වෙන් කිරීම සංසන්දනය කරන්න (එක් එක් ශක්තියක්). (3 marksලකුණු 3)
- (iii) A disk has 10 blocks. Files A=2, B=3, C=1 use contiguous allocation from block 0. State the ranges and free count. Also state total blocks for a 5-data-block indexed file (one-level).තැටියක කොටස් 10 කි. A=2, B=3, C=1 අනුයාතව 0 සිට. පරාස සහ නිදහස් ගණන කියන්න. දත්ත කොටස් 5 ක දර්ශක ගොනුවක මුළු කොටස්ද (එක් මට්ටමක්). (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (2 marksලකුණු 2)
Tree of folders from a root (1); path names locate a file (1).මූලයකින් ආරම්භ වන ෆෝල්ඩර ගස (1); මාර්ග නාම ගොනුවක් සොයයි (1).
(ii) (3 marksලකුණු 3)
Contiguous: fast sequential / simple (1); linked: no large hole needed (1); indexed: direct access via index (1).අනුයාත: වේගවත් අනුක්රමික / සරල (1); සබැඳි: විශාල සිදුරක් අවශ්ය නැත (1); දර්ශක: දර්ශකයෙන් සෘජු ප්රවේශය (1).
(iii) (3 marksලකුණු 3)
A 0–1, B 2–4, C 5–5 (1); free 4 (1); indexed total 1+5=6 (1).A 0–1, B 2–4, C 5–5 (1); නිදහස් 4 (1); දර්ශක මුළු 1+5=6 (1).
3Processes and schedulingක්රියාවලි සහ කාර්ය සටහන්ගත කිරීම (8 marksලකුණු 8)
- (i) Define process and PCB. Name three fields kept in a PCB.ක්රියාවලිය සහ PCB අර්ථ දක්වා PCB එකක තබන ක්ෂේත්ර තුනක් නම් කරන්න. (3 marksලකුණු 3)
- (ii) Explain context switching and why the short-term scheduler matters.සන්දර්භ මාරුව සහ කෙටි-කාලීන කාර්ය සටහන්කරු වැදගත් වන්නේ ඇයිදැයි පැහැදිලි කරන්න. (2 marksලකුණු 2)
- (iii) Using FCFS on P1(0,5), P2(1,3), P3(2,8), P4(3,6), find each waiting time and the average. Then give the SJF average for the notes’ SJF set.FCFS මත P1(0,5), P2(1,3), P3(2,8), P4(3,6) සඳහා එක් එක් රැඳී කාලය සහ සාමාන්යය සොයන්න. පසුව සටහන්වල SJF කට්ටලයේ සාමාන්යය දෙන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (3 marksලකුණු 3)
Process = program in execution (1); PCB = Process Control Block (1); e.g. PID, state, registers, PC, memory limits, open files (1 for any three).ක්රියාවලිය = ධාවනය වන වැඩසටහන (1); PCB = Process Control Block (1); උදා: PID, තත්ත්වය, රෙජිස්තර, PC (1).
(ii) (2 marksලකුණු 2)
Save/restore PCB so another process runs (1); short-term picks who gets the CPU next (1).අනෙක් ක්රියාවලිය ධාවනයට PCB සුරකිනු/ප්රතිස්ථාපනය (1); කෙටි-කාලීන ඊළඟ CPU තෝරයි (1).
(iii) (3 marksලකුණු 3)
Waits 0,4,6,13 (1); avg 5.75 ms (1); SJF avg 4.0 ms (1).රැඳී 0,4,6,13 (1); සාමාන්ය 5.75 ms (1); SJF සාමාන්ය 4.0 ms (1).
4Memory, paging and I/Oමතකය, පිටුගත කිරීම සහ I/O (8 marksලකුණු 8)
- (i) Explain MMU and virtual memory in two sentences.MMU සහ අතථ්ය මතකය වාක්ය දෙකකින් පැහැදිලි කරන්න. (2 marksලකුණු 2)
- (ii) Page size = 1024 B. For logical address 3500, find page number and offset. If the page is in frame 5, find the physical address.පිටු ප්රමාණය = 1024 B. තාර්කික ලිපිනය 3500 සඳහා පිටු අංකය සහ offset සොයන්න. පිටුව රාමුව 5 හි නම් භෞතික ලිපිනය සොයන්න. (4 marksලකුණු 4)
- (iii) Define device driver and spooling with one benefit of spooling.උපාංග ධාවකය සහ spooling අර්ථ දක්වා spooling හි එක් ප්රතිලාභයක් දෙන්න. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (2 marksලකුණු 2)
MMU maps logical→physical (1); virtual memory uses disk so address space can exceed RAM (1).MMU තාර්කික→භෞතික සිතියම්ගත කරයි (1); අතථ්ය මතකය තැටිය භාවිතයෙන් ලිපින අවකාශය RAM ඉක්මවයි (1).
(ii) (4 marksලකුණු 4)
page = 3500//1024 = 3 (1); offset = 428 (1); PA = 5×1024+428 = 5548 (2).පිටුව = 3 (1); offset = 428 (1); PA = 5548 (2).
(iii) (2 marksලකුණු 2)
Driver = software interface to a device (1); spooling queues jobs on disk so CPU/work continues while device is slow (1).ධාවකය = උපාංගයට මෘදුකාංග අතුරුමුහුණත (1); spooling තැටියේ පෝලිම් කර මන්දගාමී උපාංගය අතරේ වැඩ ඉදිරියට යයි (1).
Paper II Part BPaper II B කොටස
Part B: essay questions. Write full answers in paragraphs. Marks for each part are shown in brackets.B කොටස: රචනා ප්රශ්න. ඡේද ලෙස සම්පූර්ණ පිළිතුරු ලියන්න. එක් එක් කොටසේ ලකුණු වරහන් තුළ ඇත.
1Role of the operating systemමෙහෙයුම් පද්ධතියේ කාර්යභාරය (10 marksලකුණු 10)
- (i) Explain why a computer needs an OS. Include at least four managed resources.පරිගණකයකට OS අවශ්ය වන්නේ ඇයිදැයි පැහැදිලි කරන්න. කළමනාකරණය කරන සම්පත් අවම වශයෙන් හතරක් ඇතුළත් කරන්න. (4 marksලකුණු 4)
- (ii) Classify OS by number of users and by number of tasks, with one example each.පරිශීලක ගණන සහ කාර්ය ගණන අනුව OS වර්ගීකරණය කර එක් එක් උදාහරණයක් දෙන්න. (3 marksලකුණු 3)
- (iii) Describe CLI and GUI and when each is useful in a Sri Lankan school computer lab.CLI සහ GUI විස්තර කර ශ්රී ලාංකීය පාසල් පරිගණක රසායනාගාරයක එක් එක්ක ප්රයෝජනවත් වන විට කියන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (4 marksලකුණු 4)
Hides hardware complexity / fair sharing / safety (1); CPU, memory, files/disk, devices/I/O, users/security (3 for four items).දෘඪාංග සංකීර්ණත්වය සඟවයි / සාධාරණ බෙදාගැනීම / ආරක්ෂාව (1); CPU, මතකය, ගොනු/තැටි, උපාංග, පරිශීලකයින් (3).
(ii) (3 marksලකුණු 3)
Single vs multi-user (1); single vs multi-tasking (1); examples named (1).තනි vs බහු-පරිශීලක (1); තනි vs බහු-කාර්ය (1); උදාහරණ (1).
(iii) (3 marksලකුණු 3)
CLI definition + lab use e.g. scripts/admin (1.5); GUI definition + beginners/Office (1.5).CLI අර්ථය + රසායනාගාර භාවිතය (1.5); GUI අර්ථය + ආරම්භකයින් (1.5).
2Storage and process controlගබඩාව සහ ක්රියාවලි පාලනය (10 marksලකුණු 10)
- (i) Compare contiguous, linked and indexed file allocation for fragmentation and random access.විඛණ්ඩනය සහ අහඹු ප්රවේශය සඳහා අනුයාත, සබැඳි සහ දර්ශක ගොනු වෙන් කිරීම සංසන්දනය කරන්න. (4 marksලකුණු 4)
- (ii) Explain process states and the role of interrupts in moving between them.ක්රියාවලි තත්ත්ව සහ ඒවා අතර ගමන් කිරීමේදී බාධකවල කාර්යභාරය පැහැදිලි කරන්න. (3 marksලකුණු 3)
- (iii) Why might SJF give a lower average waiting time than FCFS? Use the lesson numbers briefly.SJF හි සාමාන්ය රැඳී කාලය FCFS ට වඩා අඩු විය හැක්කේ ඇයි? පාඩමේ අංක කෙටියෙන් භාවිත කරන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (4 marksලකුණු 4)
Contiguous: external frag / excellent sequential & random if contiguous (1.5); linked: little external frag / poor random (1.5); indexed: little external / good random via index (1).අනුයාත: බාහිර විඛණ්ඩනය / හොඳ අනුක්රමික (1.5); සබැඳි: අඩු බාහිර / දුර්වල අහඹු (1.5); දර්ශක: අඩු බාහිර / දර්ශකයෙන් හොඳ අහඹු (1).
(ii) (3 marksලකුණු 3)
Ready/running/waiting (blocked) (+new/terminated) (2); interrupt / I/O completion / timer moves states (1).සූදානම්/ධාවන/රැඳී (2); බාධක / I/O අවසානය / ටයිමර් තත්ත්ව මාරු කරයි (1).
(iii) (3 marksලකුණු 3)
Short jobs not stuck behind long ones (1); FCFS avg 5.75 vs SJF 4.0 in notes (2).කෙටි රැකියා දිගු ඒවාට පිටුපස නොසිර වේ (1); FCFS 5.75 vs SJF 4.0 (2).
3Paging, drivers and spoolingපිටුගත කිරීම, ධාවක සහ spooling (11 marksලකුණු 11)
- (i) Describe paging: page, frame, page table, and how a logical address is split.පිටුගත කිරීම විස්තර කරන්න: පිටුව, රාමුව, පිටු වගුව, සහ තාර්කික ලිපිනය බෙදෙන ආකාරය. (4 marksලකුණු 4)
- (ii) Work the full calculation: LA=3500, page size 1024, frame=5 → PA. Also give page bits for 16-bit LA with 10-bit offset.සම්පූර්ණ ගණනය: LA=3500, පිටු 1024, රාමුව=5 → PA. බිටු 16 LA සහ බිටු 10 offset සඳහා පිටු බිටුද දෙන්න. (4 marksලකුණු 4)
- (iii) Explain device drivers and spooling with one school-lab printing example.උපාංග ධාවක සහ spooling පාසල් රසායනාගාර මුද්රණ උදාහරණයක් සමඟ පැහැදිලි කරන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(i) (4 marksලකුණු 4)
Fixed-size pages in logical space / frames in physical (1); page table maps page→frame (1); address = page number + offset (1); example idea 3500→3|428 (1).ස්ථිර ප්රමාණ පිටු / රාමු (1); පිටු වගුව පිටුව→රාමුව (1); ලිපිනය = පිටු අංකය + offset (1); උදා 3500→3|428 (1).
(ii) (4 marksලකුණු 4)
3 and 428 (1); PA=5548 (2); page bits=6 (1).3 සහ 428 (1); PA=5548 (2); පිටු බිටු=6 (1).
(iii) (3 marksලකුණු 3)
Driver talks to printer hardware (1); spool queues many students’ jobs on disk (1); CPU free / fair order (1).ධාවකය මුද්රක දෘඪාංග සමඟ කතා කරයි (1); spool සිසුන්ගේ රැකියා තැටියේ පෝලිම් කරයි (1); CPU නිදහස් / සාධාරණ අනුපිළිවෙල (1).
Exam Tipsවිභාග උපදෙස්
- Memorise OS functions: process, memory, file, device, security, UI.OS කාර්යයන් මතක තබා ගන්න: ක්රියාවලි, මතක, ගොනු, උපාංග, ආරක්ෂාව, UI.
- Multi-user ≠ multi-tasking – define both if the question asks for classification.බහු-පරිශීලක ≠ බහු-කාර්ය – වර්ගීකරණය ඉල්ලූ විට දෙකම අර්ථ දක්වන්න.
- Draw directory trees with a clear root when explaining hierarchy.ධුරාවලිය පැහැදිලි කරන විට පැහැදිලි මූලයක් සහිත ඩිරෙක්ටරි ගස් අඳින්න.
- Allocation: contiguous = start+length; linked = next pointer; indexed = index block.වෙන් කිරීම: අනුයාත = ආරම්භය+දිග; සබැඳි = ඊළඟ පොයින්ටර්; දර්ශක = දර්ශක කොටස.
- Always show FCFS/SJF start and finish times before the average.සාමාන්යයට පෙර FCFS/SJF ආරම්භ සහ අවසාන කාල සැමවිටම පෙන්වන්න.
- Waiting time = start − arrival; turnaround = finish − arrival.රැඳී කාලය = ආරම්භය − පැමිණීම; හැරීම = අවසානය − පැමිණීම.
- Paging: page = LA // size; offset = LA % size; PA = frame×size + offset.පිටුගත: පිටුව = LA // ප්රමාණය; offset = LA % ප්රමාණය; PA = රාමුව×ප්රමාණය + offset.
- MMU translates; virtual memory extends address space with disk.MMU පරිවර්තනය කරයි; අතථ්ය මතකය තැටියෙන් ලිපින අවකාශය දිගු කරයි.
- Spooling = queue on disk for slow devices (classic: printers).Spooling = මන්දගාමී උපාංග සඳහා තැටියේ පෝලිම (සම්භාව්ය: මුද්රක).
- In Paper I, watch for ‘only’ and ‘never’ wording traps.Paper I හි ‘only’ සහ ‘never’ වචන උගුල් ගැන සැලකිලිමත් වන්න.
- In Paper II, one mark ≈ one clear point or one correct calculation step.Paper II හි ලකුණක් ≈ පැහැදිලි කරුණක් හෝ නිවැරදි ගණනය පියවරක්.
- Beyond boxes (containers, zRAM) are for interest – exam tests the syllabus only.Beyond කොටු (containers, zRAM) දැනුමටය – විභාගය පරීක්ෂා කරන්නේ විෂය නිර්දේශය පමණි.
Answers & Downloadsපිළිතුරු සහ බාගත කිරීම්
Paper I – answers with explanationsPaper I – පිළිතුරු සහ පැහැදිලි කිරීම්
| # | Answerපිළිතුර | Whyහේතුව |
|---|---|---|
| 1 | B | OS sits between apps and hardware.OS යෙදුම් සහ දෘඪාංග අතර සිටී. |
| 2 | C | Process, memory, file and device management.ක්රියාවලි, මතක, ගොනු සහ උපාංග කළමනාකරණය. |
| 3 | D | Windows, icons, menus, pointers.කවුළු, අයිකන, මෙනු, පොයින්ටර්. |
| 4 | B | Accounts and shared resources.ගිණුම් සහ බෙදාගත් සම්පත්. |
| 5 | E | Hard deadlines.දැඩි කාලසීමා. |
| 6 | B | Typed commands.ටයිප් කළ විධාන. |
| 7 | D | BIOS/UEFI style.BIOS/UEFI වැනි. |
| 8 | E | Interactive sharing.අන්තර්ක්රියාත්මක බෙදාගැනීම. |
| 9 | B | Folders in a hierarchy.ධුරාවලියේ ෆෝල්ඩර. |
| 10 | D | Start + length.ආරම්භය + දිග. |
| 11 | C | Index lists block numbers.දර්ශකය කොටස් අංක ලැයිස්තුගත කරයි. |
| 12 | E | Improves sequential read.අනුක්රමික කියවීම වැඩි දියුණු කරයි. |
| 13 | D | Creates FAT/inode layout.FAT/inode සැකැස්ම සාදයි. |
| 14 | A | Chain of blocks.කොටස් දාමය. |
| 15 | C | 10−(2+3+1)=4.10−(2+3+1)=4. |
| 16 | E | Running instance.ධාවන අවස්ථාව. |
| 17 | A | Holds state, registers, ID.තත්ත්වය, රෙජිස්තර, ID තබයි. |
| 18 | E | Scheduler swaps CPU.කාර්ය සටහන්කරු CPU මාරු කරයි. |
| 19 | A | Non-preemptive queue order.නොපෙරළන පෝලිම් අනුපිළිවෙල. |
| 20 | A | (0+4+6+13)/4 = 5.75.(0+4+6+13)/4 = 5.75. |
| 21 | B | Shortest Job First.කෙටිම රැකියාව පළමුව. |
| 22 | D | (0+3+6+7)/4 = 4.(0+3+6+7)/4 = 4. |
| 23 | E | 20/10 = 2.20/10 = 2. |
| 24 | A | Memory Management Unit.මතක කළමනාකරණ ඒකකය. |
| 25 | B | RAM + swap/page file.RAM + swap/page file. |
| 26 | C | 3500//1024=3, 3500%1024=428.3500//1024=3, 3500%1024=428. |
| 27 | A | 5×1024+428=5548.5×1024+428=5548. |
| 28 | D | Printer, disk, NIC drivers.මුද්රක, තැටි, NIC ධාවක. |
| 29 | C | Simultaneous Peripheral Operations On-Line.මන්දගාමී උපාංග සඳහා පෝලිම. |
| 30 | C | 16−10=6 → 64 pages.16−10=6 → පිටු 64. |
Paper II model answers are under each question in the “Paper II Part A” and “Part B” tabs (they open automatically when you print).Paper II ආදර්ශ පිළිතුරු “Paper II A කොටස” සහ “B කොටස” tab වල එක් එක් ප්රශ්නය යටතේ ඇත (මුද්රණය කරන විට ස්වයංක්රීයව විවෘත වේ).
Downloadsබාගත කිරීම්
Full Lesson 5 PDFසම්පූර්ණ පාඩම 5 PDF: English · සිංහල
← Back to Lesson 5පාඩම 5 වෙත ආපසු ‹ 5.4 Memory Management, Paging, Device Drivers and Spoolingමතක කළමනාකරණය, පිටුගත කිරීම, උපාංග ධාවක සහ Spooling
