When building a domain model, candidate classes come mostly from:
Requirements Analysis: Domain Modeling
Requirements analysis activities, the system requirements specification and ways to write it, and domain modeling: identifying and evaluating classes, associations and attributes, then adding detail.
How to read this page
Every original slide is shown unchanged. Yellow marks on a slide point to a numbered note: hover or tap a mark to jump to its note, and hover a note to see its marks. Questions tagged Past exam appeared on a real paper; Prediction questions are likely angles, not confirmed. Pick an answer to each question: a wrong pick tells you why it is wrong, so you can try again.
All 15 slides
- 1 Requirements Analysis
- 2 RE Process
- 3 Requirements Analysis Activities
- 4 Requirements Analysis Activities
- 5 SYSTEMREQUIREMENTSSPECIFICATION(SRS)
- 6 WAYSOFWRITINGA SRS
- 7 Requirements Analysis Activities
- 8 DOMAINMODELING
- 9 DOMAINMODELING: IDENTIFYINGCLASSESANDASSOCIATIONS
- 10 DOMAINMODELING:IDENTIFYINGATTRIBUTES
- 11 DOMAINMODELING:EVALUATINGCLASSES
- 12 DOMAINMODELING:EVALUATINGASSOCIATIONS
- 13 DOMAINMODELING:EVALUATINGATTRIBUTES
- 14 DOMAINMODELING: DETAIL
- 15 Slide 15
Requirements Analysis Activities
Notes
Analysis: model, decompose, prioritize and refine requirements so they are complete and understood.
SYSTEMREQUIREMENTSSPECIFICATION(SRS)
Notes
SRS: the system requirements specification; written in natural language, structured templates, or models.
DOMAINMODELING
Notes
Domain model: a class diagram of real-world concepts (no methods/implementation) in the problem domain.
DOMAINMODELING:IDENTIFYINGATTRIBUTES
Notes
Find candidate classes from NOUNS in the requirements; associations from verbs/relationships.
Memory trick Nouns → classes or attributes; verbs → associations or operations.
Exam angle
DOMAINMODELING:EVALUATINGCLASSES
Notes
Evaluate classes: drop redundant, irrelevant, vague, implementation, or attribute-like ones.
Exam angle
"Email address" in a domain model is most likely:
DOMAINMODELING:EVALUATINGASSOCIATIONS
Notes
Evaluate associations: keep those that are needed and lasting; add multiplicities, names, roles.
DOMAINMODELING: DETAIL
Notes
Detail: association classes, aggregation/composition, generalization.