Lecture 4 Flashcards

1
Q

System modeling

and purpose:

A

A simplified version of a system

*Shows how a system works
*developers and stakeholders communicate
*Easier to understand systems

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

Perspectives in system modeling

A
  1. External - system’s interactions with environment
  2. Interaction - how users and systems connects
  3. Structural - How parts and data are organized
  4. Behavioral - How system responds over time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Unified Modeling Language (UML)

definition:

A

Language for modeling software

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

Unified Modeling Language (UML)

Versions:

A

*UML 1.0 : introduced object oriented modeling

*UML 2.0: Added more diagrams and features

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

Unified Modeling Language (UML)

Diagrams Types

A

*Structural: class, object, component, deployment, package

*Behavioral: Use case, sequence, activity, state, communication

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

Unified Modeling Language (UML)

Communication Principles in Software Specification

A
  1. Listen actively
  2. Be prepared
  3. Facilitate discussions
  4. Talk face-to-face
  5. Take notes
  6. Encourage teamwork
  7. stay focused
  8. Use visuals
  9. Move forward
  10. Negotiate wisely
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Class and Object Diagrams in UML

definition:

A

Class diagram: Blueprint of system components.

Object diagram: Shows real examples of classes and their connections.

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

Class and Object Diagrams in UML

Key elements:

A

*Class name
*Attributes
*Methods
*Relationships
- Binary association
- n - Ary Association
- Association Class

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

Class and Object Diagrams in UML

Aggregation vs. Composition:

A

Aggregation (Weak link): Parts can exist separately, (e.g., students in a college)

Composition (Strong link): Parts depend on the whole, (e.g., rooms in a house)

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

Class and Object Diagrams in UML

Inheritance (Generalization):

A

Single: One parent class

Multiple: Inherits from multiple parents

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

Class and Object Diagrams in UML

Abstract Classes and Interfaces:

A

Abstract Class: Cannot be directly used; serves as a base

Interface: Defines behaviors multiple classes must follow.

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