- 2072 Kartik · 4 marks
Need of analysis and design
Short answer
Analysis defines inputs, outputs, and requirements. Design creates an algorithm or flowchart to verify logic cheaply on paper, reducing costly coding errors, saving time, and leading to structured, testable code.
Why do we need analysis and design before coding a program?
Analysis and design should be done before coding because coding without a plan leads to wrong, costly and hard-to-maintain programs.
- Clear understanding: analysis tells exactly what the inputs, outputs and requirements are, so the right problem is solved.
- Correct logic: designing an algorithm and flowchart lets us check the logic on paper, where mistakes are cheap to correct.
- Saves time and cost: errors found after coding take much more effort to fix.
- Efficient and structured code: a good design chooses a better method, data structure and modules.
- Easy coding: each step of the design converts directly to statements.
- Fewer bugs and easier testing: a planned program has fewer logical errors.
- Documentation and teamwork: the design can be shared and used for later maintenance.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Need of control statements · Computer Programming, chapter 5 · asked 2×
- Need of stdio.h header file · Computer Programming, chapter 3
- Nested structures with example · Computer Programming, chapter 8 · asked 7×
- Why datatype in pointer declaration · Computer Programming, chapter 9
- Why do we need DFT · Digital Signal Analysis and Processing, chapter 7 · asked 6×
- Why do we need FFT · Digital Signal Analysis and Processing, chapter 7 · asked 2×
- Need for speech coding; vocoder concept · Wireless Communication, chapter 6 · asked 2×
- Need for channel coding · Data Communication, chapter 8