CSC326 ยท 2081 ยท 10 marks
Explain prototyping model with a neat diagram. List out its advantages and disadvantages.
Explain prototyping model with a neat diagram. List out its advantages and disadvantages.[10]
Quick answer
The Prototyping Model is a software development approach in which a working prototype (an early, incomplete version of the system) is built, evaluated by the user, and iteratively refined based on feedback until the final system is developed.
Prototyping Model
Definition
: "Instead of spending a lot of time producing very detailed specifications, the developers find out only generally what the users want... they quickly create a prototype, which either contains portions of the system or is a small-scale working model of the entire system."
Concept
Rather than freezing all requirements before design or coding begins, a prototype is created to help users visualize and validate the system. The prototype is refined repeatedly until the customer is satisfied, after which the final engineered product is delivered.
Phases of the Prototyping Model
a) Requirement Gathering
Basic and general requirements are collected from the customer. Complete details are not required at this stage.
b) Quick Design
A simple, quick design is prepared focusing on important aspects such as user interface and input/output formats. It is not a detailed design.
c) Build Prototype
Information gathered from the quick design is used to construct the first working prototype, which represents a working model of the required system.
d) User Evaluation
The prototype is presented to the user, who evaluates it and identifies its strengths and weaknesses, such as what needs to be added or removed.
e) Refine Prototype
If the user is not satisfied, the prototype is refined using the additional information provided by the user. Steps (b) through (e) are repeated iteratively.
f) Engineer Product
Once requirements are completely met and the user accepts the final prototype, the complete final system is engineered with proper coding, testing, and documentation. Routine maintenance follows to prevent large-scale failures and minimize downtime.
Neat Diagram
+-------------------------+
| Requirement Gathering |
+-------------------------+
|
v
+-------------------------+
| Quick Design |
+-------------------------+
|
v
+-------------------------+
| Build Prototype |
+-------------------------+
|
v
+-------------------------+
| User Evaluation |
+-------------------------+
|
+---------+---------+
| |
Not Satisfied Satisfied
| |
v v
+----------------+ +------------------+
| Refine | | Engineer Final |
| Prototype | | Product |
+----------------+ +------------------+
| |
| v
+----------> +------------+
| Maintain |
| System |
+------------+
The loop between Quick Design, Build Prototype, User Evaluation, and Refine Prototype continues until the user is satisfied.
Advantages of the Prototyping Model
| # | Advantage |
|---|---|
| 1 | Reduces risk of building the wrong system since user feedback is incorporated early and continuously. |
| 2 | Better understanding of requirements as users can see and interact with a working model rather than reading abstract specifications. |
| 3 | Improved user involvement as the customer actively participates throughout the development process. |
| 4 | Early error detection as misunderstandings and missing features are identified and corrected in early stages. |
| 5 | Useful when requirements are unclear and not well-defined initially, making it ideal for complex or novel projects. |
| 6 | Reduces development time for the final product since major issues are resolved during the prototyping phase. |
| 7 | Higher user satisfaction because the final product closely matches user expectations. |
Disadvantages of the Prototyping Model
| # | Disadvantage |
|---|---|
| 1 | Increased cost as building and refining multiple prototypes requires additional time and resources. |
| 2 | Poor documentation as the focus on rapid prototype development may lead to inadequate or incomplete documentation. |
| 3 | Customer confusion as the customer may mistake the prototype for the final product and expect immediate delivery. |
| 4 | Scope creep as continuous user feedback and changes may lead to ever-expanding and uncontrolled requirements. |
| 5 | Poorly structured system as too many refinements without proper planning may result in poor overall system architecture. |
| 6 | Developer attachment as developers may attempt to reuse prototype code in the final product, leading to suboptimal quality and maintainability. |
Conclusion
The Prototyping Model is best suited for projects where requirements are unclear or frequently changing. It ensures higher user satisfaction through early visualization and active involvement. However, it must be carefully managed to avoid scope creep, poor documentation, and degraded system architecture.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.