尊敬的 微信汇率:1円 ≈ 0.046215 元 支付宝汇率:1円 ≈ 0.046306元 [退出登录]
SlideShare a Scribd company logo
Verification and Validation

                 Dinesh Pasi
                 Sybscit
                 Roll no 37
Verification and Validation
The program being developed must be checked to ensure
 that it meets its specification and delivers the functionality
 expected by the people paying for the software.

Verification
• Are you building the product right?
• Software must conform to its specification

Validation
• Are you building the right product?
• Software should do what the user really requires
Verification and Validation Goals
• Establish confidence that the software system is ‘fit
  for its intended purpose’.

• Level of required confidence depends upon
System purpose
User expectations
Marketing environment

• deciding how much effort should be spent on the V & V
  process.
Static & Dynamic Verification and Validation

                                Static
                             verification




Requirements    High-level      Formal       Detailed
                             specification              Program
specification    design                       design



                                                        Dynamic
  Prototype
                                                        validation
Software Inspection(Static)-
• analyse and check the requirements document,
  design diagrams and the program source code.
• You can use inspections at all stages of the process.
Software Testing(Dynamic)-
• involves running an implementation of the software
  with test data.
• You examine the outputs of the software and its
  operational behavior to check that it is performing
  as required.
TYPES OF TESTING
Defect Testing-
 Designed to discover system defects.
 The goal of defect testing is to find inconsistencies between
  a program and its specification.
Validation testing –
 To show that the software is what the customer wants—
  that it meets its requirements.
 Statistical testing(part of validation testing)
 The specification for each increment is analyzed to define a
  set of inputs that cause the software to change it’s
  behavior
Defect Testing and Debugging

Defect testing and debugging are distinct process.

Defect Testing Verification and validation is
 concerned with establishing the existence of
 defects in a program.

Debugging is concerned with locating and repairing
 these errors.
DEBUGGING PROCESS




• Skilled debuggers use their knowledge for type of defect, the output
  pattern, the programming language & process to locate the defect.
• After a defect in the program has been discovered, you have to
  correct it and revalidate the system.
• Regression testing is used to check that the changes made to a
  program have not introduced new faults.
• Test case- set of condition is given under which program tested.
Planning verification and validation
 Verification and Validation is an expensive process
 Careful planning is needed to get the most out of
  inspections and testing and to control the costs of the
  verification and validation process.
  The software development process model (V model)
  Requir ements              System                      System                   Detailed
  specification            specification                 design                    design



                                             System                 Sub-system                   Module and
              Acceptance
                                           integration              integration                   unit code
               test plan
                                            test plan                test plan                    and tess



                           Acceptance                    System                 Sub-system
    Service
                              test                   integration test         integration test
Software Test Plan Components

•   Testing process
•   Requirements traceability
•   Items tested
•   Testing schedule
•   Test recording procedures
•   Testing HW and SW requirements
•   Testing constraints
Software Inspections
• Software inspection is a static V & V process in which a
  software system is reviewed to find errors and anomalies.

• Inspections not require execution of a system so may be
  used before implementation.

• They may be applied to any representation of the system
  (requirements, design, configuration data, test data, etc.).

• They have been shown to be an effective technique for
  discovering program errors.
Program Inspection Process
• Program inspections are reviews whose objective is
  program defect detection
• The program inspection is a formal process that is
  carried out by a team of at least four people.
• 4 team members
  – product author(fixing defect)
  – inspector (looks for errors, omissions, and
    inconsistencies)
  – reader (reads the code at an inspection meeting.)
  – moderator (Manages the process and facilitates the
    inspection)
Inspection process




•   System overview presented to inspection team
•   Code and associated documents are distributed to team in advance
•   Errors discovered during the inspection are recorded
•   Product modifications are made to repair defects
•   Re-inspection may or may not be required
Automated static analysis

• Static analyzers are software tools that scan the
  source text of a program and detect possible faults
  and anomalies.

• They parse the program text and try to discover
  potentially erroneous conditions and bring these to
  the attention of the V & V team.
Stages of static analysis
Control flow analysis
 Checks for loops with multiple exit or entry points,
  finds unreachable code, etc.
Data use analysis
 Detects uninitialized variables, variables written
  twice
 variables which are declared but never used
Interface analysis
• Checks the consistency of routine and procedure
  declarations and their use.
Stages of static analysis

Information flow analysis.
• Identifies the dependencies of output variables.
  Does not detect anomalies itself but highlights
  information for code inspection or review.

Path analysis
• Identifies paths through the program and sets out
  the statements executed in that path.
Use of static analysis

 C does not have strict type rules, and the detect less
  errors during compilation the static analysis tool
  can automatically discover some of the resulting
  program faults.
 Less cost-effective for languages like Java that have
  strong type checking and can therefore detect many
  errors during compilation.
Verification and formal methods
• Formal methods can be used when a mathematical
  specification of the system is produced.

• They are the ultimate static verification technique.

• They involve detailed mathematical analysis of the
  specification and may develop formal arguments
  that a program conforms to its mathematical
  specification.
software development
 Cleanroom software development is a software
  development philosophy that uses formal methods
  to support rigorous software inspection.

• The objective of this approach to software
  development is zero-defect software.

• The name ‘Cleanroom’ was derived by analogy with
  semiconductor fabrication units where defects are
  avoided by manufacturing in an ultra-clean
  atmosphere.
This software development process is based on:
 Formal specification
• A state transition model used to express the specification.

 Incremental development
 developed and validated separately using the Cleanroom process.

 Structured programming
 Only a limited number of control and data abstraction constructs are
  used.

 Static verification
 The developed software is statically verified using rigorous software
  inspections.

 Statistical testing
 To determine program reliability.
Cleanroom Process Teams For Large Development
 Specification team.
 Responsible for developing and maintaining the system specification.
 Development team
 Responsible for developing and verifying the software.
 The software is NOT executed or even compiled
  during this process.
 Certification team.
 Responsible for developing a set of statistical tests to exercise the
  software after development.
 Reliability growth models used to determine when reliability is
  acceptable
Formal specification and inspections
• The state based model is a system specification and
  the inspection process checks the program against
  this model
• The vast majority of defects are discovered before
  execution and are not introduced into the
  developed software
• Mathematical arguments (not proofs) are used to
  increase confidence in the inspection process.
Cleanroom Process Evaluation

 Use of the Cleanroom approach has generally led to
  software with very few errors.

 Independent assessment shows that the process is
  no more expensive than other approaches.

 The programs produced were of higher quality than
  those developed using traditional techniques.
SHOW IS OVER
NOW YOU MAY RELAX

More Related Content

What's hot

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineering
Rupesh Vaishnav
 
Software Development Process
Software Development ProcessSoftware Development Process
Software Development Process
Amira Elsayed Ismail
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
 
Risk management(software engineering)
Risk management(software engineering)Risk management(software engineering)
Risk management(software engineering)
Priya Tomar
 
Software Quality Metrics
Software Quality MetricsSoftware Quality Metrics
Software Quality Metrics
Mufaddal Nullwala
 
Software Configuration Management (SCM)
Software Configuration Management (SCM)Software Configuration Management (SCM)
Software Configuration Management (SCM)
Er. Shiva K. Shrestha
 
Software engineering lecture notes
Software engineering lecture notesSoftware engineering lecture notes
Software engineering lecture notes
Siva Ayyakutti
 
Software cost estimation techniques presentation
Software cost estimation techniques presentationSoftware cost estimation techniques presentation
Software cost estimation techniques presentation
Kudzai Rerayi
 
functional testing
functional testing functional testing
functional testing
bharathanche
 
Software testing
Software testing Software testing
Software testing
Kunal Prajapati
 
Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.
Tanzeem Aslam
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
Dina Hanbazazah
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
Aman Adhikari
 
Software Quality Assurance
Software Quality Assurance Software Quality Assurance
Software Quality Assurance
ShashankBajpai24
 
Coding
CodingCoding
Coding
Vishal Singh
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
Darshit Metaliya
 
Testing
TestingTesting
Software Measurement and Metrics.pptx
Software Measurement and Metrics.pptxSoftware Measurement and Metrics.pptx
Software Measurement and Metrics.pptx
ubaidullah75790
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 

What's hot (20)

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Agile development, software engineering
Agile development, software engineeringAgile development, software engineering
Agile development, software engineering
 
Software Development Process
Software Development ProcessSoftware Development Process
Software Development Process
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Risk management(software engineering)
Risk management(software engineering)Risk management(software engineering)
Risk management(software engineering)
 
Software Quality Metrics
Software Quality MetricsSoftware Quality Metrics
Software Quality Metrics
 
Software Configuration Management (SCM)
Software Configuration Management (SCM)Software Configuration Management (SCM)
Software Configuration Management (SCM)
 
Software engineering lecture notes
Software engineering lecture notesSoftware engineering lecture notes
Software engineering lecture notes
 
Software cost estimation techniques presentation
Software cost estimation techniques presentationSoftware cost estimation techniques presentation
Software cost estimation techniques presentation
 
functional testing
functional testing functional testing
functional testing
 
Software testing
Software testing Software testing
Software testing
 
Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.Software Testing Strategies ,Validation Testing and System Testing.
Software Testing Strategies ,Validation Testing and System Testing.
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software Quality Assurance
Software Quality Assurance Software Quality Assurance
Software Quality Assurance
 
Coding
CodingCoding
Coding
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
 
Testing
TestingTesting
Testing
 
Software Measurement and Metrics.pptx
Software Measurement and Metrics.pptxSoftware Measurement and Metrics.pptx
Software Measurement and Metrics.pptx
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 

Viewers also liked

Software requirement verification & validation
Software requirement verification & validationSoftware requirement verification & validation
Software requirement verification & validation
Abdul Basit
 
Unit 7 verification & validation
Unit 7 verification & validationUnit 7 verification & validation
Unit 7 verification & validation
raksharao
 
Product Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingProduct Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, Testing
Reem Alattas
 
Verification and validation
Verification and validationVerification and validation
Verification and validation
Suresh Thammishetty
 
Verification and Validation with Innoslate
Verification and Validation with InnoslateVerification and Validation with Innoslate
Verification and Validation with Innoslate
Elizabeth Steiner
 
Validation and Verification
Validation and VerificationValidation and Verification
Validation and Verification
mrmwood
 
Validation and verification
Validation and verificationValidation and verification
Validation and verification
De La Salle University-Manila
 

Viewers also liked (7)

Software requirement verification & validation
Software requirement verification & validationSoftware requirement verification & validation
Software requirement verification & validation
 
Unit 7 verification & validation
Unit 7 verification & validationUnit 7 verification & validation
Unit 7 verification & validation
 
Product Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingProduct Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, Testing
 
Verification and validation
Verification and validationVerification and validation
Verification and validation
 
Verification and Validation with Innoslate
Verification and Validation with InnoslateVerification and Validation with Innoslate
Verification and Validation with Innoslate
 
Validation and Verification
Validation and VerificationValidation and Verification
Validation and Verification
 
Validation and verification
Validation and verificationValidation and verification
Validation and verification
 

Similar to verification and validation

Software Quality
Software Quality Software Quality
Software Quality
Danial Mirza
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptx
MinsasWorld
 
Software testing and analysis
Software testing and analysisSoftware testing and analysis
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
Haris Jamil
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
Aman Adhikari
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
vidhyyav
 
Ch22
Ch22Ch22
Ch22
phanleson
 
Softwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan SahadviSoftwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan Sahadvi
AbuulHassan2
 
Sv&V Rim
Sv&V RimSv&V Rim
Sv&V Rim
wachakhan
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Quality Analyst Training - Gain America
Quality Analyst Training - Gain AmericaQuality Analyst Training - Gain America
Quality Analyst Training - Gain America
GainAmerica
 
Software testing lecture 9
Software testing lecture 9Software testing lecture 9
Software testing lecture 9
Abdul Basit
 
Software testing
Software testingSoftware testing
Software testing
Ravi Dasari
 
Software_Verification_and_Validation.ppt
Software_Verification_and_Validation.pptSoftware_Verification_and_Validation.ppt
Software_Verification_and_Validation.ppt
Saba651353
 
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptxLecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
SirRafiLectures
 
Software verification & validation
Software verification & validationSoftware verification & validation
Software verification & validation
Hamza Khan
 
Software Testing
Software TestingSoftware Testing
Software Testing
Inocentshuja Ahmad
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
ShudipPal
 
Process model rup
Process model rupProcess model rup
Process model rup
Aryan Ajmer
 

Similar to verification and validation (20)

Software Quality
Software Quality Software Quality
Software Quality
 
SENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptxSENG202-v-and-v-modeling_121810.pptx
SENG202-v-and-v-modeling_121810.pptx
 
Software testing and analysis
Software testing and analysisSoftware testing and analysis
Software testing and analysis
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 
Ch22
Ch22Ch22
Ch22
 
Softwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan SahadviSoftwarequalityassurance with Abu ul hassan Sahadvi
Softwarequalityassurance with Abu ul hassan Sahadvi
 
Sv&V Rim
Sv&V RimSv&V Rim
Sv&V Rim
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Quality Analyst Training - Gain America
Quality Analyst Training - Gain AmericaQuality Analyst Training - Gain America
Quality Analyst Training - Gain America
 
Software testing lecture 9
Software testing lecture 9Software testing lecture 9
Software testing lecture 9
 
Software testing
Software testingSoftware testing
Software testing
 
Software_Verification_and_Validation.ppt
Software_Verification_and_Validation.pptSoftware_Verification_and_Validation.ppt
Software_Verification_and_Validation.ppt
 
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptxLecture 08 (SQE, Testing, PM, RM, ME).pptx
Lecture 08 (SQE, Testing, PM, RM, ME).pptx
 
Software verification & validation
Software verification & validationSoftware verification & validation
Software verification & validation
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
 
Process model rup
Process model rupProcess model rup
Process model rup
 

Recently uploaded

Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
khabri85
 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
Kalna College
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
ShwetaGawande8
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
Derek Wenmoth
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
sanamushtaq922
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
Celine George
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
Nguyen Thanh Tu Collection
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
 
adjectives.ppt for class 1 to 6, grammar
adjectives.ppt for class 1 to 6, grammaradjectives.ppt for class 1 to 6, grammar
adjectives.ppt for class 1 to 6, grammar
7DFarhanaMohammed
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024Brand Guideline of Bashundhara A4 Paper - 2024
Brand Guideline of Bashundhara A4 Paper - 2024
 
220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science220711130082 Srabanti Bag Internet Resources For Natural Science
220711130082 Srabanti Bag Internet Resources For Natural Science
 
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
INTRODUCTION TO HOSPITALS & AND ITS ORGANIZATION
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
The Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teachingThe Science of Learning: implications for modern teaching
The Science of Learning: implications for modern teaching
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
 
Post init hook in the odoo 17 ERP Module
Post init hook in the  odoo 17 ERP ModulePost init hook in the  odoo 17 ERP Module
Post init hook in the odoo 17 ERP Module
 
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
BỘ BÀI TẬP TEST THEO UNIT - FORM 2025 - TIẾNG ANH 12 GLOBAL SUCCESS - KÌ 1 (B...
 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
 
adjectives.ppt for class 1 to 6, grammar
adjectives.ppt for class 1 to 6, grammaradjectives.ppt for class 1 to 6, grammar
adjectives.ppt for class 1 to 6, grammar
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
 
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
 

verification and validation

  • 1. Verification and Validation Dinesh Pasi Sybscit Roll no 37
  • 2. Verification and Validation The program being developed must be checked to ensure that it meets its specification and delivers the functionality expected by the people paying for the software. Verification • Are you building the product right? • Software must conform to its specification Validation • Are you building the right product? • Software should do what the user really requires
  • 3. Verification and Validation Goals • Establish confidence that the software system is ‘fit for its intended purpose’. • Level of required confidence depends upon System purpose User expectations Marketing environment • deciding how much effort should be spent on the V & V process.
  • 4. Static & Dynamic Verification and Validation Static verification Requirements High-level Formal Detailed specification Program specification design design Dynamic Prototype validation
  • 5. Software Inspection(Static)- • analyse and check the requirements document, design diagrams and the program source code. • You can use inspections at all stages of the process. Software Testing(Dynamic)- • involves running an implementation of the software with test data. • You examine the outputs of the software and its operational behavior to check that it is performing as required.
  • 6. TYPES OF TESTING Defect Testing-  Designed to discover system defects.  The goal of defect testing is to find inconsistencies between a program and its specification. Validation testing –  To show that the software is what the customer wants— that it meets its requirements.  Statistical testing(part of validation testing)  The specification for each increment is analyzed to define a set of inputs that cause the software to change it’s behavior
  • 7. Defect Testing and Debugging Defect testing and debugging are distinct process. Defect Testing Verification and validation is concerned with establishing the existence of defects in a program. Debugging is concerned with locating and repairing these errors.
  • 8. DEBUGGING PROCESS • Skilled debuggers use their knowledge for type of defect, the output pattern, the programming language & process to locate the defect. • After a defect in the program has been discovered, you have to correct it and revalidate the system. • Regression testing is used to check that the changes made to a program have not introduced new faults. • Test case- set of condition is given under which program tested.
  • 9. Planning verification and validation  Verification and Validation is an expensive process  Careful planning is needed to get the most out of inspections and testing and to control the costs of the verification and validation process. The software development process model (V model) Requir ements System System Detailed specification specification design design System Sub-system Module and Acceptance integration integration unit code test plan test plan test plan and tess Acceptance System Sub-system Service test integration test integration test
  • 10. Software Test Plan Components • Testing process • Requirements traceability • Items tested • Testing schedule • Test recording procedures • Testing HW and SW requirements • Testing constraints
  • 11. Software Inspections • Software inspection is a static V & V process in which a software system is reviewed to find errors and anomalies. • Inspections not require execution of a system so may be used before implementation. • They may be applied to any representation of the system (requirements, design, configuration data, test data, etc.). • They have been shown to be an effective technique for discovering program errors.
  • 12. Program Inspection Process • Program inspections are reviews whose objective is program defect detection • The program inspection is a formal process that is carried out by a team of at least four people. • 4 team members – product author(fixing defect) – inspector (looks for errors, omissions, and inconsistencies) – reader (reads the code at an inspection meeting.) – moderator (Manages the process and facilitates the inspection)
  • 13. Inspection process • System overview presented to inspection team • Code and associated documents are distributed to team in advance • Errors discovered during the inspection are recorded • Product modifications are made to repair defects • Re-inspection may or may not be required
  • 14. Automated static analysis • Static analyzers are software tools that scan the source text of a program and detect possible faults and anomalies. • They parse the program text and try to discover potentially erroneous conditions and bring these to the attention of the V & V team.
  • 15. Stages of static analysis Control flow analysis  Checks for loops with multiple exit or entry points, finds unreachable code, etc. Data use analysis  Detects uninitialized variables, variables written twice  variables which are declared but never used Interface analysis • Checks the consistency of routine and procedure declarations and their use.
  • 16. Stages of static analysis Information flow analysis. • Identifies the dependencies of output variables. Does not detect anomalies itself but highlights information for code inspection or review. Path analysis • Identifies paths through the program and sets out the statements executed in that path.
  • 17. Use of static analysis  C does not have strict type rules, and the detect less errors during compilation the static analysis tool can automatically discover some of the resulting program faults.  Less cost-effective for languages like Java that have strong type checking and can therefore detect many errors during compilation.
  • 18. Verification and formal methods • Formal methods can be used when a mathematical specification of the system is produced. • They are the ultimate static verification technique. • They involve detailed mathematical analysis of the specification and may develop formal arguments that a program conforms to its mathematical specification.
  • 19. software development  Cleanroom software development is a software development philosophy that uses formal methods to support rigorous software inspection. • The objective of this approach to software development is zero-defect software. • The name ‘Cleanroom’ was derived by analogy with semiconductor fabrication units where defects are avoided by manufacturing in an ultra-clean atmosphere.
  • 20. This software development process is based on:  Formal specification • A state transition model used to express the specification.  Incremental development  developed and validated separately using the Cleanroom process.  Structured programming  Only a limited number of control and data abstraction constructs are used.  Static verification  The developed software is statically verified using rigorous software inspections.  Statistical testing  To determine program reliability.
  • 21. Cleanroom Process Teams For Large Development  Specification team.  Responsible for developing and maintaining the system specification.  Development team  Responsible for developing and verifying the software.  The software is NOT executed or even compiled during this process.  Certification team.  Responsible for developing a set of statistical tests to exercise the software after development.  Reliability growth models used to determine when reliability is acceptable
  • 22. Formal specification and inspections • The state based model is a system specification and the inspection process checks the program against this model • The vast majority of defects are discovered before execution and are not introduced into the developed software • Mathematical arguments (not proofs) are used to increase confidence in the inspection process.
  • 23. Cleanroom Process Evaluation  Use of the Cleanroom approach has generally led to software with very few errors.  Independent assessment shows that the process is no more expensive than other approaches.  The programs produced were of higher quality than those developed using traditional techniques.
  • 24. SHOW IS OVER NOW YOU MAY RELAX
  翻译: