© 2026 schoolict.net (Ruwan Mangala Suraweera)
9.3 Converting a Manual Database to an Electronic DatabaseManual දත්ත සමුදායක් ඉලෙක්ට්රොනික දත්ත සමුදායක් බවට පරිවර්තනය
G.C.E. O/L Grade 10 ICT · Lesson 9G.C.E. O/L ICT · 10 ශ්රේණිය · පාඩම 9
In this videoමේ වීඩියෝවේ
- A card file or register is a manual database.කාඩ් ගොනුවක් හෝ ලේඛනයක් manual දත්ත සමුදායකි.
- Each card or register line becomes one record.සෑම කාඩ්පතක්ම හෝ ලේඛන පේළියක්ම එක් record එකක් වේ.
- Each heading on the card becomes a field.කාඩ්පතේ සෑම ශීර්ෂයක්ම field එකක් වේ.
- Standardise data, remove duplicates, then enter.දත්ත සම්මත කර, අනුපිටපත් ඉවත් කර, ඇතුළත් කරන්න.
- Verify (compare with source) and validate (rules); keep a backup.Verify (මූලාශ්රය සමඟ) සහ validate (නීති); backup තබන්න.
Notesසටහන්
Many school libraries still use book cards in a wooden drawer, and every class has a paper student register. Converting these to an electronic database makes searching, sorting and reporting fast. In this note you will turn the headings on a card or register into fields, each card or line into a record, and choose the right data type and field size for every field.බොහෝ පාසල් පුස්තකාල තවමත් ලී ලාච්චුවක පොත් කාඩ්පත් භාවිත කරන අතර සෑම පන්තියකටම කඩදාසි ශිෂ්ය ලේඛනයක් ඇත. මේවා ඉලෙක්ට්රොනික දත්ත සමුදායකට පරිවර්තනය කිරීමෙන් සෙවීම, පිළිවෙළට සැකසීම සහ report සෑදීම වේගවත් වේ. මෙම සටහනේ කාඩ්පතක හෝ ලේඛනයක ශීර්ෂ fields බවටත්, සෑම කාඩ්පතක් හෝ පේළියක් record එකක් බවටත් පත් කර, සෑම field එකකටම නිවැරදි data type සහ field size තෝරමු.
1. From card to record1. කාඩ්පතේ සිට record එකට
| ManualManual | Electronicඉලෙක්ට්රොනික |
|---|---|
| The card drawer / register bookකාඩ් ලාච්චුව / ලේඛන පොත | A table (tblBook / tblStudent)Table එකක් (tblBook / tblStudent) |
| A heading printed on the card / a column of the registerකාඩ්පතේ මුද්රිත ශීර්ෂයක් / ලේඛනයේ තීරුවක් | A fieldField එකක් |
| One card / one line of the registerඑක් කාඩ්පතක් / ලේඛනයේ එක් පේළියක් | One recordඑක් record එකක් |
| Accession number / admission numberAccession අංකය / ඇතුළත් කිරීමේ අංකය | The primary keyPrimary key එක |
2. Steps to convert2. පරිවර්තන පියවර
- Study the cards/register – list every heading.කාඩ්පත්/ලේඛනය අධ්යයනය – සෑම ශීර්ෂයක්ම ලැයිස්තු කරන්න.
- Choose fields – keep useful headings; split combined ones (e.g. ‘Class & Teacher’ → ClassID and ClassTeacher in another table).Fields තෝරන්න – ප්රයෝජනවත් ශීර්ෂ තබන්න; ඒකාබද්ධ ඒවා බෙදන්න (උදා ‘පන්තිය සහ ගුරුවරයා’ → ClassID සහ වෙනත් table එකක ClassTeacher).
- Name each field clearly (no spaces: DateOfBirth).සෑම field එකක්ම පැහැදිලිව නම් කරන්න (හිස්තැන් නැත: DateOfBirth).
- Choose data types and field sizes by looking at the longest real value.දිගම සැබෑ අගය බලා data types සහ field sizes තෝරන්න.
- Set the primary key (accession or admission number).Primary key එක සකසන්න (accession හෝ ඇතුළත් කිරීමේ අංකය).
- Enter the records, then check them against the cards (verification).Records ඇතුළත් කර කාඩ්පත් සමඟ පරීක්ෂා කරන්න (verification).
- Keep the paper copy until the electronic data is checked and backed up.ඉලෙක්ට්රොනික දත්ත පරීක්ෂා කර backup කරන තුරු කඩදාසි පිටපත තබාගන්න.
3. Example 1: library book card → tblBook3. උදාහරණය 1: පුස්තකාල කාඩ්පත → tblBook
| Card headingකාඩ්පත් ශීර්ෂය | Field nameField name | Data typeData type | Field sizeField size |
|---|---|---|---|
| Acc. No.Acc. No. | BookIDBookID | Short TextShort Text | 44 |
| TitleTitle | TitleTitle | Short TextShort Text | 6060 |
| AuthorAuthor | AuthorAuthor | Short TextShort Text | 4040 |
| CategoryCategory | CategoryCategory | Short TextShort Text | 1515 |
| PricePrice | PricePrice | CurrencyCurrency | Rs.Rs. |
| CopiesCopies | CopiesCopies | NumberNumber | IntegerInteger |
Card B001 becomes the record B001 | Madol Doova | Martin Wickramasinghe | Novel | 750 | 3. After all 8 cards are typed, tblBook has 8 records.කාඩ්පත B001, B001 | Madol Doova | Martin Wickramasinghe | Novel | 750 | 3 record එක බවට පත්වේ. කාඩ්පත් 8 ම ඇතුළත් කළ පසු tblBook හි records 8 ක් ඇත.
4. Example 2: class student register → tblStudent4. උදාහරණය 2: පන්ති ශිෂ්ය ලේඛනය → tblStudent
| Register columnලේඛන තීරුව | Field nameField name | Data typeData type | Field size / formatField size / format |
|---|---|---|---|
| Adm. No.Adm. No. | AdmNoAdmNo | NumberNumber | Long IntegerLong Integer |
| Name of studentName of student | StudentNameStudentName | Short TextShort Text | 4040 |
| ClassClass | ClassIDClassID | Short TextShort Text | 33 |
| Date of birthDate of birth | DateOfBirthDateOfBirth | Date/TimeDate/Time | Short DateShort Date |
| ICT mark (Term 1)ICT mark (Term 1) | ICTMarksICTMarks | NumberNumber | IntegerInteger |
| Prefect (✔)Prefect (✔) | PrefectPrefect | Yes/NoYes/No | Yes/NoYes/No |
5. Common problems when converting5. පරිවර්තනයේදී ඇතිවන ගැටලු
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1What does each card in a card file become?කාඩ් ගොනුවක සෑම කාඩ්පතක්ම බවට පත්වන්නේ කුමක්ද?
2What do the headings on a card become?කාඩ්පතක ශීර්ෂ බවට පත්වන්නේ කුමක්ද?
3Which register column is the best primary key?හොඳම primary key වන ලේඛන තීරුව කුමක්ද?
4Distinguish verification and validation.Verification සහ validation වෙන්කර දක්වන්න.
5How is a tick (✔) in a register stored?ලේඛනයක tick (✔) ගබඩා වන්නේ කෙසේද?
6Why keep the paper copy for a while?කඩදාසි පිටපත කලක් තබා ගන්නේ ඇයි?
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1When converting a card file, each card becomes a…කාඩ් ගොනුවක් පරිවර්තනයේදී සෑම කාඩ්පතක්ම…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Card = record.කාඩ්පත = record.
2The heading ‘Author’ on a book card becomes a…පොත් කාඩ්පතේ ‘Author’ ශීර්ෂය…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Heading = field.ශීර්ෂය = field.
3The whole card drawer becomes a…සම්පූර්ණ කාඩ් ලාච්චුව…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Table.Table.
4The best primary key for library books is the…පුස්තකාල පොත් සඳහා හොඳම primary key එක…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Unique.අනන්යයි.
5The library in this note has 8 book cards, each with 6 headings. After typing them all, tblBook has…මෙම සටහනේ පුස්තකාලයේ ශීර්ෂ 6 බැගින් ඇති පොත් කාඩ්පත් 8 ක් ඇත. සියල්ල ඇතුළත් කළ පසු tblBook හි ඇත්තේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
8 books.පොත් 8.
6The register column ‘Date of birth’ should be…‘උපන් දිනය’ ලේඛන තීරුව විය යුත්තේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Date.දිනය.
7A tick (✔) in a ‘Prefect’ column becomes…‘Prefect’ තීරුවේ tick (✔) එකක්…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Yes/No.Yes/No.
8Checking typed records against the original cards is…ඇතුළත් කළ records මුල් කාඩ්පත් සමඟ පරීක්ෂා කිරීම…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Verification.Verification.
9A rule that stops a price below 0 is…0 ට අඩු මිලක් වළක්වන නීතිය…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Validation rule.Validation rule.
10Two cards have accession number B001. When typed, the second one…කාඩ්පත් දෙකක accession අංකය B001 වේ. ඇතුළත් කරන විට දෙවැන්න…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
No duplicate keys.අනුපිටපත් keys නැත.
11‘M. Wickramasinghe’ and ‘Martin Wickramasinghe’ for the same author should be…එකම කතුවරයා සඳහා ‘M. Wickramasinghe’ සහ ‘Martin Wickramasinghe’…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Consistency.ඒකාකාරීත්වය.
12The heading ‘Class & Teacher’ on a register is best…ලේඛනයක ‘පන්තිය සහ ගුරුවරයා’ ශීර්ෂය වඩාත් හොඳ වන්නේ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
One fact per field.Field එකකට එක් කරුණක්.
13A suitable field size for Title (longest title 22 characters) is…Title සඳහා සුදුසු field size (දිගම මාතෘකාව අක්ෂර 22)…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Room to grow.වර්ධනයට ඉඩ.
14Text read from a register photo by an AI/scan app should be…AI/scan app එකකින් ලේඛන ඡායාරූපයකින් කියවූ පෙළ…
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Check.පරීක්ෂා කරන්න.
15The paper register should be kept until the electronic data is…ඉලෙක්ට්රොනික දත්ත… තෙක් කඩදාසි ලේඛනය තබා ගත යුතුය
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Safety.ආරක්ෂාව.
MCQ answer keyMCQ පිළිතුරු
- A – Card = record.කාඩ්පත = record.
- C – Heading = field.ශීර්ෂය = field.
- A – Table.Table.
- B – Unique.අනන්යයි.
- C – 8 books.පොත් 8.
- D – Date.දිනය.
- C – Yes/No.Yes/No.
- D – Verification.Verification.
- B – Validation rule.Validation rule.
- A – No duplicate keys.අනුපිටපත් keys නැත.
- B – Consistency.ඒකාකාරීත්වය.
- C – One fact per field.Field එකකට එක් කරුණක්.
- A – Room to grow.වර්ධනයට ඉඩ.
- D – Check.පරීක්ෂා කරන්න.
- B – Safety.ආරක්ෂාව.
Structured Questionsව්යුහගත ප්රශ්න
1A library card shows: Acc. No., Title, Author, Category, Price, Copies. Write the field name, data type and field size for each. (6 marks)පුස්තකාල කාඩ්පතක ඇත: Acc. No., Title, Author, Category, Price, Copies. එක් එකක field name, data type සහ field size ලියන්න. (ලකුණු 6) (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2List four steps to convert a class register into an electronic database. (4 marks)පන්ති ලේඛනයක් ඉලෙක්ට්රොනික දත්ත සමුදායකට පරිවර්තනය කිරීමේ පියවර හතරක් ලැයිස්තු කරන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3(i) What is verification? (1 mark)
(ii) Give one method. (1 mark)(i) Verification යනු කුමක්ද? (ලකුණු 1)
(ii) එක් ක්රමයක් දෙන්න. (ලකුණු 1) (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Give two problems that may occur while converting a card file and how to solve each. (4 marks)කාඩ් ගොනුවක් පරිවර්තනයේදී ඇතිවිය හැකි ගැටලු දෙකක් සහ එක් එකකට විසඳුම දෙන්න. (ලකුණු 4) (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Write the register line ‘24103 – Nethmi Fernando – 10B – 25.01.2010 – 91 – ✔’ as a record of tblStudent with field names. (3 marks)‘24103 – Nethmi Fernando – 10B – 25.01.2010 – 91 – ✔’ ලේඛන පේළිය field names සමඟ tblStudent record එකක් ලෙස ලියන්න. (ලකුණු 3) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- Card/register line → record; heading → field.කාඩ්පත/ලේඛන පේළිය → record; ශීර්ෂය → field.
- Card drawer / register → table.කාඩ් ලාච්චුව / ලේඛනය → table.
- Accession / admission number → primary key.Accession / ඇතුළත් කිරීමේ අංකය → primary key.
- Choose data types and sizes from real values.සැබෑ අගයන්ගෙන් data types සහ sizes තෝරන්න.
- Split combined headings; one fact per field.ඒකාබද්ධ ශීර්ෂ බෙදන්න; field එකකට එක් කරුණක්.
- Use a standard form for names and dates.නම් සහ දින සඳහා සම්මත ආකාරයක් භාවිත කරන්න.
- Verify typed data; validation catches nonsense.ඇතුළත් කළ දත්ත verify කරන්න; validation අර්ථ විරහිත දේ අල්ලයි.
- 2026: scan/AI help, but a person checks; back up.2026: scan/AI උදව්, නමුත් පුද්ගලයෙකු පරීක්ෂා කරයි; backup.
