ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Object Oriented Analysis and Design
    COMP3150
    Progress0 / 17 topics
    Topics
    1. Principles of Object Technology2. OOP Review3. Principles of Modeling4. OOA&D Overview5. OO Development Process6. Requirements Engineering: Use Cases and Prototyping7. Class Models8. Interaction Diagrams9. Verification and Validation10. Architectural and Detailed Design11. Class Diagrams12. State Machines and Diagrams13. Implementation and Package Diagrams14. Activity Diagrams15. OO Patterns16. Object Diagram, Component Diagram, and Deployment Diagram17. Network Diagram
    COMP3150›Verification and Validation
    Object Oriented Analysis and DesignTopic 9 of 17

    Verification and Validation

    3 minread
    445words
    Beginnerlevel

    📘 Verification and Validation (V&V) – OOAD


    🔹 1. Definition

    Verification and Validation (V&V) are two key processes used to ensure that a software system is correct, complete, and meets user needs.

    👉 Simple idea:

    • Verification → “Are we building the system right?”
    • Validation → “Are we building the right system?”

    🔹 2. Difference Between Verification and Validation ⭐

    Feature Verification Validation
    Focus Process correctness Product correctness
    Question Are we building it right? Are we building the right product?
    Method Reviews, inspections Testing, user feedback
    Stage During development After development / during testing

    🔹 3. Verification

    🔸 Definition:

    Verification ensures that the software is developed according to specifications and design.


    🔹 Activities in Verification:

    • Requirement reviews
    • Design reviews
    • Code inspections
    • Walkthroughs

    🔹 Example:

    Checking whether the system follows the class diagram design


    🔹 Techniques:

    • Static testing (no execution of code)
    • Document checking

    🔹 4. Validation

    🔸 Definition:

    Validation ensures that the final product meets user requirements and expectations.


    🔹 Activities in Validation:

    • System testing
    • User acceptance testing (UAT)
    • Prototyping feedback

    🔹 Example:

    Checking whether the system actually allows users to borrow books correctly


    🔹 Techniques:

    • Dynamic testing (code execution)
    • Real-world scenarios

    🔹 5. Types of Testing (Validation)


    🔸 5.1 Unit Testing

    • Test individual components

    🔸 5.2 Integration Testing

    • Test combined modules

    🔸 5.3 System Testing

    • Test complete system

    🔸 5.4 Acceptance Testing

    • Done by users

    🔹 6. Verification vs Validation Process Flow

    Requirements → Verification → Design → Verification → Implementation → Validation → Final Product
    

    🔹 7. Importance of V&V

    • Ensures quality software
    • Reduces errors
    • Saves cost in long run
    • Improves user satisfaction
    • Ensures system reliability

    🔹 8. Example (Library System)


    🔹 Verification:

    • Check if system design includes Book, Member classes
    • Verify correct relationships

    🔹 Validation:

    • Check if user can issue/return book successfully

    🔹 9. Key Concepts


    🔸 Static vs Dynamic Testing

    Type Description
    Static No execution (verification)
    Dynamic Execution (validation)

    🔸 Error vs Defect vs Failure

    Term Meaning
    Error Human mistake
    Defect (Bug) Problem in code
    Failure System not working

    🔹 10. Important Rules / Guidelines

    • Perform verification early and continuously
    • Perform validation with real users
    • Use both processes together
    • Document all findings

    🔹 11. Likely Exam Questions

    1. Define verification and validation.
    2. Differentiate between verification and validation.
    3. Explain types of testing in validation.
    4. What is static and dynamic testing?
    5. Why is V&V important?
    6. Explain V&V with example.
    7. What is acceptance testing?
    8. Define error, defect, and failure.
    9. Explain verification activities.
    10. Role of V&V in software development.

    🔹 12. Quick Revision Summary 🧠

    • Verification → Build system correctly
    • Validation → Build correct system

    Key Points:

    • Verification = Static
    • Validation = Dynamic

    👉 Trick to Remember: "VV = Right Way + Right Product"


    Previous topic 8
    Interaction Diagrams
    Next topic 10
    Architectural and Detailed Design

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count445
      Code examples0
      DifficultyBeginner