Concepts of Programming Languages (11th Edition)
Concepts of Programming Languages (11th Edition)
11th Edition
ISBN: 9780133943023
Author: Robert W. 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
In the discipline of computer programming, "cohesion" and "coupling" are utilised interchangeably.
Logic is used in formal methods. Conceptually, propositional and predicate logic are the most common types of logic.
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