exam 2 Flashcards

(30 cards)

1
Q

Deciding on the architecture of a software product is performed by the software architect.
True or false

A

True

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

The detailed design of a module can be represented in tabular format or using pseudocode
True or false

A

True

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

Data flow analysis is only suitable when there is single input stream and single output stream.
True or false

A

False

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

Design testing is not performed in the classical design.
True or false

A

False

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

The two key steps of object-oriented design are to complete the class diagram and perform the detailed design.
True or false

A

True

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

Data flow analysis is a data-oriented design technique.
true or false

A

false

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

We should not add an item to a UML diagram until strictly necessary to minimize rework.
true or false

A

true

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

Good design has high cohesion and low coupling.
true or false

A

true

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

Data flow analysis (DFA) is inappropriate for transaction processing products.
true or false

A

true

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

Two modules are ________________ coupled if they have write access to global data.

A

Common

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

Polymorphism and dynamic binding can have a negative impact on maintenance.
true or false

A

true

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

Among the following cohesion types, which of them should be preferred (promotes reuse)?

A

Informational Cohesion

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

Among the following coupling types, which of them should be preferred (promotes reuse)?

A

Data Coupling

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

An instance of a superclass inherits all attributes of its subclass.
true or false

A

false

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

The object-oriented paradigm gives overall equal attention to data and operations.
true or false

A

true

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

If a module performs multiple, completely unrelated actions, the module should be broken into separate modules, each performing one task.
true or false

17
Q

Two modules are __________________ coupled if a data structure is passed as a parameter, but the called module operates on some but not all of the individual components of the data structure.

18
Q

_______________ refers to the ability of a function to be applied to different argument types, or an object to refer to instances of various classes at run-time.

19
Q

Inheritance is not supported by Java and C++.
true or false

20
Q

A computer program is said to be portable if there is very low effort required to make it run on different platforms.
true or false

21
Q

A useful technique for increasing the portability of system software is to use levels of abstraction.
true or false

22
Q

Which of the following design patterns solves the implementation incompatibilities?

23
Q

Reusable parts are constructed first in the systematic (deliberate) reuse, and then, products are built using these parts.
true or false

24
Q

Only design patterns can be reused in software development.
true or false

25
Reuse does not have an effect on maintenance. true or false
false
26
Which of the following design patterns allows you to decouple an abstraction from its implementation.
Bridge
27
Software developed in one context needs to be retested when integrated into another context. True or false
true
28
Which of the following design patterns allows you to traverse elements of a collection without exposing its underlying representation?
Iterator
29
There is as yet no systematic way to determine when and how to apply design patterns. true or false
true
30