SE471 Exam 1 - Part II - 2024 - Tagged (1)

pdf

School

California State University, Los Angeles *

*We aren’t endorsed by this school

Course

MISC

Subject

Computer Science

Date

Apr 3, 2024

Type

pdf

Pages

2

Uploaded by MinisterCrabPerson1644

Report
Exam I: SE 471 Software Architecture PART II 1. [10 points] The following figure shows a design of a system that manages printing jobs. (1) What design pattern is used the above design? (5 points) (2) Please translate the PrinterManager class into Java-like pseudocode. (5 points) 2. [20 points] You have already implemented a class named CreditScoreCalculator, which can calculate a user’s credit scores based on that person’s credit history available from financial institutions. Now, you don’t want to change CreditScoreCalculator in the future but you do realize that the service of the class needs to be protected because you do not want an anonymous user to use it to calculate another person’s credit scores. Which design pattern can be applied here to offer an authentication step before using CreditScoreCalculator? Please provide your design in a UML class diagram.
Exam I: SE 471 Software Architecture 3. [20 points] A high-tech Company’s organizational hierarchy is like this: CEO is at the top, who can manage one or more Directors, who each may manage one or more Division Directors, who each may manage many project managers, who each lead a team of engineers. What design pattern can be a best fit for this problem? Please provide your design in a UML class diagram.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help