Software Design Concept - questions

Software Design Concept - questions


Q.1 Software is divided into separately named and addressable components, and it is called as:

A) Software.
B) Cohesion.
C) Module.
D) None of the above.

View Answer / Hide Answer

ANSWER: C




Q.2 Independent modules are easier to maintain and test because of.

A) Code modification is limited,
B) Error propagation is reduced
C) Reusable modules are possible.
D) All of the above.

View Answer / Hide Answer

ANSWER: D




Q.3 Independence of module is assessed using two qualitative criteria. What are those criteria?

A) Cohesion and coupling.
B) Module and modularity.
C) Cyclomatic complexity and modularity.
D) None of the above.

View Answer / Hide Answer

ANSWER: A




Q.4 ________ is an indication of the relative interdependence among modules.

A) Cohesion
B) Coupling
C) Modularity
D) Cohesion and coupling.

View Answer / Hide Answer

ANSWER: B




Q.5 What is/are the characteristics of a well-formed design class?

A) Primitiveness.
B) High cohesion.
C) Low coupling.
D) All of the above.

View Answer / Hide Answer

ANSWER: D




Q.6 ___________ is an indication of the relative functional strength of a module.

A) Cohesion
B) Coupling
C) Modularity
D) Cohesion and coupling.

View Answer / Hide Answer

ANSWER: A




Q.7 Which is the most desirable form of coupling?

A) Control coupling.
B) Data coupling.
C) Common coupling.
D) Stamp coupling.

View Answer / Hide Answer

ANSWER: A




Q.8 Which is worst type of coupling?

A) Control coupling.
B) Data coupling.
C) Content coupling.
D) Stamp coupling.

View Answer / Hide Answer

ANSWER: C




Q.9 Read List-1 and List-2 and Match the following:

List – I ----------------------- List – II
a. Data coupling -------------- i. Module A and Module B have shared data
b. Stamp coupling ------------- ii. Dependency between modules is based on the fact they communicate by only passing of data
c. Common coupling ------------ iii. When complete data structure is passed from one module to another
d. Content coupling ----------- iv. When the control is passed from one module to the middle of another

Codes :
(A) a - iii, b - ii, c - i, d - iv
(B) a - ii, b - iii, c - i, d - iv
(C) a - ii, b - iii, c - iv, d - i
(D) a - iii, b - ii, c - iv, d - i

View Answer / Hide Answer

ANSWER: B




Q.10 A good software design must have the following attribute.

(A) High module coupling, high module cohesion.
(B) High module coupling, low module cohesion.
(C) Low module coupling, high module cohesion.
(D) Low module coupling, low module cohesion.

View Answer / Hide Answer

ANSWER: C




Q.11 Cohesion implies that a component or class encapsulates only attributes and operations that are closely related to one another and to the class or component itself. Which of the following is/are the type of cohesion?

A) Functional.
B) Layer.
C) Communicational.
D) All of the above.

View Answer / Hide Answer

ANSWER: D




Q.12 Three statements are given below regarding the user interface design.
1. Place the user in control.
2. Reduce the user’s memory load.
3. Make the interface consistent.

These rules are called as:

A) Golden Rule
B) Silver Rule
C) User Rule
D) Interface rule

View Answer / Hide Answer

ANSWER: A




Q.13 The coupling between different modules of software is categorized as follows:

1. Content coupling, 2. Common coupling, 3. Control coupling, 4. Data coupling
Coupling between modules can be ranked in the order of least desirable to most desirable as follows.

A) 2,1,3,4
B) 1,2,3,4
C) 4,3,2,1
D) 1,4,3,2

View Answer / Hide Answer

ANSWER: B




Q.14 Functional cohesion means.

A) Operation are part of single functional task and are placed in same procedures.
B) All operations that access the same data are defined within one class.
C) All operations that access the data from outside the module.
D) None of the above.

View Answer / Hide Answer

ANSWER: A




Q.15 Which is the most desirable form of cohesion?

A) Logical cohesion.
B) Function cohesion.
C) Procedural cohesion.
D) Communicational cohesion.

View Answer / Hide Answer

ANSWER: B


Post your comment