Use Case Narrative - Quiz Explanation
The correct answers are indicated below, along with the text that explains the correct answers.
1.
What does the use case narrative describe?
Please select the best answer.
A.
The role of the actors when they use the system
B.
How the use cases are assembled on the use case diagram and their order of execution
C.
The communication between the use case and actors and/or other use cases
D.
The internal behavior of the system when the use case is executed
The correct answer is C.
The use case narrative describes the communication between the use case and actors and/or other use cases. A is incorrect because actors are roles, and use cases do not describe actors or roles. B is incorrect because the narrative describes only one use case, not the whole use case diagram. D is incorrect because the narrative describes only the functionality visible to the actor, that is, the interface to the system for this one use case.
2.
Assumptions are conditions that must test true
Please select the best answer.
A.
Before execution, and are tested outside the use case
B.
Before execution, and are tested inside the use case
C.
After execution, and are tested outside the use case
D.
After execution, and are tested inside the use case
The correct answer is A.
Assumptions are conditions that must test true before execution, and are tested outside the use case. B is incorrect because it describes pre-conditions, not assumptions. C is incorrect because there is no such thing. D is incorrect because it describes post-conditions.
3.
Pre-conditions are conditions that must test true
Please select the best answer.
A.
Before execution, and are tested outside the use case
B.
Before execution, and are tested inside the use case
C.
After execution, and are tested outside the use case
D.
After execution, and are tested inside the use case
The correct answer is B.
Pre-conditions are conditions that must test true before execution, and are tested inside the use case. A is incorrect because it describes assumptions, not pre-conditions. C is incorrect because there is no such thing. D is incorrect because it describes post-conditions.
4.
Post-conditions are conditions that must test true
Please select the best answer.
A.
Before execution, and are tested outside the use case
B.
Before execution, and are tested inside the use case
C.
After execution, and are tested outside the use case
D.
After execution, and are tested inside the use case
The correct answer is D.
Conditions that must test true after execution, and are tested inside the use case. A is incorrect because it describes assumptions. B is incorrect because it describes pre-conditions. C is incorrect because there is no such thing.
5.
Which of the statements below best describes a normal flow of events?
Please select the best answer.
A.
A normal flow of events is the typical successful execution of a use case.
B.
A normal flow of events is the typical successful execution of the system for a single user session.
C.
A normal flow of events is the typical sequence of events in the development of a use case narrative.
D.
A normal flow of events is the typical sequence of events showing where each error would be recognized and handled.
The correct answer is A.
A normal flow of events is a typical successful execution of a use case. B is incorrect because a user may use multiple use cases in a session, and a narrative covers only a single use case. C is incorrect because the flow of events has nothing to do with the development process. It describes the behavior of the system. D is incorrect because the exceptional flows of events documents the error recognition and handling. The normal flow excludes all error processing.
6.
Which of the following would initiate a use case?
Please select the best answer.
A.
When a pre-condition is satisfied
B.
When all the assumptions are satisfied
C.
When screen flow determines that the use case is needed
D.
When a user chooses the use case function
The correct answer is D.
A use case may be initiated when a user selects the function defined by the use case. A is incorrect because pre-conditions are checked only after the use case has been initiated. B is incorrect because assumptions have to be handled outside of a use case, that is, by another use case or implementation mechanism. C is incorrect because screen flow is not defined until the design phase of the project.