Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Consider the following set of requirements for a university information system that is used to keep track of students transcripts: The university keeps track

1) Consider the following set of requirements for a university information system that is used to keep track of students transcripts:

The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address, and to the students' last name. Each department is described by a name, department code, office number, office phone, and college. Each course has a course name, description, code number, number of semester hours, level, and offering department. Each section has an instructor, semester, year, course, and section number. A grade report has a student, section, and grade.

An administrator can update the courses to be taught by instructors, and enter the list of students taking a course. An instructor can enter and update the grades of the course(s) taught by this instructor. A student can request a grade report from the information system.

a. Identify the main use cases including actors.

b. Describe three different scenarios that can occur.

c. Provide the UML class diagram

2. A) Identify two types of design antipatterns (also called code smells) in the following class diagram and explain your detection process-based quality metrics to justify your decision (symptoms).

image text in transcribed

B) Define software refactoring then recommend a set of useful refactoring to fix the two types of design antipatterns identified in the previous question (Question 1). It is not required to provide a source code implementing the refactorings. You can provide the name of the sequence of refactorings type along with their parameters such as move method (m1, Class A, Class B) as a solution to fix the design antipatterns.

Product Product ID:string Product Name : string Product Description : String Price : taat Order hem Order Number : string Product ID:string Quantity : int Analysis Factor Factor ID: int Factor Name : String Store Number: int addOrderer removeOrderer speciy Factor generateReport) addProduct updateProduct remove Product searchProduct Manager Employee ID:string Associate Employee D: String Customer First Name: string Last Name: string Address1: string Address2 : string City :string Province: String Postal Code : string DOB: date Phone Number : string Member Distring Gender: char Order Order Number : string First Name: string Last Name: string Amount: fost Store Number: int Order Date: date Order Time : ime Store Location Stare Number: int Phone Number: String Manager : string Address1: string Address2 : string City: String Province: String Postal Code: string Employee Employee ID : string Name : string Address 1 Address2 Cty Province Postal Code Phone Number : string Store Number: int arderem) add Customer updateCustomer removeCustomer Payment Transaction ID: string Order Number: String Type: char addStore updateStore removeStore addEmployee updateEmployee removeEmployee processPayment) Membership ID Member ID: string Signature: blab Membership Date: date print) Product Product ID:string Product Name : string Product Description : String Price : taat Order hem Order Number : string Product ID:string Quantity : int Analysis Factor Factor ID: int Factor Name : String Store Number: int addOrderer removeOrderer speciy Factor generateReport) addProduct updateProduct remove Product searchProduct Manager Employee ID:string Associate Employee D: String Customer First Name: string Last Name: string Address1: string Address2 : string City :string Province: String Postal Code : string DOB: date Phone Number : string Member Distring Gender: char Order Order Number : string First Name: string Last Name: string Amount: fost Store Number: int Order Date: date Order Time : ime Store Location Stare Number: int Phone Number: String Manager : string Address1: string Address2 : string City: String Province: String Postal Code: string Employee Employee ID : string Name : string Address 1 Address2 Cty Province Postal Code Phone Number : string Store Number: int arderem) add Customer updateCustomer removeCustomer Payment Transaction ID: string Order Number: String Type: char addStore updateStore removeStore addEmployee updateEmployee removeEmployee processPayment) Membership ID Member ID: string Signature: blab Membership Date: date print)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

How influential does the organization see this public as being?

Answered: 1 week ago