Software Design Flashcards

1
Q

interface

A

everything that must be known to users

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

method

A

a block of code that only runs when it is called

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

public methods of a class

A

APIs

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

ArrayList

A

a resizeable array implementation of the list interface in Java

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

a special form of association that is used to express that instances of one class are parts of an instance of another class

A

aggregation

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

everything that must be known to users

A

interface

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

the act of keeping both the data and the computation in the same place in order to limit the number of contact point between different parts of your system

A

encapsulation

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

3 ways of escaping refrences

A

1) returning a refrence to an external object
2) storing a external refrence internally
3) leaking a refrence through a shared structure

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

object that can’t be changed

A

immutable

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

disadvantage of immutability

A

creating more objects, garbage collection

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

extended interface

A

extended with methods returning only refrences to immutable objects

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

extended with methods returning only refrences to immutable objects

A

extended interface

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

copy constructor

A

a classical technique for copying objects

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

number of relationships between entities

A

coupling

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

a classical technique for copying objects

A

copy constructor

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

how hard to read and understand is the program

A

reading complexity

17
Q

number and types of relationships between entities

A

structural complexity

18
Q

complexity of decision in your program

A

decision complexity

19
Q

representation of data used and relationships between the data elements in your program

A

data complexity

20
Q

a graphical notation used to construct and visualise the static structure of a software system by showing the system’s entities

A

class diagram

21
Q

they model possibel relationships between classes

A

association