Chapter 4 SA Flashcards

(40 cards)

1
Q

What is domain modeling?

A

Domain modeling is the process of creating a conceptual model of the subject area, or domain, that a system is designed to address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Domain modeling focuses only on technical aspects of a system.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the primary purpose of a domain model?

A

The primary purpose of a domain model is to provide a clear and shared understanding of the domain among stakeholders.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: A domain model typically includes ______, ______, and ______.

A

entities, relationships, attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an entity in domain modeling?

A

An entity is a distinct object or concept within the domain that has a unique identity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which diagram is commonly used to represent domain models?

A

Class diagrams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: Relationships in a domain model can only be one-to-one.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does a one-to-many relationship signify in a domain model?

A

It signifies that one entity can be associated with multiple instances of another entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an attribute in the context of domain modeling?

A

An attribute is a property or characteristic of an entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define ‘association’ in domain modeling.

A

Association is a relationship between two or more entities in a domain model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True or False: Domain models are static and do not change over time.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between a domain model and a data model?

A

A domain model focuses on the conceptual aspects of the domain, while a data model focuses on the structure of data in a database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a value object in domain modeling?

A

A value object is an object that represents a descriptive aspect of the domain and has no unique identity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the role of a domain expert in domain modeling?

A

A domain expert provides knowledge and insights about the domain to ensure the model accurately reflects real-world scenarios.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fill in the blank: In domain modeling, ______ are used to define the rules and constraints of entities.

A

business rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does ‘aggregation’ mean in domain modeling?

A

Aggregation is a special type of association that represents a whole-part relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

True or False: Domain models are only useful during the analysis phase of system development.

18
Q

What is the benefit of using a domain model in stakeholder communication?

A

It provides a visual representation that helps stakeholders understand complex relationships and concepts.

19
Q

Multiple Choice: What is NOT typically included in a domain model? A) Entities B) Relationships C) Implementation details D) Attributes

A

C) Implementation details

20
Q

What is a ‘context diagram’ in relation to domain modeling?

A

A context diagram is a high-level representation that shows the system and its interactions with external entities.

21
Q

Fill in the blank: A ______ is a specific instance of an entity in domain modeling.

A

entity instance

22
Q

What is a ‘boundary’ in domain modeling?

A

A boundary defines the scope of the system and distinguishes between the system and its environment.

23
Q

True or False: Domain modeling can help identify missing requirements.

24
Q

What is the purpose of using UML in domain modeling?

A

UML (Unified Modeling Language) provides a standardized way to visualize and document domain models.

25
What does 'inheritance' refer to in domain modeling?
Inheritance refers to a mechanism where one entity can inherit attributes and relationships from another entity.
26
Fill in the blank: In domain modeling, a ______ is used to represent an action or a process.
use case
27
What is a 'composite entity' in domain modeling?
A composite entity is an entity that is made up of two or more other entities.
28
True or False: Domain models can be used to validate system requirements.
True
29
What is a 'domain event'?
A domain event is an occurrence that signifies a change in the state of the domain.
30
Multiple Choice: Which of the following is a key component of a domain model? A) Users B) Use Cases C) Class Diagrams D) All of the above
D) All of the above
31
What is a 'relationship cardinality'?
Relationship cardinality defines the number of instances of one entity that can be associated with instances of another entity.
32
Fill in the blank: Domain models help in understanding ______ among different entities.
interactions
33
What is the significance of 'normalization' in domain modeling?
Normalization helps eliminate redundancy and ensures data integrity within the model.
34
True or False: Domain models should remain unchanged after the initial development phase.
False
35
What is a 'subclass' in domain modeling?
A subclass is a specialized version of a superclass that inherits attributes and relationships from it.
36
What does 'polymorphism' mean in the context of domain modeling?
Polymorphism allows entities to be treated as instances of their parent class, enabling flexibility in the model.
37
Fill in the blank: A ______ is a high-level summary of the key elements of a domain model.
domain overview
38
What is the role of 'feedback loops' in domain modeling?
Feedback loops allow for iterative refinement of the domain model based on stakeholder input and system changes.
39
True or False: Domain modeling is only relevant for software development.
False
40
What is a 'system boundary'?
A system boundary defines the limits of the system and what is considered part of the system versus the external environment.