Session 21 Flashcards

1
Q

Object Modeling

A

Technique for identifying object w/in the systems enviro & the relationships btw the objects

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

Whats OOAD

A

Object Oriented Analysis and Design
Approach of using object modeling during systems analysis and design

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

What are the advantages of OOAD

A
  • Small semantic gap since real world occurrences directly mapped to objects in model
    (reduces the “translation gap” between how things work in the real world and how we model them in software)
  • Combination of process and data modeling
    ( merges what the system does (process) with what the system knows (data) into a single view.)
  • Improved communication btw users, analysts, designers, and programmers
    (creates models that are easier for everyone to understand, not just programmers)
  • Represents commonality among system components
    (uses inheritance and abstraction to capture shared features among different components.)
  • Reusability of analysis, design, and programming results
    (Once an object or class is defined, it can often be reused in other systems)
  • Increased consistency among models developed during analysis, design and programming
    (The same concepts (objects, classes, methods) are used across all phases of development.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Whats an object

A

An abstraction of something in a problem domain
An entity with a well-defined boundary

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

Whats an attribute

A

Characteristics of an object

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

What are operations

A

Things that objects can do and
functions that act on the object’s attribute
Either command/question

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

What is a class?

A

A description of a group of objects with common attributes, operations, and relationships

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

Can a question change the state of an object?

A

no

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

Can a command change the state of an object

A

Yes

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

What are the types of relationships

A

Association and Generalization

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

What association

A

Models a semantic connection among
classes
Represents structural relationships between classes

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

Whats generalization/inheritance

A

A relationship among classes where subclasses share the attributes and operations of superclasses
Defines a hierarchy of abstractions in which a subclass inherits from one or more superclasses

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

What is inherited?

A

Attributes
Operations
Relationships

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