Design and Implementation: Exercises

This quiz covers use case specification, OO design for real systems, inheritance hierarchies, sequence diagrams, state machines, configuration management, and open-source strategy

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

QUESTION OF
Views #: 15
Questions #: 11
Time: 10 minutes
Pass Score: 80.0%
Style
Mode

Use Case: Report Status

1 pts
volume_mute

Consider a weather station system. The 'Report status' use case sends status information about the weather station hardware to the weather information system. Based on the structured use case format (System, Use case, Actors, Data, Stimulus, Response, Comments), which of the following correctly describes the Data field for this use case?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Use Case: Reconfigure

1 pts
volume_mute

The 'Reconfigure' use case allows the control system to change the configuration of the weather station software. Which of the following correctly describes the Stimulus and Response for this use case?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Mentcare System Use Cases

1 pts
volume_mute

The Mentcare system manages details of patients consulting specialist doctors about mental health problems. When designing this system using an object-oriented approach, which of the following are plausible use cases? Select ALL that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Object Classes for a Bank Account

1 pts
volume_mute

Using the UML graphical notation for object classes, design a BankAccount object class. Which of the following sets of attributes and operations is most appropriate for a BankAccount class?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Inheritance Hierarchy for Shapes

1 pts
volume_mute

A shape can be classified as either 2-D or 3-D. Design an inheritance hierarchy. Which arrangement correctly represents the hierarchy with at least five shape classes?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Sequence Diagram - Data Collection Subsystem

1 pts
volume_mute

In a sequence diagram showing the interaction between the data collection subsystem and instruments (e.g., Anemometer, Barometer) in the weather station, what sequence of messages correctly describes how the WeatherStation collects data from instruments?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Object Classes for a Group Diary System

1 pts
volume_mute

A group diary and time management system supports the timetabling of meetings and appointments across co-workers. When an appointment involving multiple people is to be made, the system finds a common slot in each person's diary and arranges the appointment. Which of the following sets of object classes is most appropriate for this system? Select ALL that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

State Diagram for a Filling Station System

1 pts
volume_mute

A fully automated filling (gas) station requires a state diagram. A driver swipes a card, credit is verified, fuel is dispensed, and the account is debited after the hose is returned. Which of the following represents the correct sequence of states?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Configuration Management and Code Integration

1 pts
volume_mute

When newly developed code is integrated into a larger system, problems may surface. Which of the following correctly explains how configuration management helps handle such integration problems?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Open-Source Strategy for a Specialized Product

1 pts
Please drag and drop the options to sort them

A small software company has developed a specialized product configured specifically for each customer. A potential new contract would more than double the customer base, but the new customer wants involvement in the software configuration. The company is considering making the software open source. Sort the following considerations from the most compelling reason TO go open source to the least compelling.

Community contributions will automatically improve the specialized product
Customers gain reassurance that they can support and maintain the software themselves if the company goes out of business
The major new customer can actively participate in configuration through the open-source model
The company can build a business model selling support, training, and cloud services around the open-source product
note_alt Add notes
flag Flag

Correct Answer

Explanation

Sequence Diagram - Group Diary Meeting Arrangement

1 pts
volume_mute

In a sequence diagram for a group diary system where a group of people are arranging a meeting, what is the correct sequence of operations between key objects?

note_alt Add notes
flag Flag

Correct Answer

Explanation