SlideShare a Scribd company logo
1 of 2
Download to read offline
Coupling: Coupling can be low (loose) or high (tight).
Types of coupling:
1. Content coupling (high): In this type of coupling the module refers to the inside of other
module and changes the internal working of another module.
Example: Accessing local data of another module.
2. Common coupling: Common coupling occurs when two modules share the same global data
(global variable). Changing the shared resource may change all the modules using it.
3. External coupling: This coupling occurs when two modules share an externally imposed data
format, communication protocol, or device interface. This is generally related to the
communication to external tools and devices.
4. Control coupling: Control coupling is one module controlling the flow of another, by passing
information on the task to be performed.
Example: passing a 'what-to-do' flag.
5. Stamp coupling: In this composite data is passed between modules. The modification in a field
that a module does not need may lead to change the way the module reads the record.
Example: passing a whole record to a function that only needs one field of it.
6. Data coupling: In this coupling it is difficult to understand the interface due to many
parameters. Therefore, there is a possibility of error to occur. Example: passing an integer to a
function that computes a square root
7. Message coupling: This is the loosest type of coupling and can be obtained by state transfer as
in objects
Solution
Coupling: Coupling can be low (loose) or high (tight).
Types of coupling:
1. Content coupling (high): In this type of coupling the module refers to the inside of other
module and changes the internal working of another module.
Example: Accessing local data of another module.
2. Common coupling: Common coupling occurs when two modules share the same global data
(global variable). Changing the shared resource may change all the modules using it.
3. External coupling: This coupling occurs when two modules share an externally imposed data
format, communication protocol, or device interface. This is generally related to the
communication to external tools and devices.
4. Control coupling: Control coupling is one module controlling the flow of another, by passing
information on the task to be performed.
Example: passing a 'what-to-do' flag.
5. Stamp coupling: In this composite data is passed between modules. The modification in a field
that a module does not need may lead to change the way the module reads the record.
Example: passing a whole record to a function that only needs one field of it.
6. Data coupling: In this coupling it is difficult to understand the interface due to many
parameters. Therefore, there is a possibility of error to occur. Example: passing an integer to a
function that computes a square root
7. Message coupling: This is the loosest type of coupling and can be obtained by state transfer as
in objects

More Related Content

Similar to Coupling Coupling can be low (loose) or high (tight).Types of cou.pdf

Computer Networking Notes for Tech Placements (1).pdf
Computer Networking Notes for Tech Placements (1).pdfComputer Networking Notes for Tech Placements (1).pdf
Computer Networking Notes for Tech Placements (1).pdf
Motivationgarib
 

Similar to Coupling Coupling can be low (loose) or high (tight).Types of cou.pdf (20)

Se 381 - lec 22 - 24 - 12 may15 - modularity - i - coupling
Se 381 - lec 22 - 24  - 12 may15 - modularity - i - couplingSe 381 - lec 22 - 24  - 12 may15 - modularity - i - coupling
Se 381 - lec 22 - 24 - 12 may15 - modularity - i - coupling
 
Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesion
 
Inversion of control
Inversion of controlInversion of control
Inversion of control
 
Fundamental design concepts
Fundamental design conceptsFundamental design concepts
Fundamental design concepts
 
Unit 2
Unit 2Unit 2
Unit 2
 
CN QNAs.pdf
CN QNAs.pdfCN QNAs.pdf
CN QNAs.pdf
 
Software Design abtic.pptx
Software Design abtic.pptxSoftware Design abtic.pptx
Software Design abtic.pptx
 
software engineering
software engineeringsoftware engineering
software engineering
 
6-Design.ppt
6-Design.ppt6-Design.ppt
6-Design.ppt
 
5.Software Design.ppt
5.Software Design.ppt5.Software Design.ppt
5.Software Design.ppt
 
Lect17
Lect17Lect17
Lect17
 
Computer Networking Notes APNA COLLEGE.pdf
Computer Networking Notes APNA COLLEGE.pdfComputer Networking Notes APNA COLLEGE.pdf
Computer Networking Notes APNA COLLEGE.pdf
 
Computer Networking Notes for Tech Placements (1).pdf
Computer Networking Notes for Tech Placements (1).pdfComputer Networking Notes for Tech Placements (1).pdf
Computer Networking Notes for Tech Placements (1).pdf
 
CN UNIT I.pptx
CN UNIT I.pptxCN UNIT I.pptx
CN UNIT I.pptx
 
1. Ch # 02 1st year computer science notes
1. Ch # 02 1st year computer science notes1. Ch # 02 1st year computer science notes
1. Ch # 02 1st year computer science notes
 
Class notes 1
Class notes 1Class notes 1
Class notes 1
 
Computer Network notes.docx
Computer Network notes.docxComputer Network notes.docx
Computer Network notes.docx
 
Computer networks 1
Computer networks 1Computer networks 1
Computer networks 1
 
System software design1
System software design1System software design1
System software design1
 
fundamentals & link layers jntuk material
fundamentals & link layers jntuk materialfundamentals & link layers jntuk material
fundamentals & link layers jntuk material
 

More from anuradhasilks

identical is the exact same, this is the top r.pdf
                     identical is the exact same, this is the top r.pdf                     identical is the exact same, this is the top r.pdf
identical is the exact same, this is the top r.pdf
anuradhasilks
 
TriangleU210.javapublic class TriangleU210 {    Declaring inst.pdf
TriangleU210.javapublic class TriangleU210 {    Declaring inst.pdfTriangleU210.javapublic class TriangleU210 {    Declaring inst.pdf
TriangleU210.javapublic class TriangleU210 {    Declaring inst.pdf
anuradhasilks
 
Tested on Eclipse and both class should be in same packageimport.pdf
Tested on Eclipse and both class should be in same packageimport.pdfTested on Eclipse and both class should be in same packageimport.pdf
Tested on Eclipse and both class should be in same packageimport.pdf
anuradhasilks
 
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdf
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdfPsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdf
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdf
anuradhasilks
 
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdf
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdfOf the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdf
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdf
anuradhasilks
 

More from anuradhasilks (20)

The Arrhenius Theory of acids and bases The theo.pdf
                     The Arrhenius Theory of acids and bases  The theo.pdf                     The Arrhenius Theory of acids and bases  The theo.pdf
The Arrhenius Theory of acids and bases The theo.pdf
 
oxygen in air (O2) reacts with H2 when it burns .pdf
                     oxygen in air (O2) reacts with H2 when it burns  .pdf                     oxygen in air (O2) reacts with H2 when it burns  .pdf
oxygen in air (O2) reacts with H2 when it burns .pdf
 
x+12=1 x=12 .pdf
                     x+12=1 x=12                                    .pdf                     x+12=1 x=12                                    .pdf
x+12=1 x=12 .pdf
 
most of the hydrogens on the benzene were replace.pdf
                     most of the hydrogens on the benzene were replace.pdf                     most of the hydrogens on the benzene were replace.pdf
most of the hydrogens on the benzene were replace.pdf
 
Li2S Solution Li2S .pdf
                     Li2S  Solution                     Li2S  .pdf                     Li2S  Solution                     Li2S  .pdf
Li2S Solution Li2S .pdf
 
identical is the exact same, this is the top r.pdf
                     identical is the exact same, this is the top r.pdf                     identical is the exact same, this is the top r.pdf
identical is the exact same, this is the top r.pdf
 
This is a nucleophilic substitution reaction that.pdf
                     This is a nucleophilic substitution reaction that.pdf                     This is a nucleophilic substitution reaction that.pdf
This is a nucleophilic substitution reaction that.pdf
 
Sulfur is oxidized and nitrogen is reduced. .pdf
                     Sulfur is oxidized and nitrogen is reduced.      .pdf                     Sulfur is oxidized and nitrogen is reduced.      .pdf
Sulfur is oxidized and nitrogen is reduced. .pdf
 
TriangleU210.javapublic class TriangleU210 {    Declaring inst.pdf
TriangleU210.javapublic class TriangleU210 {    Declaring inst.pdfTriangleU210.javapublic class TriangleU210 {    Declaring inst.pdf
TriangleU210.javapublic class TriangleU210 {    Declaring inst.pdf
 
There is some data missing in the problem.The composition of the m.pdf
There is some data missing in the problem.The composition of the m.pdfThere is some data missing in the problem.The composition of the m.pdf
There is some data missing in the problem.The composition of the m.pdf
 
at beginning flask has only NaOH pH = 14 + log [N.pdf
                     at beginning flask has only NaOH pH = 14 + log [N.pdf                     at beginning flask has only NaOH pH = 14 + log [N.pdf
at beginning flask has only NaOH pH = 14 + log [N.pdf
 
take log on both sides1n lna = ln las a--0.pdf
take log on both sides1n lna = ln las a--0.pdftake log on both sides1n lna = ln las a--0.pdf
take log on both sides1n lna = ln las a--0.pdf
 
Tested on Eclipse and both class should be in same packageimport.pdf
Tested on Eclipse and both class should be in same packageimport.pdfTested on Eclipse and both class should be in same packageimport.pdf
Tested on Eclipse and both class should be in same packageimport.pdf
 
Solution A person in perfect health has a utility score of 1.0U.pdf
Solution A person in perfect health has a utility score of 1.0U.pdfSolution A person in perfect health has a utility score of 1.0U.pdf
Solution A person in perfect health has a utility score of 1.0U.pdf
 
Resurgent infection is suggesting that it is viral infection by meas.pdf
Resurgent infection is suggesting that it is viral infection by meas.pdfResurgent infection is suggesting that it is viral infection by meas.pdf
Resurgent infection is suggesting that it is viral infection by meas.pdf
 
There are only two functional groups in the molec.pdf
                     There are only two functional groups in the molec.pdf                     There are only two functional groups in the molec.pdf
There are only two functional groups in the molec.pdf
 
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdf
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdfPsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdf
PsychoanalysisPsychoanalysis was founded by Sigmund Freud (1856-19.pdf
 
Product of Cyclopentane + H2O(H+) gives No Reaction.It will simply F.pdf
Product of Cyclopentane + H2O(H+) gives No Reaction.It will simply F.pdfProduct of Cyclopentane + H2O(H+) gives No Reaction.It will simply F.pdf
Product of Cyclopentane + H2O(H+) gives No Reaction.It will simply F.pdf
 
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdf
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdfOf the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdf
Of the variedtypes of IPC, sockets arout and awaythe foremostcommon..pdf
 
C2O2 is a bidendate ligand &Cl - is a mono dendat.pdf
                     C2O2 is a bidendate ligand &Cl - is a mono dendat.pdf                     C2O2 is a bidendate ligand &Cl - is a mono dendat.pdf
C2O2 is a bidendate ligand &Cl - is a mono dendat.pdf
 

Recently uploaded

Recently uploaded (20)

UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 

Coupling Coupling can be low (loose) or high (tight).Types of cou.pdf

  • 1. Coupling: Coupling can be low (loose) or high (tight). Types of coupling: 1. Content coupling (high): In this type of coupling the module refers to the inside of other module and changes the internal working of another module. Example: Accessing local data of another module. 2. Common coupling: Common coupling occurs when two modules share the same global data (global variable). Changing the shared resource may change all the modules using it. 3. External coupling: This coupling occurs when two modules share an externally imposed data format, communication protocol, or device interface. This is generally related to the communication to external tools and devices. 4. Control coupling: Control coupling is one module controlling the flow of another, by passing information on the task to be performed. Example: passing a 'what-to-do' flag. 5. Stamp coupling: In this composite data is passed between modules. The modification in a field that a module does not need may lead to change the way the module reads the record. Example: passing a whole record to a function that only needs one field of it. 6. Data coupling: In this coupling it is difficult to understand the interface due to many parameters. Therefore, there is a possibility of error to occur. Example: passing an integer to a function that computes a square root 7. Message coupling: This is the loosest type of coupling and can be obtained by state transfer as in objects Solution Coupling: Coupling can be low (loose) or high (tight). Types of coupling: 1. Content coupling (high): In this type of coupling the module refers to the inside of other module and changes the internal working of another module. Example: Accessing local data of another module. 2. Common coupling: Common coupling occurs when two modules share the same global data (global variable). Changing the shared resource may change all the modules using it. 3. External coupling: This coupling occurs when two modules share an externally imposed data format, communication protocol, or device interface. This is generally related to the communication to external tools and devices. 4. Control coupling: Control coupling is one module controlling the flow of another, by passing
  • 2. information on the task to be performed. Example: passing a 'what-to-do' flag. 5. Stamp coupling: In this composite data is passed between modules. The modification in a field that a module does not need may lead to change the way the module reads the record. Example: passing a whole record to a function that only needs one field of it. 6. Data coupling: In this coupling it is difficult to understand the interface due to many parameters. Therefore, there is a possibility of error to occur. Example: passing an integer to a function that computes a square root 7. Message coupling: This is the loosest type of coupling and can be obtained by state transfer as in objects