+1 vote
in Software Architecture by (75.2k points)
Which of the following is true?

(a) A precondition is an assertion must be true at the completion of an activity

(b) A post condition is an assertion must be true at the initiation of an activity

(c) An interface specification should cover syntax, semantics, pragmatics of communication between module and its environment

(d) All of the mentioned

I had been asked this question during a job interview.

I'm obligated to ask this question of Specifying Software Architectures topic in chapter Unified Modelling Language of Software Architecture

1 Answer

0 votes
by (46.2k points)
The correct choice is (c) An interface specification should cover syntax, semantics, pragmatics of communication between module and its environment

For explanation I would say: The correct statement of the incorrect ones are A precondition is an assertion must be true at the initiation of an activity whereas a post condition is an assertion must be true at the completion of an activity.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...