Question: In Question 4 : 1 . It might be valid because after the pre condition is satisfied, s is incremented by 1 therefore, we can
In Question :
It might be valid because after the pre condition is satisfied, s is incremented by therefore, we can say that It might satisfy the post condition.
It might be invalid, because after the execution of s the post condition ight ot satisfy the given triple.
It might be Invalid, because as s and k are incremented after execution the post condition might not be satisfied.
It might be Valid, because the post condition refers to s the execution of s doesn't affect it
please help me with these questions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
