Applied System Modeling: Exercises

This quiz applies the concepts of system modelling to practical scenarios. Topics include context models and scope creep, system boundary implications, activity diagrams for event planning, use cases, sequence diagrams, class diagrams, activity and sequence diagrams, state diagrams, and the limitations of automated model-to-code transformation

download Export
search_insights Statistics
stylus_note White Board
Quran
calculate Calculator
dictionary Dictionary
fullscreen Full Screen

QUESTION OF
Views #: 33
Questions #: 14
Time: 20 minutes
Pass Score: 80.0%
Style
Mode

Scope Creep and Context Models

1 pts
volume_mute

Scope creep is a continuous increase in the scope of a project that can significantly increase project cost. How does producing a proper context model early in a project help prevent scope creep?

note_alt Add notes
flag Flag

Correct Answer

Explanation

System Boundary and Project Complexity

2 pts
volume_mute

The way in which a system boundary is defined can have serious implications on the complexity and cost of a project. Which of the following are valid examples of how boundary decisions affect complexity and cost? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Activity Diagram for Event Planning — Correct Elements

2 pts
volume_mute

You are asked to model the process of planning a large-scale party (booking a venue, organizing invitations, arranging catering, etc.) using a UML activity diagram that also shows the systems used at each stage. Which of the following elements should appear in the diagram? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Use Cases for a Doctor in a Patient Management System

2 pts
volume_mute

For a patient management system, a doctor sees patients and prescribes medicine and treatments. Which of the following are appropriate use cases for the Doctor actor? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Sequence Diagram for University Course Registration

2 pts
volume_mute

You are asked to develop a sequence diagram for the process of a student registering for a course at a university. The registration system must check that places are available. The student accesses an electronic course catalog first. Which objects and actors should appear as lifelines at the top of the diagram? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Sequence Diagram — Availability Check

1 pts
volume_mute

In a sequence diagram for university course registration, the registration process must include checks that places are available. Which UML sequence diagram element would you use to model the two alternative outcomes: registration succeeds (places available) vs. registration fails (course full)?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Class Diagram for an Email System — Identifying Classes

1 pts
volume_mute

You are asked to model the object classes used to implement an email system, focusing on messages and mailboxes. Which of the following would be appropriate classes in such a model? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Class Diagram for Email — Associations and Multiplicities

1 pts
volume_mute

In a class diagram for an email system, what is the correct multiplicity for the association between Mailbox and EmailMessage?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Activity Diagram for ATM Cash Withdrawal

2 pts
Please drag and drop the options to sort them

You are modeling the data processing involved when a customer withdraws cash from a bank ATM using a UML activity diagram. Sort the following activities into the correct sequence.

ATM validates card and PIN with bank system
Customer selects withdrawal amount
System dispenses cash and debits account
System checks account balance
Customer takes cash and card; ATM prints receipt
Customer inserts card and enters PIN
note_alt Add notes
flag Flag

Correct Answer

Explanation

Activity vs. Sequence Diagram for ATM

1 pts
volume_mute

For the ATM cash withdrawal scenario, both an activity diagram and a sequence diagram could be developed. Why might you want to develop both?

note_alt Add notes
flag Flag

Correct Answer

Explanation

State Diagram for a DVD Player — Key States

2 pts
volume_mute

You are asked to draw a state diagram for the control software of a DVD player. Which of the following are valid states for such a system? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

State Diagram — Washing Machine Programs

1 pts
volume_mute

A washing machine has different programs for different types of clothes (e.g., cotton, delicates, wool, quick wash). In a state diagram for its control software, how would you best handle this variation in programs?

note_alt Add notes
flag Flag

Correct Answer

Explanation

State Diagram for a Mobile Camera — Key Stimuli

2 pts
volume_mute

You are asked to model the state diagram for the camera control software on a mobile phone. Which of the following are valid stimuli (events that trigger state transitions) for such a system? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Challenges in Automated Model-to-Code Translation

2 pts
volume_mute

In principle, it is possible to generate working programs from a high-level model without manual intervention using model-driven architectures. Which of the following are genuine challenges that currently prevent completely automated translation? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation