L8 - Interface Specification Flashcards

1
Q

Roundtrip Engineering

A

Forward Engineering + Reverse Engineering

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

Bag

A

Elements can appear more than once (5/5/7/3)

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

Object Oriented Contract

A

describes service of an object in natural language/mathematical notation/Object Constraint Language (OCL)

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

Invariants

A

Predicate that is always true for all instances of a class

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

Precondition

A

Condition must be true BEFORE operation is invoked.

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

Access Modifiers

A

private & public & protected (rule: make always private - information hiding)

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

OCL

A

Object Constraint Language. Declarative language with no side effects and no control flow

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

Reengineering

A

Changing software system after it has been reverse engineered

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

Code Smell

A

Violation of best practices: long method + duplicated code + large class + many parameters + lazy class

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

Postcondition

A

Condition must be true AFTER operation is invoked.

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

Sequence

A

Elements are ordered (1/3/5/7)

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

Set

A

Elements can appear only once (5/1/7/3)

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