Exam 2 Review Flashcards

1
Q

Design testing is not performed in the classical design.

A

False

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

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

A

True

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

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

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
Q

Data flow analysis is a data-oriented design technique.

A

False

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

Good design has high cohesion and low coupling.

A

True

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

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

A

True

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

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

A

False

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

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

A

True

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

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

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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.

A

Polymorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
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
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.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
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.

A

Stamp

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

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

A

True

17
Q

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

A

True

18
Q

Inheritance is not supported by Java and C++.

A

False

19
Q

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

A

True

20
Q

Two modules are __________________ coupled if one directly references contents of the other.

A

Content

21
Q

Software developed in one context needs to be retested when integrated into another context.

A

True

22
Q

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

A

True

23
Q

Which of the following design patterns allows you to traverse elements of a collection without exposing its underlying representation?

A

Iterator

24
Q

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

A

True

25
Q

There is as yet no systematic way to determine when and how to apply design patterns.

A

True

26
Q

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

A

True

27
Q

Reuse does not have an effect on maintenance.

A

False

28
Q

Only design patterns can be reused in software development.

A

False

29
Q

Which of the following design patterns solves the implementation incompatibilities?

A

Adapter

30
Q

Inheritance, polymorphism, and dynamic binding can have a negative effect on maintenance.

A

True

31
Q

In the integration testing, the client determines whether the product satisfies its specifications.

A

False

32
Q

The logic artifacts are developed before the operational artifacts in top-down integration.

A

True

33
Q

Using constants should be avoided as poor programming practice.

A

False

34
Q

A maintenance programmer should be expert in all areas of software development, which are analysis, design, programming, testing, and documentation.

A

True

35
Q

Which of the following is not a version control system?

A

IBM Rational Rose

36
Q

The maintenance programmer should not consider maintainability of the product when he/she is fixing a defect.

A

False

37
Q

SQA (Software Quality Assurance) group does not need to do unit testing since the programmers do it.

A

False

38
Q

It is sufficient to perform execution-based testing (black-box and glass-box testing) for the implementation, non-execution based testing (code reviews) can be skipped.

A

False

39
Q

The most popular programming language should always be used for implementation to minimize costs.

A

False