Question
Part 1: Module coupling and cohesion For this part of the coursework, you are to analyse a program in terms of module coupling and cohesion.
Part 1: Module coupling and cohesion
For this part of the coursework, you are to analyse a program in terms of module coupling and cohesion. The output of this part is a short report containing extracts of source code along with descriptive writing.
Instructions
Select one of the example programs you have seen in the degree so far. It can be from any of the modules you are taking now or have taken before. Carry out the following tasks:
* Describe the purpose of the program and which technologies it uses.
* Examine the code and identify two different types of module coupling that are happening in the code. In your report, put in extracts of the code which illustrate the coupling and explain why you think that type of coupling is happening there.
* Examine the code and identify two different types of module cohesion that are happening in the code. In your report, put in extracts of the code which illustrate the cohesion and explain why you think that type of coupling is happening there.
Here is a checklist for part 1:
Done? | Marks | |
Typed report in PDF format, approximately 500 words. Word count does not include source code extracts | 1 | |
Description of the purpose of the program and the technology it uses | 1 | |
Module coupling example 1: code extract and explanation | 2 | |
Module coupling example 2: code extract and explanation | 2 | |
Module cohesion example 1: code extract and explanation | 2 | |
Module cohesion example 2: code extract and explanation | 2 | |
Total | 10 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started