Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

An association between a Sale object and a Phone object was formed A Person obje

ID: 3780833 • Letter: A

Question

An association between a Sale object and a Phone object was formed A Person object was created (instance creation) An association between an Electronics object and the Sale object was formed) The Cash Payment object and the Sale object was associated (association Card Payment. paymentDate was set to today's date (attribute modification The association between the Sale object and Credit Card object was broken) Computer.Id_no was set to a new number (attribute modification) Phone.ID_no was set to a new number (attribute modification) The Sale object and the Computer object were associated Cash Payment.cardAccepted was changed to "accepted"

Explanation / Answer

1. Correct

An association between sale object and phone object was formed. Because its an one to many relationship.

2. Correct

Here person is nothing but the customer so it was created.

3.Correct

An electronics object and sale object was associated becuase from sale it is an one to many relationship and also it is the direct association to the item and elctronics is the deirect association to the item object.

4.Incorrect

Here the cash payment and sale object are not associated because it is only one to one relation only. cash payment is linked to payment but not associated to sale object.

5.Correct

Payment date was set to the date according to the payment date.

6.Correct

Yes the association between the sale object and credit card object was broked at the payment object only.

7. Correct

Every time computer object was set to the new number once it was sold.

8.Correct

Every time Phone id no was set to new when sold.

9.Correct

Sale and computer objects was associated as from sale it was one to many relationship.

10.Incorrect

Cash payment. card accepted is an invalid method. There is no relation between cash payment and card accepted.Both are different with one another.

11. Incorrect

There is no relation between credit card object and cash payment object. They both are different functions works according to the selection.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote