We speak of programs’ being “partially” correct and being “totally” correct. A program is totally correct just when it does what any reasonable person would expect from its specification: if started in a situation (“state” of the computer) where its pre-condition holds, then it eventually terminates in a case where its post condition has.Are these two partially and totally in terms of what they imply about the specification for the pre-condition and post-condition? If so, explain precisely what they mean in this regard. If not, explain what is different about what they imply.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter5: Looping
Section: Chapter Questions
Problem 3GZ
icon
Related questions
Question

We speak of programs’ being “partially” correct and being “totally” correct. A program is totally correct just when it does what any reasonable person would expect from its specification: if started in a situation (“state” of the computer) where its pre-condition holds, then it eventually terminates in a case where its post condition has.Are these two partially and totally in terms of what they imply about the specification for the pre-condition and post-condition? If so, explain precisely what they mean in this regard. If not, explain what is different about what they imply.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Problems on Turing Machines
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage