nus-cs2103-AY2324S1 / forum

10 stars 0 forks source link

Practice Exam Part 3 [p.3.15] domain modelling: Why is class diagram the least useful for domain modelling? #552

Closed garylow2001 closed 10 months ago

garylow2001 commented 10 months ago

This is the answer: image

However, in the textbook, it mentions that class diagrams can be used to model the problem domain as well: image

The way I interpreted it is since class diagrams can be OODMs, shouldn't it be useful for domain modelling? This makes the other options less useful for domain modelling.

damithc commented 10 months ago

@garylow2001 I agree that this question is a bit confusing. Would have been clearer is OODM was one of the options. The way the textbook is worded also adds to the confusion. I've made a note to reword it in the next version.

This question tests two learning points:

  1. Any model (not just UML models) can be used for domain modelling
  2. Class diagrams are not used for domain modelling because there is a more optimized model we can use for the same purpose i.e., OODM
garylow2001 commented 10 months ago

@garylow2001 I agree that this question is a bit confusing. Would have been clearer is OODM was one of the options. The way the textbook is worded also adds to the confusion. I've made a note to reword it in the next version.

This question tests two learning points:

  1. Any model (not just UML models) can be used for domain modelling
  2. Class diagrams are not used for domain modelling because there is a more optimized model we can use for the same purpose i.e., OODM

I understand, thank you!