1 / 5

Comprehensive Testing and Correctness Proof for PDR and FTP Documents

This exercise focuses on the testing methodologies for the PDR and FTP documents, emphasizing the importance of correctness proofs in programming. It includes a specific example where a loop invariant is established and proofs are conducted by induction. Additionally, it covers the development of flow diagrams to visually represent processes and assumptions made during the testing phase. Understanding these concepts is crucial for ensuring the integrity and reliability of software systems.

Télécharger la présentation

Comprehensive Testing and Correctness Proof for PDR and FTP Documents

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exercise 6 Testing

  2. Exercise - Testing • The PDR document , • The FTP document.

  3. Correctness Proof • Correctness proof for • k = 0;g = 1; while ( n  k ){ k = k + 1; g = g * n;}

  4. Correctness Proof (Cont’d) • Draw a flow diagram, • Any assumptions? • Assessments, • Loop invariant , • Prove by induction.

  5. Exercise 6 Testing The End

More Related