Software Engineering - 2023 - Assignment 5
Software Engineering - 2023 - Assignment 5
Software Engineering - 2023 - Assignment 5
Software Engineering
Assignment- 5
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
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:
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
QUESTION 5:
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
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
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:
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
QUESTION 10:
Detailed Solution:
A design with high fan-out lack cohesion, therefore it is not a good characteristic of design.