Pearson eText for Concepts of Programming Languages -- Instant Access (Pearson+)
Pearson eText for Concepts of Programming Languages -- Instant Access (Pearson+)
12th Edition
ISBN: 9780135102268
Author: Robert 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
There are several ways to categorize semantics, and each has its own benefits and drawbacks.
Explain the context of Lazy Evaluation and its benefits in the context of functional programming languages.
Explain Static semantics and its advantages & disadvantages.
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