M7 UML Models and Finite State Machines

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Flashcards on Object-Oriented Software Construction and Finite State Modeling

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

Class Diagram

A diagram used to show the existence of classes and their relationships in the logical view of a system.

2
New cards

Class Notation

The notation for a class in a class diagram, consisting of three sections: class name, attributes, and operations.

3
New cards

Attribute Specification Format

visibility attributeName : Type [multiplicity] = DefaultValue {property string}

4
New cards

Operation Specification Format

visibility operationName (parameterName : Type) : ReturnType {property string}

5
New cards

Association (in class diagram)

A connection between classes, denoting a semantic connection.

6
New cards

Generalization

Converting a subclass type into a superclass type, also called widening or up casting.

7
New cards

Specialization

Converting a super class type into a sub class type, also called narrowing or down-casting

8
New cards

Composition

A strong 'has-a' relationship where the containing object owns the contained object, and their lifecycles are tied.

9
New cards

Aggregation

A 'has-a' relationship where the objects' lifecycles are not tied; each can exist independently.

10
New cards

Qualifier

An attribute or list of attributes of the association end.

11
New cards

Constraint

The expression of some semantic condition that must be preserved.

12
New cards

Public Visibility (+)

Accessible from anywhere.

13
New cards

Protected Visibility (#)

Accessible within the class and its subclasses.

14
New cards

Private Visibility (-)

Accessible only within the class.

15
New cards

Package Visibility (~)

Accessible within the same package.

16
New cards

Finite State Machine (FSM)

Defined by a set of states, a set of input symbols, and a set of transitions.

17
New cards

Mealy Machine

An FSM where the output depends on the event and the current state.

18
New cards

Moore Machine

An FSM where the output depends only on the state.

19
New cards

Java Enum

A special 'class' that represents a group of constants (unchangeable variables, like final variables).

20
New cards

HashMap in Java

A data structure that stores items in 'key/value' pairs.