Chapter 31 Flashcards

(8 cards)

1
Q

three ways in which data structures can be defined in C#:

A

-Statistically
-Code generation
-Dynamically

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

Statistically

A

when you simply write the classes and they get compiled. This is the most common
case out there.

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

Code generation

A

It happens when structures get created from templates or databases or some
user scripts

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

Dynamically

A

Advanced libraries are
capable of constructing data structures and compiling them into executable code right at the
moment when the application is executing.

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

The__________ is about making two interfaces that are not compatible, compatible.

A

Adapter pattern

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

The_________ is about taking a bunch of complex interactions and creating a façade
that you can use instead of dealing with all those complex objects and complex interactions.

A

Façade pattern

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

The_______ is placed between the client and something that you want to call. So instead of
calling a method directly, you call the proxy who calls that method.

A

Proxy

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