CONCEPTS OF PROGRAMMING LANG.-TEXT
CONCEPTS OF PROGRAMMING LANG.-TEXT
11th Edition
ISBN: 2810017678981
Author: Sebesta
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 3, Problem 27RQ

Explanation of Solution

Axiomatic semantics to prove the correctness of a given program:

A given assignment condition with both pre and post condition can be considered a logical statement. On applying an assignment axiom to the postcondition and the assignment statement, produces the given precondition, and complete theorem is produced.

Example:

{x>3}x=x3{x

Blurred answer
Students have asked these similar questions
Logic is used in formal methods. Conceptually, propositional and predicate logic are the most common types of logic.
In the discipline of computer programming, "cohesion" and "coupling" are utilised interchangeably.
Explain the context of Lazy Evaluation and its benefits in the context of functional programming languages.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT