© 2026 schoolict.net (Ruwan Mangala Suraweera)
5.1 Introduction to Operating Systems: Need, Functions and Classificationමෙහෙයුම් පද්ධති හැඳින්වීම: අවශ්යතාව, කාර්යයන් සහ වර්ගීකරණය
Grade 12 A/L ICT · Lesson 512 ශ්රේණිය A/L ICT · පාඩම 5
In this videoමේ වීඩියෝවේ
- An OS manages hardware and offers a safe interface to users and apps.OS දෘඩාංග කළමනාකරණය කර පරිශීලකයින්ට සහ යෙදුම්වලට ආරක්ෂිත අතුරුමුහුණතක් දෙයි.
- Main functions: interfaces, processes, resources, security/protection.ප්රධාන කාර්යයන්: අතුරුමුහුණත්, ක්රියාවලි, සම්පත්, ආරක්ෂාව.
- Abstractions include files and directories.වියුක්ත කිරීම් අතර ගොනු සහ ඩිරෙක්ටරි ඇත.
- OS types: single/multi user, multi-task, multi-thread, real-time, time-sharing.OS වර්ග: එක/බහු පරිශීලක, බහු-කාර්ය, බහු-ත්රෙඩ්, තත්ය කාලීන, කාල බෙදාගැනීම.
- Evolution moved from no OS → batch → multi-programming → time-sharing → personal/mobile.විකාශය: OS නැත → කාණ්ඩ → බහු-ක්රමලේඛනය → කාල බෙදාගැනීම → පුද්ගලික/ජංගම.
Notesසටහන්
Syllabus 5.1. An operating system (OS) is the system software that sits between you and the hardware. It provides interfaces, manages processes and resources, and protects the machine. In this part you learn what an OS is, a short history, its main functions, and how we classify OS types (single-user, multi-user, multi-tasking, multi-threading, real-time and time-sharing).විෂය නිර්දේශය 5.1. මෙහෙයුම් පද්ධතිය (OS) යනු ඔබ සහ දෘඩාංග අතර සිටින පද්ධති මෘදුකාංගයයි. එය අතුරුමුහුණත් සපයයි, ක්රියාවලි සහ සම්පත් කළමනාකරණය කරයි, යන්ත්රය ආරක්ෂා කරයි. මෙම කොටසින් OS යනු කුමක්ද, කෙටි ඉතිහාසය, ප්රධාන කාර්යයන්, සහ OS වර්ග වර්ගීකරණය (එක පරිශීලක, බහු පරිශීලක, බහු-කාර්ය, බහු-ත්රෙඩ්, තත්ය කාලීන සහ කාල බෙදාගැනීම) ඉගෙන ගනී.
1. What is an operating system?1. මෙහෙයුම් පද්ධතියක් යනු කුමක්ද?
Without an OS you would talk to the CPU in machine code for every file, screen update and key press. The OS is the manager: it hides messy hardware details and gives you a safe, useful view – windows, folders, printers and apps.OS නැතිව සෑම ගොනුවක්, තිරයක් සහ යතුරු එබීමක් සඳහා ඔබ CPU සමඟ යන්ත්ර කේතයෙන් කතා කරයි. OS යනු කළමනාකරු ය: එය දෘඩාංග විස්තර සඟවා ජනේල, ෆෝල්ඩර, මුද්රක සහ යෙදුම් ලෙස ආරක්ෂිත පෙනුමක් දෙයි.
2. A short evolution of the OS2. OS හි කෙටි විකාශය
- Early machines (1950s): no OS – operators loaded one job at a time by hand.මුල් යන්ත්ර (1950s): OS නැත – ක්රියාකරුවන් එකවර එක් රැකියාවක් අතින් පූරණය කළහ.
- Batch systems: jobs collected on punched cards and run in a batch with little interaction.කාණ්ඩ පද්ධති: පන්ච් කාඩ් මත රැකියා එකතු කර කාණ්ඩයක් ලෙස ධාවනය.
- Multi-programming: several jobs stay in memory so the CPU is rarely idle while one waits for I/O.බහු-ක්රමලේඛනය: රැකියා කිහිපයක් මතකයේ තබා එකක් I/O රැඳී සිටින විට CPU අලස නොවේ.
- Time-sharing: many users share the CPU in short time slices so each feels interactive.කාල බෙදාගැනීම: පරිශීලකයින් බොහෝ දෙනෙක් කෙටි කාල කැබලි වලින් CPU බෙදා ගනී.
- Personal and mobile OS: GUI desktops, then smartphones with always-on multitasking.පුද්ගලික සහ ජංගම OS: GUI ඩෙස්ක්ටොප්, පසුව නිරන්තර බහුකාර්ය ස්මාර්ට්ෆෝන්.
3. Main functions of an OS3. OS හි ප්රධාන කාර්යයන්
The OS also gives useful abstractions: files (named streams of bytes), directories/folders (named collections of files), and data organised for programs. You do not care which disk sector holds your essay – you open a path like /home/amma/essay.docx.OS වියුක්ත කිරීම් ද දෙයි: ගොනු (නම් කළ බයිට් ප්රවාහ), ඩිරෙක්ටරි/ෆෝල්ඩර (ගොනු එකතු), සහ වැඩසටහන් සඳහා සංවිධිත දත්ත. ඔබේ රචනාව තැටි අංශයේ කොහේදැයි ඔබ නොදනී – /home/amma/essay.docx වැනි මාර්ගයක් විවෘත කරයි.
Functions: interfaces, process management, resource management, security/protection. Abstractions: a file is a named byte stream; a directory is a named folder of files.කාර්යයන්: අතුරුමුහුණත්, ක්රියාවලි කළමනාකරණය, සම්පත් කළමනාකරණය, ආරක්ෂාව. වියුක්ත: ගොනුව නම් කළ බයිට් ප්රවාහයකි; ඩිරෙක්ටරිය ගොනු ෆෝල්ඩරයකි.
4. Classification of operating systems4. මෙහෙයුම් පද්ධති වර්ගීකරණය
| Typeවර්ගය | Ideaඅදහස | Example flavourඋදාහරණ ස්වභාවය | |
|---|---|---|---|
| Single user – single taskඑක පරිශීලක – එක කාර්යය | One person, one program at a time.එක් අයෙක්, එකවර එක් වැඩසටහනක්. | Early MS-DOS style.මුල් MS-DOS වැනි. | |
| Single user – multi taskඑක පරිශීලක – බහු කාර්ය | One person, many programs at once.එක් අයෙක්, එකවර වැඩසටහන් බොහෝ. | De | එක |
| Multi user – multi taskබහු පරිශීලක – බහු කාර්ය | Many people, many programs, shared machine.බොහෝ දෙනෙක්, බොහෝ වැඩසටහන්, බෙදාගත් යන්ත්රය. | Li | Li |
| Multi-threadingබහු-ත්රෙඩ් | One process has several threads of control.එක් ක්රියාවලියකට පාලන ත්රෙඩ් කිහිපයක්. | Br | ටැ |
| Real timeතත්ය කාලීන | Must meet strict deadlines (cars, robots, medical).දැඩි කාලසීමා තබා ගත යුතුය (මෝටර්, රොබෝ, වෛද්ය). | RT | වා |
| Time sharingකාල බෙදාගැනීම | CPU switched in short slices among users/jobs.කෙටි කැබලිවලින් CPU පරිශීලක/රැකියා අතර මාරු වේ. | Cl | සම |
Mostly single user – multi task: one human owner, but many apps run together. (Under the hood Linux can support more users, but the phone UI is single-user.)බොහෝ විට එක පරිශීලක – බහු කාර්ය: එක් හිමිකරුවෙක්, නමුත් යෙදුම් බොහෝ එකට ධාවනය වේ.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1Define an operating system.මෙහෙයුම් පද්ධතියක් අර්ථ දක්වන්න.
2List four main functions of an OS.OS හි ප්රධාන කාර්යයන් හතරක් ලැයිස්තුගත කරන්න.
3What abstractions does an OS give for stored data?ගබඩා කළ දත්ත සඳහා OS දෙන වියුක්ත කිරීම් මොනවාද?
4Distinguish multi-programming and time-sharing.බහු-ක්රමලේඛනය සහ කාල බෙදාගැනීම වෙන්කර හඳුනාගන්න.
5What is a real-time OS used for?තත්ය කාලීන OS භාවිත වන්නේ කුමක් සඳහාද?
6Give one example of single-user multi-task and one of multi-user multi-task.එක පරිශීලක බහු-කාර්ය සහ බහු පරිශීලක බහු-කාර්ය සඳහා උදාහරණ බැගින් එකක් දෙන්න.
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1An operating system is best described asමෙහෙයුම් පද්ධතියක් හොඳින් විස්තර වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
OS = system software manager.OS = පද්ධති මෘදුකාංග කළමනාකරු.
2Which is an OS function?OS කාර්යයක් වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Process management is a core OS role.ක්රියාවලි කළමනාකරණය මූලික OS කාර්යයකි.
3GUI meansGUI යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Windows/icons/menus.ජනේල/අයිකන/මෙනු.
4A file, to the OS, is mainlyOS ට ගොනුවක් ප්රධාන වශයෙන්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
File abstraction.ගොනු වියුක්ත කිරීම.
5Time-sharing emphasisesකාල බෙදාගැනීම අවධාරණය කරන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Short turns on the CPU.CPU මත කෙටි වාර.
6A real-time OS mustතත්ය කාලීන OS එකකට
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Deadlines matter.කාලසීමා වැදගත්ය.
7Single user – single task meansඑක පරිශීලක – එක කාර්යය යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Classic early PC/DOS style.මුල් PC/DOS වැනි.
8Multi-threading meansබහු-ත්රෙඩ් යනු
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Threads inside a process.ක්රියාවලියක් තුළ ත්රෙඩ්.
9Which sits between apps and hardware?යෙදුම් සහ දෘඩාංග අතර සිටින්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
OS layer.OS ස්ථරය.
10Resource management includes sharing theසම්පත් කළමනාකරණයට බෙදා දීම ඇතුළත්
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Classic resources.සම්භාව්ය සම්පත්.
11Batch systems historicallyකාණ්ඩ පද්ධති ඓතිහාසිකව
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Punched-card batches.පන්ච් කාඩ් කාණ්ඩ.
12Security and protection help toආරක්ෂාව සහ ආරක්ෂණය උදව් වන්නේ
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Isolation and permissions.වෙන් කිරීම සහ අවසර.
13Which term means: “System software that manages hardware and provides services to users and apps”?“දෘඩාංග කළමනාකරණය කර පරිශීලකයින්ට සහ යෙදුම්වලට සේවා සපයන පද්ධති මෘදුකාංගය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Operating system – System software that manages hardware and provides services to users and apps.මෙහෙයුම් පද්ධතිය – දෘඩාංග කළමනාකරණය කර පරිශීලකයින්ට සහ යෙදුම්වලට සේවා සපයන පද්ධති මෘදුකාංගය.
14Which term means: “How you talk to the OS – CLI or GUI”?“OS සමඟ කතා කරන ආකාරය – CLI හෝ GUI” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Interface – How you talk to the OS – CLI or GUI.අතුරුමුහුණත – OS සමඟ කතා කරන ආකාරය – CLI හෝ GUI.
15Which term means: “Command-line interface – typed commands”?“විධාන රේඛා අතුරුමුහුණත – ටයිප් කළ විධාන” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
CLI – Command-line interface – typed commands.CLI – විධාන රේඛා අතුරුමුහුණත – ටයිප් කළ විධාන.
16Which term means: “Graphical user interface – windows, icons, menus, pointer”?“චිත්රක පරිශීලක අතුරුමුහුණත – ජනේල, අයිකන, මෙනු, පොයින්ටර්” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
GUI – Graphical user interface – windows, icons, menus, pointer.GUI – චිත්රක පරිශීලක අතුරුමුහුණත – ජනේල, අයිකන, මෙනු, පොයින්ටර්.
17Which term means: “Creating, scheduling and ending running programs”?“ධාවනය වන වැඩසටහන් සෑදීම, කාර්ය සටහන්ගත කිරීම සහ අවසන් කිරීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Process management – Creating, scheduling and ending running programs.ක්රියාවලි කළමනාකරණය – ධාවනය වන වැඩසටහන් සෑදීම, කාර්ය සටහන්ගත කිරීම සහ අවසන් කිරීම.
18Which term means: “Sharing CPU, memory, disk and devices among programs”?“වැඩසටහන් අතර CPU, මතකය, තැටි සහ උපාංග බෙදා දීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Resource management – Sharing CPU, memory, disk and devices among programs.සම්පත් කළමනාකරණය – වැඩසටහන් අතර CPU, මතකය, තැටි සහ උපාංග බෙදා දීම.
19Which term means: “Keeping users and programs from harming each other or the system”?“පරිශීලකයින් සහ වැඩසටහන් එකිනෙකාට හෝ පද්ධතියට හානි කිරීමෙන් වැළැක්වීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Security and protection – Keeping users and programs from harming each other or the system.ආරක්ෂාව සහ ආරක්ෂණය – පරිශීලකයින් සහ වැඩසටහන් එකිනෙකාට හෝ පද්ධතියට හානි කිරීමෙන් වැළැක්වීම.
20Which term means: “A named stream of bytes managed by the OS”?“OS මගින් කළමනාකරණය කරන නම් කළ බයිට් ප්රවාහයකි” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
File abstraction – A named stream of bytes managed by the OS.ගොනු වියුක්ත කිරීම – OS මගින් කළමනාකරණය කරන නම් කළ බයිට් ප්රවාහයකි.
MCQ answer keyMCQ පිළිතුරු
- C – OS = system software manager.OS = පද්ධති මෘදුකාංග කළමනාකරු.
- E – Process management is a core OS role.ක්රියාවලි කළමනාකරණය මූලික OS කාර්යයකි.
- A – Windows/icons/menus.ජනේල/අයිකන/මෙනු.
- D – File abstraction.ගොනු වියුක්ත කිරීම.
- C – Short turns on the CPU.CPU මත කෙටි වාර.
- B – Deadlines matter.කාලසීමා වැදගත්ය.
- A – Classic early PC/DOS style.මුල් PC/DOS වැනි.
- C – Threads inside a process.ක්රියාවලියක් තුළ ත්රෙඩ්.
- E – OS layer.OS ස්ථරය.
- B – Classic resources.සම්භාව්ය සම්පත්.
- E – Punched-card batches.පන්ච් කාඩ් කාණ්ඩ.
- D – Isolation and permissions.වෙන් කිරීම සහ අවසර.
- D – Operating system – System software that manages hardware and provides services to users and apps.මෙහෙයුම් පද්ධතිය – දෘඩාංග කළමනාකරණය කර පරිශීලකයින්ට සහ යෙදුම්වලට සේවා සපයන පද්ධති මෘදුකාංගය.
- A – Interface – How you talk to the OS – CLI or GUI.අතුරුමුහුණත – OS සමඟ කතා කරන ආකාරය – CLI හෝ GUI.
- A – CLI – Command-line interface – typed commands.CLI – විධාන රේඛා අතුරුමුහුණත – ටයිප් කළ විධාන.
- E – GUI – Graphical user interface – windows, icons, menus, pointer.GUI – චිත්රක පරිශීලක අතුරුමුහුණත – ජනේල, අයිකන, මෙනු, පොයින්ටර්.
- B – Process management – Creating, scheduling and ending running programs.ක්රියාවලි කළමනාකරණය – ධාවනය වන වැඩසටහන් සෑදීම, කාර්ය සටහන්ගත කිරීම සහ අවසන් කිරීම.
- C – Resource management – Sharing CPU, memory, disk and devices among programs.සම්පත් කළමනාකරණය – වැඩසටහන් අතර CPU, මතකය, තැටි සහ උපාංග බෙදා දීම.
- B – Security and protection – Keeping users and programs from harming each other or the system.ආරක්ෂාව සහ ආරක්ෂණය – පරිශීලකයින් සහ වැඩසටහන් එකිනෙකාට හෝ පද්ධතියට හානි කිරීමෙන් වැළැක්වීම.
- D – File abstraction – A named stream of bytes managed by the OS.ගොනු වියුක්ත කිරීම – OS මගින් කළමනාකරණය කරන නම් කළ බයිට් ප්රවාහයකි.
Structured Questionsව්යුහගත ප්රශ්න
1Define an OS and state why a computer needs one.OS අර්ථ දක්වා පරිගණකයකට එකක් අවශ්ය වන්නේ ඇයිදැයි කියන්න. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2List the four main OS functions with one sentence each.ප්රධාන OS කාර්යයන් හතර එක් එක් වාක්යයකින් ලැයිස්තුගත කරන්න. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3Explain file and directory abstractions.ගොනු සහ ඩිරෙක්ටරි වියුක්ත කිරීම් පැහැදිලි කරන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Compare single-user multi-task and multi-user multi-task OS.එක පරිශීලක බහු-කාර්ය සහ බහු පරිශීලක බහු-කාර්ය OS සංසන්දනය කරන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Distinguish multi-programming and time-sharing; mention real-time OS briefly.බහු-ක්රමලේඛනය සහ කාල බෙදාගැනීම වෙන්කර තත්ය කාලීන OS කෙටියෙන් සඳහන් කරන්න. (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- An OS manages hardware and offers a safe interface to users and apps.OS දෘඩාංග කළමනාකරණය කර පරිශීලකයින්ට සහ යෙදුම්වලට ආරක්ෂිත අතුරුමුහුණතක් දෙයි.
- Main functions: interfaces, processes, resources, security/protection.ප්රධාන කාර්යයන්: අතුරුමුහුණත්, ක්රියාවලි, සම්පත්, ආරක්ෂාව.
- Abstractions include files and directories.වියුක්ත කිරීම් අතර ගොනු සහ ඩිරෙක්ටරි ඇත.
- OS types: single/multi user, multi-task, multi-thread, real-time, time-sharing.OS වර්ග: එක/බහු පරිශීලක, බහු-කාර්ය, බහු-ත්රෙඩ්, තත්ය කාලීන, කාල බෙදාගැනීම.
- Evolution moved from no OS → batch → multi-programming → time-sharing → personal/mobile.විකාශය: OS නැත → කාණ්ඩ → බහු-ක්රමලේඛනය → කාල බෙදාගැනීම → පුද්ගලික/ජංගම.
