Logical and Physical Design of the Proposed System – Grade 12 A/L ICT Notes 7.7

© 2026 schoolict.net (Ruwan Mangala Suraweera)

7.7 Logical and Physical Design of the Proposed Systemයෝජිත පද්ධතියේ තාර්කික සහ භෞතික සැලසුම

Grade 12 A/L ICT · Lesson 712 ශ්‍රේණිය A/L ICT · පාඩම 7

Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්‍රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.

In this videoමේ වීඩියෝවේ

  • Logical design is technology-free.තාර්කික සැලසුම තාක්ෂණ ස්වාධීනයි.
  • Build bottom-up from elementary processes.මූලික ක්‍රියාවලි සිට ඉහළට.
  • EPDs are written in pseudocode.EPD pseudocode වලින්.
  • Data dictionary holds field metadata.දත්ත ශබ්දකෝෂයේ metadata.
  • Record size = sum of field sizes.වාර්තා ප්‍රමාණය = ක්ෂේත්‍ර එකතුව.
Logical designPhysical designLogical DFDPseudocodeUser interfaceData dictionaryRecord specification

Notesසටහන්

Syllabus 7.7. Design turns requirements into a blueprint. In logical design you redraw DFDs for the proposed system, write elementary process descriptions in pseudocode, design the user interface and the logical data structure. In physical design you specify tables and records, build a data dictionary and design the database.විෂය නිර්දේශය 7.7. තාර්කික සැලසුමේදී යෝජිත පද්ධතියට DFD, pseudocode EPD, පරිශීලක අතුරුමුහුණත සහ LDS සාදයි. භෞතික සැලසුමේදී වගු සහ වාර්තා පිරිවිතර, දත්ත ශබ්දකෝෂය සහ දත්ත සමුදාය සැලසුම් කරයි.

1. Logical design1. තාර්කික සැලසුම

Logical design removes physical details (who, where, paper) from the current DFD and adds new requirements. Analysts build bottom-up: start from elementary processes, group them into level 1, then check the context diagram still balances.තාර්කික සැලසුම භෞතික විස්තර ඉවත් කර නව අවශ්‍යතා එකතු කරයි. පහළ-ඉහළ: මූලික ක්‍රියාවලි → මට්ටම 1 → සන්දර්භ රූපය.

📝 EPD in pseudocodepseudocode EPD

PROCESS 2.1 Validate admission
  INPUT StudentID, Name, DateOfBirth
  IF StudentID length <> 6 THEN
     DISPLAY "Invalid ID"
  ELSE IF age < 5 THEN
     DISPLAY "Too young"
  ELSE
     WRITE record to D1 Students
  ENDIF
END PROCESS

2. User interface design2. පරිශීලක අතුරුමුහුණත

  • Consistent layout, colours and button positions.ඒකාකාර පිරිසැලසුම සහ බොත්තම්.
  • Clear labels, input masks and drop-down lists to reduce errors.පැහැදිලි ලේබල්, drop-down ලැයිස්තු.
  • Helpful error messages and confirmation before delete.උපකාරී දෝෂ පණිවිඩ.

3. Physical design and data dictionary3. භෞතික සැලසුම සහ දත්ත ශබ්දකෝෂය

Logical data structure – one-to-many relationshipsClassStudentResultone Class has many Students; one Student has many Results
Proposed LDSයෝජිත LDS
Fieldක්ෂේත්‍රයTypeවර්ගයSize (bytes)ප්‍රමාණය (බයිට්)
StudentIDStudentIDTextText66
NameNameTextText3030
DateOfBirthDateOfBirthDateDate88
ClassCodeClassCodeTextText44
PhonePhoneTextText1010
Record totalවාර්තා එකතුව5858
🧮 Worked exampleවිසඳූ උදාහරණය Estimate the Student table size for 1500 records.වාර්තා 1500 සඳහා Student වගු ප්‍රමාණය.
Record size = 6 + 30 + 8 + 4 + 10 = 58 bytes. Table = 58 × 1500 = 87,000 bytes ≈ 84.96 KB.වාර්තාව = බයිට් 58. වගුව = බයිට් 87,000 ≈ 84.96 KB.

A data dictionary stores metadata for every field: name, type, size, format, validation rule, primary/foreign key and description. The database design then sets primary keys (StudentID), foreign keys (ClassCode) and indexes.දත්ත ශබ්දකෝෂය සෑම ක්ෂේත්‍රයකම නම, වර්ගය, ප්‍රමාණය, වලංගු නීතිය, ප්‍රාථමික/විදේශීය යතුර ගබඩා කරයි.

💡 Logical = what data and processes; physical = exact tables, field types and sizes.තාර්කික = කුමක්ද; භෞතික = නිශ්චිත වගු.
🚀 Beyond the syllabus (2026 update)🚀 විෂය නිර්දේශයෙන් ඔබ්බට (2026 යාවත්කාලීනය) Not required for the exam – read for interest.විභාගයට අවශ්‍ය නැත – දැනුම සඳහා කියවන්න. Low-code platforms in 2026 can generate forms and tables directly from a data dictionary.2026 low-code වේදිකා දත්ත ශබ්දකෝෂයෙන් පෝරම සහ වගු සාදයි.

Key Wordsප්‍රධාන පද

Logical designතාර්කික සැලසුම
Technology-independent design of processes and data.තාක්ෂණ ස්වාධීන සැලසුම.
Physical designභෞතික සැලසුම
Design with actual tables, fields and programs.සැබෑ වගු සහිත සැලසුම.
Logical DFDතාර්කික DFD
DFD of the proposed system without physical details.භෞතික විස්තර නැති DFD.
Pseudocodeව්‍යාජ කේතය
Structured English for process logic.ක්‍රියාවලි තර්කයට ව්‍යුහගත ඉංග්‍රීසි.
User interfaceපරිශීලක අතුරුමුහුණත
Screens and forms users interact with.පරිශීලකයින් භාවිත කරන තිර.
Data dictionaryදත්ත ශබ්දකෝෂය
Store of metadata describing every field.ක්ෂේත්‍ර විස්තර කරන metadata.
Record specificationවාර්තා පිරිවිතර
Fields, types and sizes in one record.වාර්තාවක ක්ෂේත්‍ර සහ ප්‍රමාණ.
Table specificationවගු පිරිවිතර
Structure, keys and indexes of a table.වගුවක ව්‍යුහය සහ යතුරු.
Primary keyප්‍රාථමික යතුර
Field that uniquely identifies a record.වාර්තාව අනන්‍යව හඳුනා ගන්නා ක්ෂේත්‍රය.
Foreign keyවිදේශීය යතුර
Field linking to a primary key in another table.වෙනත් වගුවක ප්‍රාථමික යතුරට සම්බන්ධ.
Validation ruleවලංගු කිරීමේ නීතිය
Check that input data is sensible.ආදාන දත්ත පරීක්ෂාව.
Bottom-up designපහළ-ඉහළ සැලසුම
Building from elementary processes up to context.මූලික ක්‍රියාවලි සිට ඉහළට.

Sample Q&Aආදර්ශ ප්‍රශ්න සහ පිළිතුරු

1What is logical design?තාර්කික සැලසුම?

Answerපිළිතුර: A technology-free design of what the new system processes and stores.තාක්ෂණයෙන් නිදහස් සැලසුම.

2Activities in logical design?තාර්කික සැලසුම් ක්‍රියා?

Answerපිළිතුර: Logical DFDs, EPDs, UI design, logical data structure.DFD, EPD, UI, LDS.

3What does a data dictionary contain?දත්ත ශබ්දකෝෂයේ?

Answerපිළිතුර: Field name, type, size, format, validation and key information.නම, වර්ගය, ප්‍රමාණය, වලංගු නීති, යතුරු.

4Record size for the Student table?වාර්තා ප්‍රමාණය?

Answerපිළිතුර: 58 bytes.බයිට් 58.

5Why use a foreign key?විදේශීය යතුර ඇයි?

Answerපිළිතුර: To link related tables, e.g. Student.ClassCode to Class.වගු සම්බන්ධ කිරීමට.

6Give two UI design rules.UI නීති දෙකක්.

Answerපිළිතුර: Consistency; clear error messages (also drop-downs to avoid typing errors).ඒකාකාරිත්වය; පැහැදිලි දෝෂ පණිවිඩ.

MCQබහුවරණ ප්‍රශ්න

Choose the correct answer for each question.සෑම ප්‍රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.

Scoreලකුණු: 0 / 20

1Designing exact tables and field sizes isනිශ්චිත වගු

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Physical.භෞතික.

2Metadata about every field is kept in themetadata

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Data dictionary.දත්ත ශබ්දකෝෂය.

3A field that uniquely identifies a record is aඅනන්‍ය ක්ෂේත්‍රය

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Primary key.ප්‍රාථමික.

4Record size of the Student table isවාර්තා ප්‍රමාණය

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Sum of fields.එකතුව.

51500 records of 58 bytes needවගු ප්‍රමාණය

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Record × count.වාර්තා × ගණන.

6Building from elementary processes up to the context diagram isපහළ-ඉහළ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Bottom-up.පහළ-ඉහළ.

7Process logic in structured English isව්‍යුහගත ඉංග්‍රීසි

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Pseudocode.ව්‍යාජ කේතය.

8Using drop-down lists on forms mainlydrop-down

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Fewer errors.අඩු දෝෂ.

9Which term means: “Technology-independent design of processes and data”?“තාක්ෂණ ස්වාධීන සැලසුම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Logical design – Technology-independent design of processes and data.තාර්කික සැලසුම – තාක්ෂණ ස්වාධීන සැලසුම.

10Which term means: “Design with actual tables, fields and programs”?“සැබෑ වගු සහිත සැලසුම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Physical design – Design with actual tables, fields and programs.භෞතික සැලසුම – සැබෑ වගු සහිත සැලසුම.

11Which term means: “DFD of the proposed system without physical details”?“භෞතික විස්තර නැති DFD” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Logical DFD – DFD of the proposed system without physical details.තාර්කික DFD – භෞතික විස්තර නැති DFD.

12Which term means: “Structured English for process logic”?“ක්‍රියාවලි තර්කයට ව්‍යුහගත ඉංග්‍රීසි” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Pseudocode – Structured English for process logic.ව්‍යාජ කේතය – ක්‍රියාවලි තර්කයට ව්‍යුහගත ඉංග්‍රීසි.

13Which term means: “Screens and forms users interact with”?“පරිශීලකයින් භාවිත කරන තිර” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

User interface – Screens and forms users interact with.පරිශීලක අතුරුමුහුණත – පරිශීලකයින් භාවිත කරන තිර.

14Which term means: “Store of metadata describing every field”?“ක්ෂේත්‍ර විස්තර කරන metadata” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Data dictionary – Store of metadata describing every field.දත්ත ශබ්දකෝෂය – ක්ෂේත්‍ර විස්තර කරන metadata.

15Which term means: “Fields, types and sizes in one record”?“වාර්තාවක ක්ෂේත්‍ර සහ ප්‍රමාණ” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Record specification – Fields, types and sizes in one record.වාර්තා පිරිවිතර – වාර්තාවක ක්ෂේත්‍ර සහ ප්‍රමාණ.

16Which term means: “Structure, keys and indexes of a table”?“වගුවක ව්‍යුහය සහ යතුරු” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Table specification – Structure, keys and indexes of a table.වගු පිරිවිතර – වගුවක ව්‍යුහය සහ යතුරු.

17Which term means: “Field that uniquely identifies a record”?“වාර්තාව අනන්‍යව හඳුනා ගන්නා ක්ෂේත්‍රය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Primary key – Field that uniquely identifies a record.ප්‍රාථමික යතුර – වාර්තාව අනන්‍යව හඳුනා ගන්නා ක්ෂේත්‍රය.

18Which term means: “Field linking to a primary key in another table”?“වෙනත් වගුවක ප්‍රාථමික යතුරට සම්බන්ධ” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Foreign key – Field linking to a primary key in another table.විදේශීය යතුර – වෙනත් වගුවක ප්‍රාථමික යතුරට සම්බන්ධ.

19Which term means: “Check that input data is sensible”?“ආදාන දත්ත පරීක්ෂාව” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Validation rule – Check that input data is sensible.වලංගු කිරීමේ නීතිය – ආදාන දත්ත පරීක්ෂාව.

20Which term means: “Building from elementary processes up to context”?“මූලික ක්‍රියාවලි සිට ඉහළට” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Bottom-up design – Building from elementary processes up to context.පහළ-ඉහළ සැලසුම – මූලික ක්‍රියාවලි සිට ඉහළට.

MCQ answer keyMCQ පිළිතුරු

  1. D – Physical.භෞතික.
  2. A – Data dictionary.දත්ත ශබ්දකෝෂය.
  3. B – Primary key.ප්‍රාථමික.
  4. C – Sum of fields.එකතුව.
  5. A – Record × count.වාර්තා × ගණන.
  6. D – Bottom-up.පහළ-ඉහළ.
  7. E – Pseudocode.ව්‍යාජ කේතය.
  8. C – Fewer errors.අඩු දෝෂ.
  9. B – Logical design – Technology-independent design of processes and data.තාර්කික සැලසුම – තාක්ෂණ ස්වාධීන සැලසුම.
  10. C – Physical design – Design with actual tables, fields and programs.භෞතික සැලසුම – සැබෑ වගු සහිත සැලසුම.
  11. D – Logical DFD – DFD of the proposed system without physical details.තාර්කික DFD – භෞතික විස්තර නැති DFD.
  12. E – Pseudocode – Structured English for process logic.ව්‍යාජ කේතය – ක්‍රියාවලි තර්කයට ව්‍යුහගත ඉංග්‍රීසි.
  13. B – User interface – Screens and forms users interact with.පරිශීලක අතුරුමුහුණත – පරිශීලකයින් භාවිත කරන තිර.
  14. E – Data dictionary – Store of metadata describing every field.දත්ත ශබ්දකෝෂය – ක්ෂේත්‍ර විස්තර කරන metadata.
  15. B – Record specification – Fields, types and sizes in one record.වාර්තා පිරිවිතර – වාර්තාවක ක්ෂේත්‍ර සහ ප්‍රමාණ.
  16. A – Table specification – Structure, keys and indexes of a table.වගු පිරිවිතර – වගුවක ව්‍යුහය සහ යතුරු.
  17. D – Primary key – Field that uniquely identifies a record.ප්‍රාථමික යතුර – වාර්තාව අනන්‍යව හඳුනා ගන්නා ක්ෂේත්‍රය.
  18. A – Foreign key – Field linking to a primary key in another table.විදේශීය යතුර – වෙනත් වගුවක ප්‍රාථමික යතුරට සම්බන්ධ.
  19. C – Validation rule – Check that input data is sensible.වලංගු කිරීමේ නීතිය – ආදාන දත්ත පරීක්ෂාව.
  20. E – Bottom-up design – Building from elementary processes up to context.පහළ-ඉහළ සැලසුම – මූලික ක්‍රියාවලි සිට ඉහළට.

Structured Questionsව්‍යුහගත ප්‍රශ්න

1Describe logical design and its activities.තාර්කික සැලසුම. (5 marksලකුණු 5)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Technology-free; logical DFDs; EPDs; UI design; LDS.DFD; EPD; UI; LDS.

2Write an EPD in pseudocode to validate a 6-character StudentID.StudentID වලංගු EPD. (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
IF length <> 6 THEN error ELSE write record ENDIF.IF දිග <> 6 THEN දෝෂය.

3List contents of a data dictionary entry.දත්ත ශබ්දකෝෂ ඇතුළත් කිරීම. (6 marksලකුණු 6)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Name; type; size; format; validation; key; description.නම; වර්ගය; ප්‍රමාණය; වලංගු; යතුර.

4Calculate the Student record and table size.වාර්තා සහ වගු ප්‍රමාණය. (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
58 bytes; 58 × 1500 = 87,000 bytes ≈ 84.96 KB.58; 84.96 KB.

5Distinguish primary and foreign keys with an example.ප්‍රාථමික/විදේශීය යතුරු. (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Primary StudentID unique; foreign ClassCode links to Class table.StudentID; ClassCode.

🎮 Game🎮 ක්‍රීඩා

Pick a game. Each one uses words from this lesson.ක්‍රීඩාවක් තෝරන්න. හැම එකක්ම මේ පාඩමේ වචන පාවිච්චි කරනවා.

Summary & Downloadsසාරාංශය සහ බාගත කිරීම්

Key pointsප්‍රධාන කරුණු

  • Logical design is technology-free.තාර්කික සැලසුම තාක්ෂණ ස්වාධීනයි.
  • Build bottom-up from elementary processes.මූලික ක්‍රියාවලි සිට ඉහළට.
  • EPDs are written in pseudocode.EPD pseudocode වලින්.
  • Data dictionary holds field metadata.දත්ත ශබ්දකෝෂයේ metadata.
  • Record size = sum of field sizes.වාර්තා ප්‍රමාණය = ක්ෂේත්‍ර එකතුව.

Downloadsබාගත කිරීම්

Full Lesson 7 PDFසම්පූර්ණ පාඩම 7 PDF: English · සිංහල

Next noteඊළඟ සටහන 7.8 →

© 2026 schoolict.net (Ruwan Mangala Suraweera). All rights reserved.සියලු හිමිකම් ඇවිරිණි.