Requirements Modeling & Use Cases Flashcards
7 cards from real CPRE practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Requirements Modeling & Use Cases flashcards as text
In UML use case modeling, what does a '>' relationship between two use cases indicate?
Answer: The base use case always incorporates the behavior of the included use case
An > relationship means the base use case always (unconditionally) invokes the included use case as part of its execution.
Which element in a use case model represents the boundary between the system under specification and its environment?
Answer: System boundary (subject)
The system boundary (also called the subject in UML 2) defines what is inside the system versus what is external to it.
A use case description includes a 'main success scenario' and 'extensions'. What do extensions represent?
Answer: Alternative flows that handle exceptions or optional branches
Extensions (also called alternative flows) describe how the use case handles deviations, exceptions, or optional paths from the main success scenario.
In requirements modeling, what is the primary purpose of an Entity-Relationship Diagram (ERD)?
Answer: To illustrate the data structures and relationships between data entities
An ERD models the data domain by showing entities, their attributes, and the relationships (cardinality and participation) between them.
Which of the following is a valid pre-condition in a use case specification?
Answer: The user must be logged in and have appropriate permissions before initiating the transaction
A pre-condition states what must be true before the use case can begin; requiring the user to be authenticated is a classic pre-condition.
In a context diagram (Level-0 DFD), what do the external entities connected to the central process represent?
Answer: Actors or systems outside the scope that interact with the system
External entities in a context diagram represent actors, users, or external systems that lie outside the system boundary but exchange data with it.
What distinguishes a primary actor from a secondary actor in use case modeling?
Answer: A primary actor initiates the use case to achieve a goal, while a secondary actor provides services to the system
A primary actor initiates the use case and has a goal to fulfill, whereas a secondary actor supports the system during the execution (e.g., an external payment gateway).