nus-cs2103-AY2324S2 / forum

16 stars 0 forks source link

Practice Paper 3.03 and 3.04 #1071

Closed chiralcentre closed 6 months ago

chiralcentre commented 6 months ago

Am I correct to say the answer for 3.03 is E because sub-activities cannot be both an association and an attribute at the same time?

image

For 3.04, can I clarify why the dashed arrow should be from Activity to ProgressWatcher? I My understanding is that the dashed arrow represents implementation of an interface, so shouldn't the dashed arrow be from ProgressWatcher to Watcher? image

YuvBindal commented 6 months ago

Yes, that is correct it should be E for the reason mentioned for 3.03 For 3.04 this represents a dependency, an implementation has a triangle with dashed arrow line!

chiralcentre commented 6 months ago

Noted thank you!