Activity#10-Case Study

.docx

School

Thompson Rivers University *

*We aren’t endorsed by this school

Course

2920

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

2

Uploaded by DoctorAntelopeMaster3720

COMP 2920 : Software Architecture & Design Class Activity#10 Max marks : 50 Due date: 26 th November 2023 Problem Description Q1. For the payroll system, some common requirements are as follows: [40 marks] It should allow employees to record time card information electronically It should automatically generate paychecks based on the number of hours worked & total amount of sales for commission-based employees It should have a web based interface to allow employees to interact with the system It should allow employee to operate ONLY on their own data records It should allow employees to choose payment type For payment, employees can be paid by the hour or salaried The calculated salary of the hourly workers must be paid every two weeks on the Friday, where for salaried employees, it should be paid at the end of the month (last Friday of the month) The system must be able to provide various types of reports for employees and managers. Exercises 1. Define the architecture style you would use. Also mention the development process you would like to use for this syatem [3+2 marks] 2. Draw the overall use case with at least 4 use cases. Make sure to use include/extend relationships.? [4 marks] 3. List five functional and at least three nonfunctional requirements of this system. First need to identify and list the Quality attributes that will be required for this case study 1 .[8 marks] 4. Use one use case to fill the use case template including actors, precondition, post condition, main flow and alternate flow in points form [3 marks] 5. Draw an overall class diagram. Clearly identify dependencies, associations (aggregation & composition) and multiplicities.[8 marks] 6. Draw a component diagram as to how the system can be integrated with mainframe- based data source. [3 marks] 7. Convert the component diagram into deployment diagram.[3 marks] 8. Make a state chart diagram for the employee working on this system. Identify the states and state-transitions using several events. [3 marks] 9. Identify one use case and translate it into sequence diagram.[3 marks] 1 Non-functional requirements can be mistaken with quality attributes: Quality attributes are necessary characteristics of a product Non-functional requirement is the measure and criteria of such characteristics.
Q2. Software Design patterns [10 marks] a. Who are “Gang of four”? What is the fundamental idea they have proposed? Do you agree with their idea? What are three reasons for studying design patterns? [3 marks] b. What is singleton design pattern? Show the code in an example [2 marks] c. Have you ever used any design pattern in any of the courses in the past? If yes, please quote it here. (remember – it will be different for everyone) [2 marks] d. Suppose you are facing an interview. Your interviewer asked you to give a use of design pattern that will help you in succeeding in the job in his company. What will be your answer? [3 marks] Submission: 2 students can work on one case study. Make one submission having the name and ID of both the students. Also mention your contribution in the case study (i.e. name the diagrams each one has done – without this step, the person submitting will only be marked.)
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