Week 8 Flashcards

1
Q

What are software components?

A

Software components are independent units within a system that encapsulates a collection of data and functions that are semantically related.

They are a higher-level abstraction than objects and encapsulates (hides) their internal structure.

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

What is the notation of components?

A

For components, we always need to include the plug thingy and also write «component»

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

How does a component collaborate with other components?

A

A component collaborates with other components via well-defined interfaces.

Provider (ball), Require (hand)

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

What can a Software Component be?

A

A software component can be a collection of classes (packages), a Web Service, a resource (hardware or software)

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

What do we design components to be?

A

We design components to be
modular, portable, replaceable and reusable

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

What are the advantages of components?

A

They make discussions easier at a higher level. Especially with the clients.

Its like a higher level class diagram, that makes discussion easier as it tries to hide a lot of the detail.

EMPHASIS IS JUST ON HIGHER LEVEL, MAKING THINGS EASIER TO UNDERSTAND

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

We ________ our classes into components

A

Encapsulate

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

What is a nested component?

A

A nested component is a bigger component that is a composition of several other components. These different sub components might be doing something specific for the bigger component.

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

Reminder to go through component diagram exercise on lecture notes

A

it is very impt…

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

test

A

test

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