Back to the 2021 paper

Module 4: Software Testing

20217m

What are the main objectives of software verification and validation? Explain different verification and validation techniques.

Worked SolutionAI Assisted

Solution

Verification vs Validation

Aspect Verification Validation
Question Are we building product right? Are we building right product?
Checks Against design/specs Against user needs
When During development After development

Objectives

  • Ensure correctness, completeness, consistency
  • Detect defects early, reduce cost

Techniques

Verification (Static):

  1. Reviews - Informal, Walkthrough, Peer review, Inspection (Fagan)
  2. Static Analysis - Code analyzers, data flow analysis
  3. Formal methods - Mathematical proof

Validation (Dynamic):

  1. Testing - Unit, Integration, System, Acceptance (Black/White box)
  2. Prototyping & Simulation
  3. Alpha/Beta testing with users

V&V together ensure quality throughout SDLC.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.