Q8. Customers can acquire goods/services at a shopping mall by going online or physically in a store. Each store has de
Posted: Tue May 24, 2022 8:15 am
Q8.
Customers can acquire goods/services at a shopping mall by going
online or physically in a store. Each store has departments
and employees (managers and salespersons). Salespersons take
part in at least one extra-curricular activity related to
sustainable development.
Consider the class below.
Based on the above diagram, in the following, choose all
statements which are true:
a.
The Online class has a relationship ‘shops at’ with
Customer.
b.
Destroying the class Point of sale also destroys associated
Good/services.
c.
Every employee takes part in at least one sustainable
activity.
d.
The class Employee cannot be instantiated
with an instance.
e.
One or more salespersons work in-store.
f.
Engages is a subclass of SalesPerson and Sustainable
activities.
g.
A manager has one or more SalesPersons that work in a particular
department.
Goods/Services mall 1 purchases Manager 1..* 1..* 1..* Employee In-store SalesPerson 1..* Customer 1..* 1..* shops at 1..* Point of sale Department 1 works Engages + Activity: String [1] + hours: Integer [1] Online Sustainable activities
Customers can acquire goods/services at a shopping mall by going
online or physically in a store. Each store has departments
and employees (managers and salespersons). Salespersons take
part in at least one extra-curricular activity related to
sustainable development.
Consider the class below.
Based on the above diagram, in the following, choose all
statements which are true:
a.
The Online class has a relationship ‘shops at’ with
Customer.
b.
Destroying the class Point of sale also destroys associated
Good/services.
c.
Every employee takes part in at least one sustainable
activity.
d.
The class Employee cannot be instantiated
with an instance.
e.
One or more salespersons work in-store.
f.
Engages is a subclass of SalesPerson and Sustainable
activities.
g.
A manager has one or more SalesPersons that work in a particular
department.
Goods/Services mall 1 purchases Manager 1..* 1..* 1..* Employee In-store SalesPerson 1..* Customer 1..* 1..* shops at 1..* Point of sale Department 1 works Engages + Activity: String [1] + hours: Integer [1] Online Sustainable activities