Identifying “Things” in the Problem Domain Which technique is better? When might
ID: 3750685 • Letter: I
Question
Identifying “Things” in the Problem Domain
Which technique is better? When might one be better than the other? When might it be appropriate to use both techniques?
How do you know if you have identified all the domain classes? How do you know if you have identified the right classes? What can you do to validate the classes you have identified?
How can you distinguish between classes and attributes? Sometimes nouns can be either a class or an attribute (for example Date). How can you know whether to make it a class or an attribute?
If you have one solution with a problem domain model and a colleague has a different one, can they both be correct? How can you tell if it is a correct model? How would you choose which might be a better solution?
Explanation / Answer
Answer)
There are a few techniques like ER Diagram, Association etc.
If we take techniques as better or best it all depends on the way we use.
ER is meant to describe the details of data entities whereas
Association is used for ordering the data in the way the user will be benefitted.
A class that will help to model the data and also contains behavior and data both in it is the one which is a domain class.
The one with the validation model or user inputs and attributes which are relevant to one's search.
The main difference between class and attribute is many elements can have a single class but not the same ID. The attribute is a unique identifier whereas Class can be reused.
The one which is to be re-used can be a class and which is unique can be an attribute.
Yes, problem domain model might vary and can be correct if the outcome is the same.
The processing time is then considered which will result in a better solution.
Hit like if you find the answer useful. :)
Hope this answer helps. Thanks
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.