nus-cs2103-AY2324S2 / forum

16 stars 0 forks source link

Quiz 4 : Q30 #819

Closed baskargopinath closed 7 months ago

baskargopinath commented 7 months ago

image

Could someone explain why this is wrong? I don't understand the explanation

itstrueitstrueitsrealitsreal commented 7 months ago

An association can be shown as an attribute, but not both at the same time as having both is redundant.

baskargopinath commented 7 months ago

@itstrueitstrueitsrealitsreal but if we just show it as an attribute how will we capture the 100 squares constraint

itstrueitstrueitsrealitsreal commented 7 months ago

You can refer to the textbook, where the same example is used. Here's the screenshot for reference.

Screenshot 2024-04-14 at 12 15 41 AM
baskargopinath commented 7 months ago

thank u @itstrueitstrueitsrealitsreal