© 2026 schoolict.net (Ruwan Mangala Suraweera)
9.1 Database Concepts, Features and Relational Databasesදත්ත සමුදාය සංකල්ප, ලක්ෂණ සහ සම්බන්ධක (Relational) දත්ත සමුදාය
G.C.E. O/L Grade 10 ICT · Lesson 9G.C.E. O/L ICT · 10 ශ්රේණිය · පාඩම 9
In this videoමේ වීඩියෝවේ
- A database is an organised collection of related data.දත්ත සමුදාය යනු සංවිධිත සම්බන්ධිත දත්ත එකතුවකි.
- A DBMS (Access, Base) creates and manages databases.DBMS (Access, Base) දත්ත සමුදාය සාදා කළමනාකරණය කරයි.
- Table → records (rows) → fields (columns); a key identifies each record.Table → records (පේළි) → fields (තීරු); key එකක් සෑම record එකක්ම හඳුනාගනී.
- Features: less redundancy, consistency, integrity, validity, security.ලක්ෂණ: අඩු redundancy, consistency, integrity, validity, security.
- Electronic databases are faster, safer and easier to search than manual ones.ඉලෙක්ට්රොනික දත්ත සමුදාය manual ඒවාට වඩා වේගවත්, ආරක්ෂිත, සෙවීමට පහසුය.
Notesසටහන්
Every school keeps information about students, classes, marks and library books. A database is an organised collection of related data stored so that it can be easily found, updated and used to get information. In this note you will learn what a database is, its advantages and features, how a manual database compares with an electronic one, and the parts of a relational database – tables, records, fields and key fields.සෑම පාසලක්ම සිසුන්, පන්ති, ලකුණු සහ පුස්තකාල පොත් පිළිබඳ තොරතුරු තබා ගනී. දත්ත සමුදායක් (database) යනු පහසුවෙන් සොයා ගැනීමට, යාවත්කාලීන කිරීමට සහ තොරතුරු ලබා ගැනීමට හැකි වන සේ ගබඩා කළ සම්බන්ධිත දත්තවල සංවිධිත එකතුවකි. මෙම සටහනෙන් දත්ත සමුදාය යනු කුමක්ද, එහි වාසි සහ ලක්ෂණ, අතින් පවත්වාගෙන යන (manual) දත්ත සමුදායක් ඉලෙක්ට්රොනික එකක් සමඟ සැසඳෙන ආකාරය සහ සම්බන්ධක දත්ත සමුදායක කොටස් – tables, records, fields සහ key fields – ඉගෙන ගනිමු.
1. What is a database?1. දත්ත සමුදායක් යනු කුමක්ද?
Data are raw facts (e.g. 24103, Nethmi Fernando, 91). When data are organised and processed they give information (e.g. ‘Nethmi has the highest ICT mark in 10B’). A database stores related data in an organised way so that information can be elicited (drawn out) quickly. Software used to create and manage a database is a Database Management System (DBMS) – e.g. MS Access, LibreOffice Base, MySQL, Oracle.දත්ත යනු අමු කරුණු වේ (උදා 24103, Nethmi Fernando, 91). දත්ත සංවිධානය කර සැකසූ විට තොරතුරු ලැබේ (උදා ‘Nethmi ට 10B හි වැඩිම ICT ලකුණ ඇත’). දත්ත සමුදායක් තොරතුරු ඉක්මනින් ලබා ගත හැකි වන සේ සම්බන්ධිත දත්ත සංවිධිතව ගබඩා කරයි. දත්ත සමුදායක් සාදා කළමනාකරණය කිරීමට භාවිත කරන මෘදුකාංගය දත්ත සමුදාය කළමනාකරණ පද්ධතියකි (DBMS) – උදා MS Access, LibreOffice Base, MySQL, Oracle.
- School: student register, marks, attendance, library.පාසල: ශිෂ්ය ලේඛනය, ලකුණු, පැමිණීම, පුස්තකාලය.
- Department for Registration of Persons: NIC (National Identity Card) records.පුද්ගලයන් ලියාපදිංචි කිරීමේ දෙපාර්තමේන්තුව: ජාතික හැඳුනුම්පත් (NIC) records.
- Banks: customer accounts and transactions; hospitals: e-channelling appointments.බැංකු: ගනුදෙනුකරුවන්ගේ ගිණුම් සහ ගනුදෙනු; රෝහල්: e-channelling වේලාවන්.
- Ministry of Education: Grade 1 school admissions and O/L results.අධ්යාපන අමාත්යාංශය: 1 ශ්රේණියට පාසල් ඇතුළත් කිරීම් සහ සා.පෙළ ප්රතිඵල.
2. Advantages and features of a good database2. හොඳ දත්ත සමුදායක වාසි සහ ලක්ෂණ
3. Manual and electronic databases3. අතින් පවත්වාගෙන යන සහ ඉලෙක්ට්රොනික දත්ත සමුදාය
A manual database is kept on paper – e.g. the school admission register, a library card file, a teacher’s mark book or a telephone directory. An electronic database is stored on a computer and managed by a DBMS.අතින් පවත්වාගෙන යන (manual) දත්ත සමුදායක් කඩදාසි මත තබා ගනී – උදා පාසල් ඇතුළත් කිරීමේ ලේඛනය, පුස්තකාල කාඩ්පත් ගොනුව, ගුරුවරයාගේ ලකුණු පොත හෝ දුරකථන නාමාවලිය. ඉලෙක්ට්රොනික දත්ත සමුදායක් පරිගණකයක ගබඩා කර DBMS මගින් කළමනාකරණය කරයි.
| Pointකරුණ | Manual (paper)Manual (කඩදාසි) | Electronic (DBMS)ඉලෙක්ට්රොනික (DBMS) |
|---|---|---|
| Searchingසෙවීම | Slow – turn pages or cardsමන්දගාමී – පිටු/කාඩ් පෙරළීම | Fast – queries, Findවේගවත් – queries, Find |
| Sortingපිළිවෙළට සැකසීම | Rewrite the whole listමුළු ලැයිස්තුවම නැවත ලිවීම | One click (Ascending/Descending)එක් click එකකින් (Ascending/Descending) |
| Updatingයාවත්කාලීන කිරීම | Cross out and rewrite; untidyකපා හැර නැවත ලිවීම; අපිළිවෙළ | Edit the field; neatField එක සංස්කරණය; පිළිවෙළ |
| Redundancyඅතිරික්තතාව | Same data copied in many booksඑකම දත්ත පොත් බොහොමයක පිටපත් | Stored once, linked by keysඑක් වරක් ගබඩා කර keys මගින් සම්බන්ධ |
| Spaceඉඩ | Many files and cupboardsගොනු සහ අල්මාරි බොහොමයක් | A disk or the cloudDisk එකක් හෝ cloud |
| Security / backupආරක්ෂාව / backup | Lost in fire, flood or termitesගින්නෙන්, ගංවතුරෙන් හෝ වේයන්ගෙන් විනාශ වේ | Passwords and backup copiesමුරපද සහ backup පිටපත් |
| Cost / skillsපිරිවැය / කුසලතා | Cheap, no training neededලාභයි, පුහුණුවක් අවශ්ය නැත | Needs a computer, power and trainingපරිගණකය, විදුලිය සහ පුහුණුව අවශ්යයි |
| Similarityසමානකම | Both store organised, related data about entities (students, books) for later use.දෙකම entities (සිසුන්, පොත්) පිළිබඳ සංවිධිත සම්බන්ධිත දත්ත පසුව භාවිතයට ගබඩා කරයි. | Both store organised, related data about entities (students, books) for later use.දෙකම entities (සිසුන්, පොත්) පිළිබඳ සංවිධිත සම්බන්ධිත දත්ත පසුව භාවිතයට ගබඩා කරයි. |
4. Relational database: tables, records, fields and keys4. සම්බන්ධක දත්ත සමුදාය: tables, records, fields සහ keys
A relational database stores data in tables (relations) that are linked by common fields. Our sample school database has four tables: tblClass, tblStudent, tblBook and tblBorrow.සම්බන්ධක දත්ත සමුදායක් දත්ත පොදු fields මගින් සම්බන්ධ කළ tables (relations) වල ගබඩා කරයි. අපගේ පාසල් දත්ත සමුදායේ tables හතරක් ඇත: tblClass, tblStudent, tblBook සහ tblBorrow.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1Define a database.දත්ත සමුදායක් අර්ථ දක්වන්න.
2Name two DBMS packages.DBMS මෘදුකාංග දෙකක් නම් කරන්න.
3Distinguish a field and a record.Field සහ record වෙන්කර දක්වන්න.
4Why is AdmNo a better primary key than StudentName?StudentName ට වඩා AdmNo හොඳ primary key එකක් වන්නේ ඇයි?
5Give three advantages of an electronic database over a manual one.Manual එකකට වඩා ඉලෙක්ට්රොනික දත්ත සමුදායක වාසි තුනක් දෙන්න.
6What does ‘absence of redundancy’ mean?‘අතිරික්තතාව නොමැති වීම’ යනු කුමක්ද?
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1An organised collection of related data is a…සම්බන්ධිත දත්තවල සංවිධිත එකතුවක් යනු…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Database.දත්ත සමුදාය.
2Which is a DBMS?DBMS එකක් කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Base is the database program.Base දත්ත සමුදාය වැඩසටහනයි.
3In a table, a column is called a…Table එකක තීරුවක් හඳුන්වන්නේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Column = field.තීරුව = field.
4All the data about one student in tblStudent is a…tblStudent හි එක් සිසුවෙකු පිළිබඳ සියලු දත්ත…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Row = record.පේළිය = record.
5tblStudent stores 10 students, each with 6 items of data. It has…tblStudent හි සිසුන් 10 ක් ඇත, එක් එක් අයට දත්ත අයිතම 6 ක්. එහි ඇත්තේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Rows = records, columns = fields.පේළි = records, තීරු = fields.
6The best primary key for a student table is…ශිෂ්ය table එකකට හොඳම primary key එක…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Unique.අනන්යයි.
7A field whose value is unique and identifies each record is the…අගය අනන්ය වී සෑම record එකක්ම හඳුනා ගන්නා field එක…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Primary key.Primary key.
8Storing the class teacher’s name in every student row causes…පන්ති භාරාචාර්ය නම සෑම ශිෂ්ය පේළියකම ගබඩා කිරීමෙන් ඇතිවන්නේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Repetition.නැවත යෙදීම.
9A rule that accepts only ICT marks from 0 to 100 improves…ICT ලකුණු 0 සිට 100 දක්වා පමණක් පිළිගන්නා නීතියක් වැඩි දියුණු කරන්නේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Validation.Validation.
10Passwords, user permissions and backups mainly give…මුරපද, පරිශීලක අවසර සහ backups ප්රධාන වශයෙන් ලබා දෙන්නේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Security.ආරක්ෂාව.
11Which is a manual database?Manual දත්ත සමුදායක් කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Paper.කඩදාසි.
12A disadvantage of an electronic database compared with a manual one is that it…Manual එකකට සාපේක්ෂව ඉලෙක්ට්රොනික දත්ත සමුදායක අවාසියක් වන්නේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Needs resources.සම්පත් අවශ්යයි.
13A database of tables linked by common fields is a…පොදු fields මගින් සම්බන්ධ කළ tables වලින් යුත් දත්ත සමුදාය…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Relational.Relational.
14A student cannot be given class ’12Z’ that does not exist in tblClass. This feature is…tblClass හි නොමැති ’12Z’ පන්තිය සිසුවෙකුට දිය නොහැක. මෙම ලක්ෂණය…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Integrity.Integrity.
15Under Sri Lanka’s Personal Data Protection Act 2022, a school should…ශ්රී ලංකා 2022 පුද්ගලික දත්ත ආරක්ෂණ පනත යටතේ පාසලක් කළ යුත්තේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Data protection.දත්ත ආරක්ෂණය.
MCQ answer keyMCQ පිළිතුරු
- A – Database.දත්ත සමුදාය.
- C – Base is the database program.Base දත්ත සමුදාය වැඩසටහනයි.
- C – Column = field.තීරුව = field.
- A – Row = record.පේළිය = record.
- B – Rows = records, columns = fields.පේළි = records, තීරු = fields.
- D – Unique.අනන්යයි.
- C – Primary key.Primary key.
- B – Repetition.නැවත යෙදීම.
- A – Validation.Validation.
- C – Security.ආරක්ෂාව.
- D – Paper.කඩදාසි.
- A – Needs resources.සම්පත් අවශ්යයි.
- B – Relational.Relational.
- D – Integrity.Integrity.
- B – Data protection.දත්ත ආරක්ෂණය.
Structured Questionsව්යුහගත ප්රශ්න
1(i) Define a database. (1 mark)
(ii) Give two examples of databases used in Sri Lanka. (2 marks)(i) දත්ත සමුදාය අර්ථ දක්වන්න. (ලකුණු 1)
(ii) ශ්රී ලංකාවේ භාවිත වන දත්ත සමුදාය උදාහරණ දෙකක් දෙන්න. (ලකුණු 2) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2Using Figure 9.1, label a field, a record and the primary key, and state how many records tblStudent has. (4 marks)රූපය 9.1 භාවිතයෙන් field එකක්, record එකක් සහ primary key නම් කර tblStudent හි records ගණන සඳහන් කරන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3Explain four features of a good database. (4 marks)හොඳ දත්ත සමුදායක ලක්ෂණ හතරක් පැහැදිලි කරන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Compare a manual library card file with an electronic library database. Give two differences and one similarity. (3 marks)Manual පුස්තකාල කාඩ් ගොනුවක් ඉලෙක්ට්රොනික පුස්තකාල දත්ත සමුදායක් සමඟ සසඳන්න. වෙනස්කම් දෙකක් සහ සමානකමක් දෙන්න. (ලකුණු 3) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5A school keeps student marks in a shared Google Sheet. Give two risks and two good practices under the PDPA 2022. (4 marks)පාසලක් ශිෂ්ය ලකුණු බෙදාගත් Google Sheet එකක තබයි. PDPA 2022 යටතේ අවදානම් දෙකක් සහ හොඳ පිළිවෙත් දෙකක් දෙන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- Database = organised collection of related data.දත්ත සමුදාය = සම්බන්ධිත දත්තවල සංවිධිත එකතුව.
- DBMS: MS Access, LibreOffice Base, MySQL.DBMS: MS Access, LibreOffice Base, MySQL.
- Features: no redundancy, efficiency, accuracy, consistency.ලක්ෂණ: අතිරික්තතාව නැත, කාර්යක්ෂමතාව, නිරවද්යතාව, ඒකාකාරීත්වය.
- Also: security, validity, simplicity, integrity.තවද: ආරක්ෂාව, වලංගුභාවය, සරලභාවය, integrity.
- Manual = paper register/card file; electronic = DBMS.Manual = කඩදාසි ලේඛනය/කාඩ් ගොනුව; ඉලෙක්ට්රොනික = DBMS.
- Table = entity; field = column; record = row.Table = entity; field = තීරුව; record = පේළිය.
- Primary key = unique field (AdmNo, NIC).Primary key = අනන්ය field (AdmNo, NIC).
- 2026: cloud databases, PDPA 2022, backups.2026: cloud දත්ත සමුදාය, PDPA 2022, backups.
