What is coupling and cohesionExplain different forms of it Software Engineering Sem 6 Mumbai university Dec 16

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

Ask Questions

Sixth-Semester-BE-Degree-Examination-JuneJuly-2013-UNIX-System-Programming-->View question

What is coupling and cohesion.Explain different forms of it.-Software Engineering-Sem 6-Mumbai university-Dec 16

It is related to software engineering.


Asked by:Purnima

Taged users:
Shivaratnakumar-PatilJAINAM-JAIN

Likes:
Be first to like this question

Dislikes:
Be first to dislike this question
Talk about this  Delete  Like  Dislike

Answers
                                        
 Cohesion are:-
Cohesion is a natural extension of the information hiding concept. A cohesive module performs a single task within a software procedure, requiring little interaction with procedures being performed in other parts of a program. Cohesion may be represented as a "spectrum." We always strive for high cohesion, although the mid-range of the spectrum is often acceptable. The scale for cohesion is nonlinear.
Types of cohesion:- 1. Coincidental cohesion 2. Logical cohesion 3. Temporal cohesion 4. Communicational cohesion 5. Sequential cohesion

Coincidental cohesion are:-
This occurs when there is no relationship among elements of a module. They can occur if an existing program modularized by chopping it into pieces and making differ piece of modules i.e. it performs a set of tasks that are related to each other very loosely. The modules contain a random collection of function.
Logical cohesion are:-
A module having logical cohesion if there are some logical relationship between elements of a modules i.e. elements of a module performs the operation.
Temporal cohesion are:-
It is same as logical cohesion except that the element must be executed in same time. Set of function responsible for initialization, startup, the shutdown of the same process. It is higher than logical cohesion since all elements are executed together. This avoids the problem of passing the flag.
Communicational cohesion are:-
A module is said to have Communicational cohesion if all function of module refers to an update the same data structure.
Sequential cohesion are:-
A module is said to have sequential cohesion if element module from different parts of the sequence. When the output from one element of the sequence is input to the next element of a sequence. A sequence bounded module may contain several functions or part of different functions.
Functional cohesion are:-
It is the strongest cohesion in a functional bound module, all elements of the module are related to performing a single function. By function we not mean simply mathematical function but also these modules which have single goal function like computing square root and sort array are a clear example of functionality cohesion modules.
Coupling are:- Coupling is a measure that defines the level of inter-dependability among modules of a program. It tells at what level the modules interfere and interact with each other. The lower the coupling, the better the program.

There are five levels of coupling are:-
• Content coupling - When a module can directly access or modify or refer to the content of another module, it is called content level coupling.
• Common coupling- When multiple modules have read and write access to some global data, it is called common or global coupling.
• Control coupling- Two modules are called control-coupled if one of them decides the function of the other module or changes its flow of execution.
• External Coupling: This type of coupling occurs when an external imposed data format and communication protocol are shared by two modules. External Coupling is generally related to the communication to external devices.
• Message Coupling: This type of coupling can be achieved by the state decentralization. It is the loosest type of coupling, in which the component communication is performed through message passing.
• Stamp coupling- When multiple modules share common data structure and work on different part of it, it is called stamp coupling.
• Data coupling- Data coupling is when two modules interact with each other by means of passing data . If a module passes data structure as parameter, then the receiving module should use all its components.

                                                                                            


Answerd By:aksingh1818

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this  Delete  Like  Dislike

Can you help us to add better answer here? Please see this



You may also like our videos

Below are some of the videos from our collection. We saw that students not only needed content but also videos. So, we decided to build a video platform for you also an algorithm which shows best videos suites to you related to the content you are browsing check out some videos which suit best for you.

Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.How to answer a question
Career: Work or do your internship with us.Work with us
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.How to upload a video on eduladder
Donate: Ad revenue alone is not able to take care of our server cost consider donating at least a dollar Click here to donate.


Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Ask your question?