Software Engineering - 2023 - Assignment 5

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Software Engineering
Assignment- 5

TYPE OF QUESTION: MCQ/MSQ


Number of questions: 10 Total mark: 10 X 1 = 10

For each of the following questions one or more of the given options are correct. Choose the correct
options.

QUESTION 1:

Which of the following activities are not carried out during the high-level design of a software
system?
a. Module structure definition
b. Call relationship or invocation relationship among the modules
c. Algorithms for individual modules.
d. Interface among different modules.
e. Structured analysis
Correct Answer: c. Algorithms for individual modules.
e. Structured analysis
Detailed Solution:
Algorithms for individual modules and structures analysis are carried out during detailed design of
a software system. Please refer slide 11 of week 5 lecture material.

QUESTION 2:

Which one of the following activities is carried out during the detailed design of a software system?
a. Module structure definition
b. Definition of the call relationship among the modules
c. Design of algorithms for individual modules.
d. Interface among different modules,
e. System test suite design

Correct Answer: c. Design of algorithms for individual modules.

Detailed Solution:
Algorithms for individual modules is carried out during detailed design of a software system.
Please refer slide 11 of week 5 lecture material.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 3:

A functionally independent design is characterized by which one of the following?


a. High cohesion and low coupling
b. Low cohesion and low coupling
c. High cohesion and high coupling
d. Low cohesion and high coupling
e. Medium cohesion and medium coupling

Correct Answer: a. High cohesion and low coupling

Detailed Solution:
A functionally independent design is characterized by high cohesion and low coupling. Please
refer slide 26 of week 5 lecture material for more information.

QUESTION 4:

Which one of the following are usually not advantages of designing a system such that the
modules have functional independence?
a. Reusability
b. Security
c. Testability
d. Maintainability
e. Run time efficiency

Correct Answer: b. Security


e. Run time efficiency
Detailed Solution:
Functionally independent modules are easy for reuse, test and maintain. For more information,
please see slide 28 of week 5 lecture material.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 5:

Which one of the following is the most desirable type of cohesion?


a. Functional
b. Coincidental
c. Sequential
d. Temporal
e. Procedural

Correct Answer: a. Functional

Detailed Solution:
Functional cohesion is most desirable. Please see the diagram in slide 32 of week 5 lecture
material for more information.

QUESTION 6:

In the design of a certain system, suppose all error handing functions have been put in a module,
then the module will have which one of the following types of cohesion?
a. Functional
b. Logical
c. Temporal
d. Sequential
e. Procedural

Correct Answer: b. Logical

Detailed Solution:
Since the module has similar (error handling) functions, it can be said as a logical cohesion. Please
refer slide 35 of week 5 lecture material for more information.

3
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 7:

Consider the following module handle-Student-Data that declares an array of data items sdata
and it defines certain functions that operate on sdata. What is the type of cohesion exhibited by the
module handle-Student-Data?

a. Communicational
b. Logical
c. Temporal
d. Procedural
e. Coincidental

Correct Answer: a. Communicational

Detailed Solution:
In the given example, the function refers/updates to same data structure. Therefore, this function
exhibits communicational cohesion. For more information, please refer slides 40 and 41 of week 5
lecture material.

QUESTION 8:

The coupling between to modules is determine by which one of the following?


a. Interface complexity
b. Combined size of the two modules
c. Combined coherence of the two modules
d. Sum of the cyclomatic metrics of the two modules
e. Number of shared functions

Correct Answer: a. Interface complexity

Detailed Solution:
Interface complexity determines the coupling between two modules.

4
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

QUESTION 9:

Which one of the following is the best type of coupling between two modules?
a. Data
b. Control
c. Common
d. Content
e. Stamp

Correct Answer: a. Data


Detailed Solution:

Data coupling is the best type of coupling between to modules.

QUESTION 10:

Which one of the following characteristics of a design indicates a poor design?


a. Large depth
b. Large width
c. High fan-out
d. High fan-in
e. Low fan-out

Correct Answer: c. High fan-out

Detailed Solution:
A design with high fan-out lack cohesion, therefore it is not a good characteristic of design.

***************** THE END******************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy