Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

CSE/SER 460 - Software Analysis and Design

Exam 2 - Spring 2024

NAME

10-digit ID

Notes: This test is designed to be completed with only one cheat sheet, handwritten or
typed. Both sides of the sheet may be used.
Questions Points Possible Points Given
Question 1 4

Question 2 4

Question 3 4

Question 4 4

Question 5 4

Question 6 4

Question 7 4

Question 8 6

Question 9 6

Question 10
10
Question 20
11
Question 30
CSE/SER 460 - Spring 2024

12
Total 100
Question 1. [4 points] Which of the following is an attribute of a well-structured state
machine diagram? Select all correct answers.

a) Multiple composite states are used to show the entire system.


b) States are named appropriately based on the vocabulary of the problem domain.
c) The structure supports a defensive programming style.
d) The diagram illustrates the database structure of the system.

Question 2. [4 points] A quality attribute scenario can help describe quality attribute
requirements. Which of the following is often included in a quality attribute scenario?
Select all correct answers

a) The source of a stimulus


b) The response as a result of the event
c) The environment that the event occurred in
d) The measure of the quality attribute

Question 3. [4 points] Which of the following is a result of the architecture tradeoff


analysis method (ATAM)? Select all correct answers.

a) A prioritized list of quality attribute requirements.


b) A summary of architectural concepts that will not satisfy requirements.
c) A list describing identified risks and non-risks.
d) A contract describing the roles of each participant.

Question 4. [4 points] Which of the following is a diagram that can be used to model the
dynamic aspects of a system? Select all correct answers.

a) Class diagram
b) Overview diagram
c) Visibility diagram
d) Communication diagram

Page 2 of 6
CSE/SER 460 - Spring 2024

Question 5. [4 points] Which of the following is a common step in the attribute-driven


design (ADD) process? Select all correct answers.

a) Creating a detailed diagram of the constraints


b) Creating an interface for reviewing inputs
c) Choosing one or more system elements to focus on
d) Choosing a design concept to satisfy a requirement
Question 6. [4 points] Describe the advantages and disadvantages of using the Decorate
design pattern.

Question 7. [4 points] A state chart diagram can capture many types of events. Describe
the difference between signal events and time events.

Question 8. [6 points] Describe three reasons why it is important to consider software


architecture before and during development.
Question 9. [6 points] In Object-Oriented analysis, there are many different ways to
examine problem requirements. Describe the difference between the classical analysis and
domain analysis approach.

Page 3 of 6
CSE/SER 460 - Spring 2024

Question 10. [10 points] Your has been hired to create a new system for a private medical
clinic. The system needs to allow everyone to log into their own account. Depending on
their account type, a user can do a select amount of actions. A staff member can submit
billing information that the patient must pay after their visit. A doctor can record
information about a patient’s health. A patient can view their health records and submit
payment information for unpaid bills.
Create a use case diagram for the above scenario. You may add extra use cases that you
deem necessary to describe how the system would operate.
Question 11. [20 points]You have been tasked to update the search feature of an existing
product in your company. A sample sequence diagram below shows the overall steps.
Now, the system has access to three different databases. Thus, if the application does not
find the search result in the first, it will go to the second. If second database does not have a
result, the application should search the third database. If no result can be found, then it
will display the ”No results found” message.

Create a new sequence diagram to model the new search process.


Question 12. [30 points] A hydroponics farm is a method of growing plants without soil.
Typically, a nutrient-rich water solution is used to deliver essential nutrients directly to the
plant’s roots.
A group of hobbyists are building an automated monitor system for their hydroponics farm.
They plan to use a temperature sensor to ensure the farm does not get too hot or cold. If the
temperature sensor notices the farm is getting cold, a heater will turn on. The system also
includes a water level sensor to monitor how much of the nutrient solution is left in the
tank. If the tank is nearing empty, the farmers are notified that they need to refill it.

Page 4 of 6
CSE/SER 460 - Spring 2024

The farmers don’t know much about programming, but want to try coding it themselves.
They have asked for your help to plan the software architecture.

1. Create at least two diagrams that you think would best describe how their system
should be built. You may include more if you think it is necessary.
2. For each diagram, explain why you chose it.

Page 5 of 6
CSE/SER 460 - Spring 2024

This page is left intentionally blank to provide extra space for any question.

Page 6 of 6

You might also like