hw2.pdf

1
VERSION 1 CS 560 CS 560 HOMEWORK 2 Note: Homework assignments must be completed individually. Answers should be in your own words. Bring printed copy of the homework assignment to class on the due date. 1. Draw the sequence and state diagrams for the following: (a) An automatic washing machine that has different programs for different types of clothes. (b) The software for a Blu-ray player. 2. Explain why design conflicts might arise when designing an architecture for which both availability and security requirements are the most important non-functional requirements. 3. Suggest an architecture for a system (such as Dropbox) that is used to synchronize and store user data on the Internet. What architectural patterns are the basis for this architecture? 4. Should there be a separate profession of “software architect” whose role is to work independently with a customer to design the software system architecture? A separate software company would then implement the system. What might be the difficulties of establishing such a profession? 5. When describing a system, explain why you may have to design the system architecture before the require- ments specification is complete.

Transcript of hw2.pdf

Page 1: hw2.pdf

VERSION 1

CS 560

CS 560HOMEWORK 2

Note: Homework assignments must be completed individually. Answers should be in your own words. Bringprinted copy of the homework assignment to class on the due date.

1. Draw the sequence and state diagrams for the following:

(a) An automatic washing machine that has different programs for different types of clothes.

(b) The software for a Blu-ray player.

2. Explain why design conflicts might arise when designing an architecture for which both availability andsecurity requirements are the most important non-functional requirements.

3. Suggest an architecture for a system (such as Dropbox) that is used to synchronize and store user data onthe Internet. What architectural patterns are the basis for this architecture?

4. Should there be a separate profession of “software architect” whose role is to work independently with acustomer to design the software system architecture? A separate software company would then implementthe system. What might be the difficulties of establishing such a profession?

5. When describing a system, explain why you may have to design the system architecture before the require-ments specification is complete.