Answer To: DPIT115: Data Management and SecuritySummer Session 2020 Student Number: Student Name: Question 1...
Deepti answered on Jan 28 2021
Solution-74993/question1.docx
DPIT115: Data Management and Security Summer Session 2020
Student Number: Ahmer Nasir Student Name:6880101
Question 1 (10 marks)
Step 1 – Identify the object classes
Vehicles
Owners
Repairs
Staff
ServiceNode
Step 2 – Attributes and IDs
NodeName, NodePhone, NodeEmail, NodeCity, NodeStreet, NodeBuildingNumber
Employee#, first name, last name, date of birth, hire date, Qualifications, YearOfApprenticeship, Specialization, ITSkills, Position
OwnerFirstName, OwnerLastName, OwnerEmail, Ownerphone
RegNo, Make, Model, ManufactureYear, Capacity
RepairBroughtDate, RepairBroughtTime, RepairCollectDate, RepairCollectTime
StepNo, Description, Parts
Final Solution
VARIATION
Payments are made by the owners once the repair is completed. Receipt details are recorded. The new classes added to the system are Payment and Receipt. Class payment has three attributes as Payment ID which uniquely identifies each Payment made, Bill amount and Date on which it is paid. The class Receipt is identified by Receipt ID, description is included about the receipt and the Date on which the receipt is issued.
Page 2 of 2
Solution-74993/question1.pdf
DPIT115: Data Management and Security Summer Session 2020
Student Number: Ahmer Nasir Student Name:6880101
Page 1 of 2
Question 1 (10 marks)
Step 1 – Identify the object classes
Vehicles
Owners
Repairs
Staff
ServiceNode
Step 2 – Attributes and IDs
NodeName, NodePhone, NodeEmail, NodeCity, NodeStreet, NodeBuildingNumber
Employee#, first name, last name, date of birth, hire date, Qualifications,
YearOfApprenticeship, Specialization, ITSkills, Position
OwnerFirstName, OwnerLastName, OwnerEmail, Ownerphone
RegNo, Make, Model, ManufactureYear, Capacity
RepairBroughtDate, RepairBroughtTime, RepairCollectDate, RepairCollectTime
StepNo, Description, Parts
DPIT115: Data Management and Security Summer Session 2020
Student Number: Ahmer Nasir Student Name:6880101
Page 2 of 2
Final Solution
VARIATION
Payments are made by the owners once the repair is completed. Receipt details are
recorded. The new classes added to the system are Payment and Receipt. Class payment
has three attributes as Payment ID which uniquely identifies each Payment made, Bill
amount and Date on which it is paid. The class Receipt is identified by Receipt ID,
description is included about the receipt and the Date on which the receipt is issued.
Solution-74993/question2.docx
DPIT115: Data Management and Security Summer Session 2020
Student Number: 6880101 Student Name: Ahmer Nasir
Question 2 (10 marks)
The table ‘Owner-seller’ has details of those customers who own a property and want to sell it. So they have Phone# as foreign key referring to primary key of ‘Customer’.
Table ‘Employees’ refers to ‘Branch’ through phone primary key. Each employee is associated with a branch through the branch’s phone number.
‘Property-on-market’ table refers to ‘agent’ through Business-phone#. ‘Training-course’ refers to ‘Junior-agent’ through Business-phone#.
‘Property-off-market’ and ‘property-on-market’ refer to ‘real-estate-property’ through number-of-real-estate-property. ‘Property-on-market’ further refers to seller and buyer ‘Customer’ through phone#
Page 2 of 2
Solution-74993/question2.pdf
DPIT115: Data Management and Security Summer Session 2020
Student Number: 6880101 Student Name: Ahmer Nasir
Page 1 of 1
Question 2 (10 marks)
The table ‘Owner-seller’ has details of those customers who own a property and want to sell
it. So they have Phone# as foreign key referring to primary key of ‘Customer’.
Table ‘Employees’ refers to ‘Branch’ through phone primary key. Each employee is
associated with a branch through the branch’s phone number.
‘Property-on-market’ table refers to ‘agent’ through Business-phone#. ‘Training-course’
refers to ‘Junior-agent’ through Business-phone#.
‘Property-off-market’ and ‘property-on-market’ refer to ‘real-estate-property’ through number-
of-real-estate-property. ‘Property-on-market’ further refers to seller and buyer ‘Customer’
through phone#
Solution-74993/question4.docx
DPIT115: Data Management and Security Summer Session...