© 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
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.වාර්තා ප්රමාණය = ක්ෂේත්ර එකතුව.
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. භෞතික සැලසුම සහ දත්ත ශබ්දකෝෂය
| Fieldක්ෂේත්රය | Typeවර්ගය | Size (bytes)ප්රමාණය (බයිට්) |
|---|---|---|
| StudentIDStudentID | TextText | 66 |
| NameName | TextText | 3030 |
| DateOfBirthDateOfBirth | DateDate | 88 |
| ClassCodeClassCode | TextText | 44 |
| PhonePhone | TextText | 1010 |
| Record totalවාර්තා එකතුව | 5858 |
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.දත්ත ශබ්දකෝෂය සෑම ක්ෂේත්රයකම නම, වර්ගය, ප්රමාණය, වලංගු නීතිය, ප්රාථමික/විදේශීය යතුර ගබඩා කරයි.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1What is logical design?තාර්කික සැලසුම?
2Activities in logical design?තාර්කික සැලසුම් ක්රියා?
3What does a data dictionary contain?දත්ත ශබ්දකෝෂයේ?
4Record size for the Student table?වාර්තා ප්රමාණය?
5Why use a foreign key?විදේශීය යතුර ඇයි?
6Give two UI design rules.UI නීති දෙකක්.
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
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 පිළිතුරු
- D – Physical.භෞතික.
- A – Data dictionary.දත්ත ශබ්දකෝෂය.
- B – Primary key.ප්රාථමික.
- C – Sum of fields.එකතුව.
- A – Record × count.වාර්තා × ගණන.
- D – Bottom-up.පහළ-ඉහළ.
- E – Pseudocode.ව්යාජ කේතය.
- C – Fewer errors.අඩු දෝෂ.
- B – Logical design – Technology-independent design of processes and data.තාර්කික සැලසුම – තාක්ෂණ ස්වාධීන සැලසුම.
- C – Physical design – Design with actual tables, fields and programs.භෞතික සැලසුම – සැබෑ වගු සහිත සැලසුම.
- D – Logical DFD – DFD of the proposed system without physical details.තාර්කික DFD – භෞතික විස්තර නැති DFD.
- E – Pseudocode – Structured English for process logic.ව්යාජ කේතය – ක්රියාවලි තර්කයට ව්යුහගත ඉංග්රීසි.
- B – User interface – Screens and forms users interact with.පරිශීලක අතුරුමුහුණත – පරිශීලකයින් භාවිත කරන තිර.
- E – Data dictionary – Store of metadata describing every field.දත්ත ශබ්දකෝෂය – ක්ෂේත්ර විස්තර කරන metadata.
- B – Record specification – Fields, types and sizes in one record.වාර්තා පිරිවිතර – වාර්තාවක ක්ෂේත්ර සහ ප්රමාණ.
- A – Table specification – Structure, keys and indexes of a table.වගු පිරිවිතර – වගුවක ව්යුහය සහ යතුරු.
- D – Primary key – Field that uniquely identifies a record.ප්රාථමික යතුර – වාර්තාව අනන්යව හඳුනා ගන්නා ක්ෂේත්රය.
- A – Foreign key – Field linking to a primary key in another table.විදේශීය යතුර – වෙනත් වගුවක ප්රාථමික යතුරට සම්බන්ධ.
- C – Validation rule – Check that input data is sensible.වලංගු කිරීමේ නීතිය – ආදාන දත්ත පරීක්ෂාව.
- 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ආදර්ශ පිළිතුර පෙන්වන්න
2Write an EPD in pseudocode to validate a 6-character StudentID.StudentID වලංගු EPD. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3List contents of a data dictionary entry.දත්ත ශබ්දකෝෂ ඇතුළත් කිරීම. (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Calculate the Student record and table size.වාර්තා සහ වගු ප්රමාණය. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Distinguish primary and foreign keys with an example.ප්රාථමික/විදේශීය යතුරු. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
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.වාර්තා ප්රමාණය = ක්ෂේත්ර එකතුව.
