Use Case and Activity Diagrams Quiz
Use Case and Activity Diagrams Quiz
Scientific or engineering applications are primarily used for data analysis, simulations, and computations, hence focusing on processing and analyzing complex datasets often used in research or advanced studies . Information systems, however, are designed to collect, process, and store organizational data to support business operations and decision-making processes .
For real-time systems, responding to inputs within a specified time limit is crucial as these systems need to process data and return outputs almost instantaneously to function correctly within the intended environment. This characteristic is essential in domains such as automated control systems, healthcare monitoring, and telecommunications, where delays could lead to significant inaccuracies, failures, or even dangers .
Hybrid applications combine features of both native and web applications, allowing for a broad range of functionalities and a smoother user experience across platforms. They can leverage the hardware and software capabilities of the device like native apps, while also providing the adaptability and accessibility of web apps, offering users advantages of both worlds in terms of functionality and reachability .
In use case diagrams, the system boundary is defined by a rectangle that encapsulates all the use cases the system will perform. It separates the internal system processes from the external actors, indicating that actors interact with the system from outside this boundary, thereby clarifying the interaction points and responsibilities between the system and its users .
Use case models represent the functional requirements of a system by depicting the interactions between users (actors) and the system's functions. They capture what the system needs to accomplish to satisfy the user's needs without detailing how these functions will be implemented .
Activity diagrams are suitable for representing system behavior because they depict the sequence and conditions for coordinating lower-level behaviors, focusing on the workflow from one activity to another. They show how the system behaves, rather than the structural components or how they are organized .
Use case diagrams cannot be used to analyze non-functional requirements effectively as they are primarily designed to capture functional requirements. Non-functional requirements, such as performance, security, or usability, are not the focus of use cases, which instead describe how users interact with the system functionalities .
Desktop applications typically run directly on a user's operating system and do not require internet access, which implies less dependency on constant connectivity . In contrast, mobile applications may often rely on internet access for full functionality. Additionally, mobile apps can be built using different technologies than those used for web applications, often requiring consideration of specific platform constraints .
In use case modeling, the 'extends' relationship represents optional behavior, meaning that the extended use case occurs only under specified conditions . Conversely, the 'includes' relationship means that one use case always incorporates the behavior of another, including the additional functionality whenever it is executed .
Synchronization bars, such as fork and join nodes, enhance the representation of workflows in an activity diagram by allowing the depiction of concurrent control flows. Fork nodes initiate multiple flows from a single activity, while join nodes consolidate those flows back into one, demonstrating how different processes can occur simultaneously and then synchronize .