Shared Flashcard Set

Details

CS 360 Exam 2
sdf
46
Architecture
2nd Grade
04/06/2013

Additional Architecture Flashcards

 


 

Cards

Term
Object
Definition
A person or thing to which action, thought, or feeling is directed

A uniquely identifiable, attribute value bearing, instance of a class
Term
Class
Definition
A general template, “cookie cutter”, which we use to define a type of objects

Instantiating a class results in an object in the class

People or things grouped together because of their common traits or behavior
Term
Attribute
Definition
the information that is used to describe the object
Term
Method
Definition
a behavior/service/process/function that an object can perform
Term
Encapsulation
Definition
combine data (attributes) and processes (methods) into a single entity
-E.g., Faculty class
-Attributes: Name, DOB, Phone, Address, Office
-Methods: Pay parking fine, buy lunch, teach courses
Term
Information Hiding
Definition
exactly how the behavior/service is implemented is hidden

Private vs. Public
Term
Inheritance/Generalization
Definition
abstract the common features (attributes and methods) among multiple classes into a more general class
Term
Superclass and subclass
Definition
The subclass inherits attributes and methods from the superclass

“Is-A” relationship
Term
Abstract vs. Concrete Class
Definition
An abstract class
-Does not have direct instances
-Class name font is italic
-May or may not have abstract methods
-If the method is abstract, it should be italicized
-May have concrete methods

A concrete class
-Can have direct instances
-Class name font is regular, not italic
-All methods are concrete (regular font)
-Cannot have abstract methods

-If a superclass is an abstract class, its concrete subclass must implement all abstract methods in the superclass
Term
Three Types of Association Relationships
Definition
1) Simple Association - straight line
2) Aggregation - transparent diamond
3) Composition - black, filled in diamond
Term
Cardinality
Definition
indicates how many objects participate in a given association relationship

1..1
1..*
*..*
Term
Simple Assocation
Definition
one object knows the other and they can communicate with and send messages to each other

Requires cardinality at each end in UML
Term
Aggregation
Definition
expresses a Part-of (Part-Whole) relationship between a component object and an aggregate object

The parts exist on their own without need for the whole
Term
Compositon
Definition
-A strong type of aggregation
-A Part-Whole relationship
-The part’s existence depends on the whole
-If the whole is deleted, the parts are deleted as well
Term
Messaging
Definition
Messages are sent between objects to trigger some services

A message is essentially a function call from one object to another object

Ex. The dean (object) calls the “makeCopy()” function/method in the secretary (object)
Term
Polymorphism
Definition
means that the same message can be interpreted differently by different objects
Term
Dynamic Binding
Definition
delays identifying the type of the object until run-time
Term
Three Types of Classes
Definition
1) Entity Class - hold most of the data of an application
2) Boundary Class - used by actors to interact with the system; they are the Graphical User Interface (GUI) objects
3) Control Class - coordinate the tasks and capture the main application logic in a use case
Term
Visibility in terms of attributes and methods
Definition
Public - Any one can access it

Private - Only methods within the class can access it

Protected - Only methods within the class, or within the same package, can access it

Attributes are usually private
Methods are usually public
Term
Reusable Objects
Definition
Biggest advantage of OO approach

Objects can be reused over and over in many different systems

Changes within an object will not affect other objects
Term
Object Oriented Analysis
Definition
This approach views a system as a collection of self-contained objects, including both data and processes
Term
UML
Definition
Collection of diagramming disciplines and documentation that defines the static and dynamic characteristics of a problem or a system
Term
Static Diagrams
Definition
Class Diagram
Component Diagram
Deployment Diagram
Term
Class Diagram
Definition
Classes and relationships between classes
Term
Dynamic Diagrams
Definition
Use Case Diagram
Sequence Diagram
Term
Use Case Diagram
Definition
Diagram that documents business requirements and interactions between user and system
Term
Sequence Diagram
Definition
Diagram that shows dynamic interaction of objects within a particular use case
Term
Functional Requirements
Definition
These capture the intended behavior of the system and this behavior may be expressed as services, tasks, or functions the system is required to perform
Term
Actor
Definition
A person or another system that interacts with the system

Who initiates, participates in, and/or receives the result of system behavior

A role that a user plays
Term
System Boundary
Definition
Marks out what behavior is relevant to the modeling
Term
Use Case
Definition
A process that the system performs
Term
Relationship
Definition
A two-way communication between the use case and the actor
Term
Actor Generalization
Definition
This factors out behavior common to two or more actors into a parent actor
Term
Use Case Generalization
Definition
This factors out behavior common to one or more use cases into parent use cases
Term
<>
Definition
A use case may be employed like a "subroutine" within another use case

The base case is not complete without its inclusion use cases
Term
<>
Definition
A way of inserting new behavior into an existing use case
Term
Preconditions
Definition
what must be in place for the use case to be possible
Term
Flow of Events
Definition
what actions occur for the use case to succeed
Term
Postcondition
Definition
what must be in place after this use case completes
Term
Simple Deviation
Definition
Creates branches in the main flow
Term
Complex Deviation
Definition
Create alternative flows

Alternative flows capture errors, branches, and interrupts to the main flow

Alternative flows frequently do not return to the main flow

Alternative flows often have different postconditions
Term
Project Glossary
Definition
Provides a dictionary of key business terms and definitions
Term
Sequence Diagram
Definition
show the sequence of messages and events that are permitted between objects of specific classes
Term
Synchronous
Definition
messages that require the sender to wait until the activation caused by the message is completed
Term
Asynchronous
Definition
messages that cause an activation in the receiver but do not require the sender to wait
Term
Self-Delegation
Definition
receiver of a message is also the sender of the message
Supporting users have an ad free experience!