Friday, May 8, 2026

Unit 7: System Development & Programming Concepts – GCE A/L Exam NOTES | DFD Context Diagram Focus | A/L Computing | Questions and Answers

๐Ÿ“˜ GCE A/L ICT – UNIT 7

System Development & Programming Concepts

Complete exam-focused notes for Sri Lankan GCE Advanced Level ICT


๐Ÿ”ท 7.1 Introduction to System Development

๐Ÿ”น What is a System?

A system is a collection of interrelated components working together to achieve a common goal.

๐Ÿ“Œ Example: School Management System

ComponentDescription
InputsStudent data, attendance, marks
ProcessesAttendance tracking, marks calculation, report generation
OutputsReports, results, certificates

๐Ÿ”น Types of Systems

TypeCharacteristicsExample
Manual Systems • Paper-based
• Human-operated
• Slower processing
Attendance register, paper files
Computer-Based Systems • Automated
• Software-driven
• Faster & accurate
School ERP, Library Management System

๐Ÿ”น What is System Development?

The process of creating or modifying a system to meet user requirements and solve problems.

๐Ÿ’ก Key Point: System development follows a structured approach called SDLC to ensure quality and efficiency.
๐Ÿ”„ 7.2 SDLC – System Development Life Cycle

๐Ÿ”น Definition

SDLC is a structured, phased process followed to plan, create, test, and deploy an information system.

๐Ÿ”น The 7 Phases of SDLC

Planning → Analysis → Design → Development → Testing → Implementation → Maintenance
  1. Planning
    • Identify the problem/need
    • Conduct feasibility study
    • Define project scope & resources
  2. Analysis
    • Study current system
    • Gather user requirements
    • Create Requirement Specification Document
  3. Design
    • System architecture
    • Database design (ERD)
    • UI/UX mockups & DFDs
  4. Development
    • Actual coding/programming
    • Database implementation
    • Module integration
  5. Testing
    • Find & fix bugs
    • Unit testing, system testing
    • User acceptance testing (UAT)
  6. Implementation
    • Install & deploy system
    • Train users
    • Data migration
  7. Maintenance
    • Fix post-launch issues
    • Apply updates & patches
    • Add new features

๐Ÿ”น SDLC Example: Library System

PhaseActivity
PlanningIdentify need to manage books digitally
AnalysisInterview librarians, list requirements
DesignCreate database schema + UI wireframes
DevelopmentCode the system in chosen language
TestingTest borrowing, returning, fine calculation
ImplementationInstall in library, train staff
MaintenanceFix bugs, add e-book feature later
๐ŸŽฏ Exam Tip: Memorize the 7 phases IN ORDER. A common 4-mark question asks you to list them sequentially.
๐Ÿ“Š 7.3 Feasibility Study (TEOS)

๐Ÿ”น Purpose

❓ Key Question: "Is this system worth developing?"
Feasibility study evaluates if the project is practical, affordable, and achievable.

๐Ÿ”น Types of Feasibility (TEOS)

TypeKey QuestionExample
Technical ๐Ÿ”ง Do we have the technology & skills? Need mobile app developers, cloud server
Economic ๐Ÿ’ฐ Do benefits > costs? Cost: Rs.500k | Benefit: Rs.1M → ✅ Feasible
Operational ๐Ÿ‘ฅ Will users accept & use it? Can teachers learn the new system easily?
Schedule ๐Ÿ“… Can it be done on time? Can we finish before next academic year?

๐Ÿ”น Economic Feasibility Formula

Feasible if:
Expected Benefits > Development + Operational Costs

Example Calculation:

  • ๐Ÿ’ธ Development Cost: Rs. 500,000
  • ๐Ÿ“ˆ Annual Benefit: Rs. 300,000 × 4 years = Rs. 1,200,000
  • Net Gain: Rs. 700,000 → Project is feasible!
๐ŸŽฏ Exam Trick: If asked "Explain feasibility study", use the TEOS structure + one calculation example for full marks.
๐Ÿ”ท 7.4-7.5 Data Flow Diagrams (DFD)

๐Ÿ”น What is a DFD?

A Data Flow Diagram is a graphical representation showing how data moves through a system – from input, through processes, to output.

๐Ÿ”น DFD Symbols (MEMORIZE FOR EXAMS)

SymbolNameMeaningExample
○ CircleProcessTransforms input to output"Calculate Marks"
➜ ArrowData FlowMovement of data"Student Details"
▭ RectangleExternal EntitySource/destination outside systemStudent, Admin, Bank
▭▭ Open RectangleData StoreWhere data is storedDatabase, File

๐Ÿ”น Levels of DFD

๐ŸŽฏ Exam Focus: You MUST know Context Diagram (Level 0) in detail!
  • Level 0 (Context Diagram): Entire system as ONE process + external entities
  • Level 1 DFD: Breaks system into major sub-processes
  • Level 2+ DFD: Further decomposition of processes

๐Ÿ”น Context Diagram – EXAM CRITICAL

✅ What it Shows:
  • The whole system as a single process
  • All external entities interacting with it
  • Data flows between entities and system

๐Ÿ”น How to Draw: 4 Simple Steps

  1. Identify the System
    Example: [ Student Registration System ]
  2. Identify External Entities
    Example: [Student] [Admin] [Examination Dept]
  3. Map Inputs & Outputs
    EntityInput to SystemOutput from System
    StudentRegistration detailsConfirmation SMS
    AdminCourse dataEnrollment reports
  4. Draw Labeled Arrows
    [Student] → Registration Details → [System]

๐Ÿ”น Critical Rules (MCQ Gold)

✔ MUST DO:
  • Only ONE process box (the whole system)
  • NO internal processes or data stores
  • ALL external entities must be shown
  • EVERY arrow must have a clear label
  • Arrows show direction of data flow
❌ AVOID THESE MISTAKES:
  • Drawing multiple process circles ❌
  • Adding database symbols ❌
  • Unlabeled arrows ❌
  • Missing key entities ❌
๐Ÿงฎ 7.6 Algorithms & 7.7 Flowcharts

๐Ÿ”น Algorithm Definition

An algorithm is a finite, step-by-step procedure written in simple language to solve a specific problem.

๐Ÿ”น Characteristics of a Good Algorithm

CharacteristicMeaning
FiniteMust have a definite end point
ClearEach step must be unambiguous
LogicalSteps must follow correct order
EffectiveMust solve the problem correctly
Input/OutputMust have defined inputs & outputs

๐Ÿ”น Algorithm Writing Rules (Exam)

  • ✓ Use numbered steps (1, 2, 3...)
  • ✓ Use simple, plain English (no code syntax)
  • ✓ Start with INPUT and end with STOP/END
  • ✓ Use IF-THEN-ELSE for decisions
  • ✓ Keep each step atomic (one action per step)

๐Ÿ”น Example: Find Largest of 3 Numbers

1. INPUT A, B, C 2. IF A > B AND A > C THEN 3. PRINT "Largest is", A 4. ELSE IF B > C THEN 5. PRINT "Largest is", B 6. ELSE 7. PRINT "Largest is", C 8. END IF 9. STOP

๐Ÿ”น Flowchart Definition & Symbols

A flowchart is a graphical representation of an algorithm using standardized symbols.

SymbolNamePurpose
⬭ OvalTerminalStart/End points
▭ RectangleProcessCalculation/action step
◇ DiamondDecisionYes/No condition check
➜ ArrowFlow LineDirection of execution
▱ ParallelogramInput/OutputRead data / Display result
๐Ÿ’ก Exam Tip: Always label decision branches with "Yes/No"! Missing labels cost marks.
๐Ÿ’ป 7.8 Programming Concepts

๐Ÿ”น Variables & Data Types

Named storage locations that hold data values.

Example:
int age = 20;
String name = "Student";
boolean isActive = true;

๐Ÿ”น Basic Data Types

Data TypeStoresExample
IntegerWhole numbers25, -10, 0
Float/DoubleDecimal numbers3.14, -0.5
StringText characters"Hello", "A/L 2026"
BooleanTrue/False valuestrue, false

๐Ÿ”น Operators

๐Ÿ”ข Arithmetic: + - * / % ⚖️ Comparison: == != > < >= <= ๐Ÿ”— Logical: AND(&&), OR(||), NOT(!) ๐Ÿ“ Assignment: = += -=

๐Ÿ”น Control Structures (CORE CONCEPT)

1️⃣ Sequence

Statements executed in order, one after another.

INPUT name PRINT "Hello", name CALCULATE total PRINT total

2️⃣ Selection (Decision)

Execute different code based on a condition.

IF-ELSE Example:
IF marks >= 50 THEN PRINT "PASS" ELSE PRINT "FAIL" END IF

3️⃣ Iteration (Loop)

Repeat a block of code multiple times.

FOR Loop Example:
FOR i = 1 TO 10 STEP 1 PRINT i NEXT i
๐Ÿงช 7.9 Testing & Debugging

๐Ÿ”น Testing vs Debugging

TestingDebugging
• Finding errors/bugs
• Done BEFORE release
• Uses test data
• Fixing identified errors
• Done AFTER testing
• Requires code analysis

๐Ÿ”น Types of Testing

TypePurposeExample
Unit Testing Test individual modules/functions Test "calculateTotal()" function alone
System Testing Test complete integrated system Test full library borrowing workflow
Acceptance Testing User validates system meets needs Librarian tests before going live

๐Ÿ”น Test Data Types (EXAM FAVORITE)

TypeExample (marks 0-100)Purpose
Normal Data 50, 75, 90 Verify expected valid inputs work
Boundary Data ๐ŸŽฏ 0, 100 Test edge limits of valid range
Invalid Data -10, 150, "abc" Check error handling & validation

๐Ÿ”น Input Validation Techniques

๐Ÿ“ Range Check: 0 ≤ marks ≤ 100 ✉️ Format Check: email@domain.com ๐Ÿ”ข Type Check: isNumeric(phone) ✅ Presence Check: name != empty ๐Ÿ” Length Check: password ≥ 8 chars
๐Ÿš€ 7.10 Implementation Methods

๐Ÿ”น When to Use Each Method

MethodBest ForProsCons
Direct
(Big Bang)
Small, low-risk systems • Fast
• Low cost
• High risk
• No fallback
Parallel Critical systems (Banks, Hospitals) • Safe
• Easy rollback
• Expensive
• Double work
Pilot Large organizations (Test in one branch) • Low risk
• Real-world feedback
• Slow rollout
• Branch comparison issues
Phased
(Modular)
Complex modular systems • Manageable
• Early benefits
• Integration challenges
• Longer timeline
๐ŸŽฏ Exam Answer Template:
"For a banking system, I would recommend Parallel Implementation because:
✓ Critical data must not be lost
✓ Old system can run as backup
✓ Users can be trained gradually
✓ Errors can be fixed without stopping service"
๐Ÿ“„ Pass Paper Questions & Model Answers

๐Ÿ”น Question 1 (2 Marks)

Define SDLC.

✅ Model Answer:
SDLC (System Development Life Cycle) is a structured, phased process used to plan, create, test, deploy, and maintain information systems through stages such as planning, analysis, design, development, testing, implementation, and maintenance.

๐Ÿ”น Question 2 (4 Marks)

List 4 phases of SDLC.

✅ Model Answer:
Planning Analysis Design Implementation

๐Ÿ”น Question 3 (2 Marks)

What is a feasibility study?

✅ Model Answer:
A feasibility study is the process of evaluating whether a proposed system is practical, affordable, technically achievable, and worth developing before committing resources to the project.

๐Ÿ”น Question 4 (6 Marks) – Context Diagram

Draw a context diagram for a Library Management System.

✅ Model Answer Structure:
  1. Center: [ Library Management System ]
  2. External Entities: Member Librarian Supplier
  3. Data Flows:
    • Member → Book Request → System
    • System → Borrow Confirmation → Member
    • Librarian → Update Catalog → System
    • System → Overdue Report → Librarian
✨ Must have: 1 process, labeled arrows, all entities, no data stores

๐Ÿ”น Question 5 (2 Marks)

State two programming control structures.

✅ Model Answer:
Selection (IF-ELSE) Iteration (FOR/WHILE loops)
๐ŸŒŸ Beginner-Friendly Quick Review

๐Ÿ”น Super Simple Summary Table

TermSuper Simple MeaningMemory Trick
SDLCBuild → Test → Use → Maintain๐Ÿ”„ 4-step cycle
DFDHow data moves➜ Arrow diagram
AlgorithmStep-by-step problem solver๐Ÿ“‹ Recipe
FlowchartPicture of an algorithm๐Ÿ–ผ️ Visual steps
TestingFinding bugs before launch๐Ÿ” Check first
DebuggingFixing bugs after testing๐Ÿ”ง Repair mode
Direct ChangeoverSwitch old→new in one day⚡ Fast but risky
ParallelRun old+new together๐Ÿ›ก️ Safe but costly

๐Ÿ”น Exam Keyword → Answer Trick

๐Ÿ” Question Keyword✅ Write This
"daily transactions", "billing", "ATM"TPS
"reports", "summary", "analysis"MIS
"decision", "strategy", "future plan"DSS
"step by step", "cannot go back"Waterfall
"flexible", "user feedback", "changing"Agile
"fast", "prototype", "ready-made"RAD
๐Ÿง  FINAL MASTER TIP

๐Ÿ‘‰ For DFD Questions:
✓ Draw neatly with pencil & ruler
Label EVERY arrow with data name
✓ Use correct symbols ONLY
✓ Keep system as ONE process box

๐Ÿ‘‰ For Algorithm Questions:
✓ Start with INPUT, end with STOP
✓ Use numbered steps
✓ Test your logic with sample values!

No comments:

Post a Comment