Q1. What is an Iteration?
📌 Definition:
Iteration means repeating a set of instructions again and again until a condition is met.
💻 In Programming:
Iteration is used in loops like:
FOR loop
WHILE loop
REPEAT UNTIL loop
🧠 Example (Real Life):
Brushing teeth every morning
Printing numbers from 1 to 10
➡️These are repeated actions → Iteration
Q2: Define initial Requirements of a program.
Before making a program, we must know what the program should do. These are called Initial Requirements.
Q3: What is the Waterfall Model?
A: Waterfall model is a step-by-step method to develop a program where each step must be completed before moving to the
next.
Steps of Waterfall Model:
1. Requirement Analysis
2. Design
3. Coding
4. Testing
5. Implementation
6. Maintenance
Important Point:
You cannot go back easily to previous steps.
It is like a waterfall flowing downward.
Example:
Building a house
➡️First design → then construction → then finishing
Q4: What do you understand by Iterative Process?
A: Iterative process is a method where a program is developed in small parts and improved again and again.
Key Features:
Work is done in small cycles called sprints
Feedback is taken after each cycle
Changes can be made easily
Program improves step by step
Example:
Mobile App Development
First version → test → improve
Second version → test → improve
✅ Stages of Waterfall Model
Planning
Decide what the program will do.
Example: Planning a school attendance app.
Design
Plan how the program will look and work.
Example: Drawing app screens and menus.
Development
Write the program code.
Example: Coding the attendance app
Testing
Check for errors and bugs.
Example: Testing if attendance saves correctly.
Review
Evaluate the final program and get feedback.
Example: Teachers check if the app works properly.
CLASS DISCUSSION:
Why is Waterfall risky if errors are found at the end?
Expected Points:
Hard to fix mistakes
Time-consuming
Expensive
What is a Sprint?
A sprint is a small stage of development where you plan, design, develop, test, and review one part of the
project.
🔹 Group A – Waterfall Planning
Students must plan using Waterfall stages:
1. Planning
2. Design
3. Development
4. Testing
5. Review
👉 Explain how they handle changes at the end.
🔹 Group B – Agile Planning
Students must plan using Iterative steps (Sprints):
Sprint 1: Attendance
Sprint 2: Marks
Sprint 3: Homework system
👉 Explain how they handle testing and changes.
Group Sharing
Each group explains:
How they tested the app
What they do if client changes requirements
🌟 Teacher Notes
Use real-life analogy:
o Waterfall = Building a house once
o Iterative = Making a cake and tasting after each step