ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCOMP3150Verification And Valid…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    COMP3150

    Object Oriented Analysis and Design

    Progress0 / 17 done
    Topics17
    1Principles of Object Technology2OOP Review3Principles of Modeling4OOA&D Overview5OO Development Process
    6Use Cases and Prototyping7Class Models8Interaction Diagrams9Verification and Validation10Architectural and Detailed Design11Class Diagrams12State Machines and Diagrams13Implementation and Package Diagrams14Activity Diagrams15OO Patterns16Object Diagram, Component Diagram, and Deployment Diagram17Network Diagram
    3 min read
    Topic 9 of 17
    Topic Study Note Illustration
    09

    Verification and Validation

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

    πŸ“˜ 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 view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    3mremaining
    445words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Object Oriented Analysis and Design