100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Chapter 6 CEN 4010 Questions And Answers Rated 100% Correct!!

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
11-10-2024
Written in
2024/2025

Control Coupling - ️️• When one module passes parameters or a return code to control the behavior of another module • It is impossible for the controlled module to function without some direction from the controlling module Types of Coupling - ️️• Content coupling • Common coupling • Control coupling • Stamp coupling • Data coupling Design Principles - ️️are guidelines for decomposing a system's required functionality and behavior into modules 6 Common Design Principles - ️️- Modularity - Interfaces - Information hiding - Incremental development - Abstraction - Generality Modularity - Design Principle - ️️is the principle of keeping separate the various unrelated aspects of a system, so that each aspect can be studied in isolation (also called separation of concerns) Tightly coupled - ️️they depend a great deal on each other Loosely coupled - ️️modules have some dependence, but their interconnections are weak Uncoupled - ️️modules have no interconnections at all; they are completely unrelated Refactoring - ️️• Design decisions are periodically revisited and revised • Objective: to simplify complicated solutions or to optimize the design • Also used to address changing requirements Ways modules are dependent on each other - ️️- The references made from one module to another - The amount of data passed from one module to another- The amount of control that one module has over the other Content Coupling - ️️Occurs when one component modifies an internal data item in another component, or when one component branches into the middle of another component Common Coupling - ️️Making a change to the common data means tracing back to all components that access those data to evaluate the effect of the change Stamp Coupling - ️️occurs when complex data structures are passed between modules - represents a more complex interface between modules, because the modules have to agree on the data's format and organization Data Coupling - ️️If only data values, and not structured data, are passed - simpler and less likely to be affected by changes in data representation Cohesion - ️️refers to the dependence within and among a module's internal elements (e.g., data, functions, internal modules) Coincidental Cohesion - ️️(worst degree) - Parts are unrelated to one another Logical Cohesion - ️️Parts are related only by the logic structure of code Temporal Cohesion - ️️Module's data and functions related because they are used at the same time in an execution Procedural Cohesion - ️️Similar to temporal, and functions pertain to some related action or purpose Communication Cohesion - ️️Operates on the same data set Function Cohesion - ️️(ideal degree) - All elements essential to a single function are contained in one module, and all of the elements are essential to the performance of the functionInformational Cohesion - ️️Adaption of functional cohesion to data abstraction and object-based design Interface - ️️defines what services the software unit provides to the rest of the system, and how other units can access those services

Show more Read less
Institution
CEN 4010
Course
CEN 4010









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CEN 4010
Course
CEN 4010

Document information

Uploaded on
October 11, 2024
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Chapter 6 CEN 4010
Control Coupling - ✔️✔️• When one module passes parameters or a return code to
control the behavior of another module
• It is impossible for the controlled module to function without some direction from the
controlling module

Types of Coupling - ✔️✔️• Content coupling
• Common coupling
• Control coupling
• Stamp coupling
• Data coupling

Design Principles - ✔️✔️are guidelines for decomposing a system's required
functionality and behavior into modules

6 Common Design Principles - ✔️✔️- Modularity
- Interfaces
- Information hiding
- Incremental development
- Abstraction
- Generality

Modularity - Design Principle - ✔️✔️is the principle of keeping separate the various
unrelated
aspects of a system, so that each aspect can be studied in isolation (also called
separation of concerns)

Tightly coupled - ✔️✔️they depend a great deal on each other

Loosely coupled - ✔️✔️modules have some dependence, but their interconnections
are weak

Uncoupled - ✔️✔️modules have no interconnections at all; they are completely
unrelated

Refactoring - ✔️✔️• Design decisions are periodically revisited and revised
• Objective: to simplify complicated solutions or to optimize the design
• Also used to address changing requirements

Ways modules are dependent on each other - ✔️✔️- The references made from one
module to another
- The amount of data passed from one module to another

, - The amount of control that one module has over the other


Content Coupling - ✔️✔️Occurs when one component modifies an internal data item in
another component, or when one component branches into
the middle of another component

Common Coupling - ✔️✔️Making a change to the common data means tracing back to
all components that access those data to evaluate the effect of
the change


Stamp Coupling - ✔️✔️occurs when complex data structures are passed between
modules

- represents a more complex interface between modules, because the modules have to
agree on the data's format and organization

Data Coupling - ✔️✔️If only data values, and not structured data, are passed

- simpler and less likely to be affected by changes in data representation

Cohesion - ✔️✔️refers to the dependence within and among a module's internal
elements (e.g., data, functions, internal modules)

Coincidental Cohesion - ✔️✔️(worst degree)

- Parts are unrelated to one another

Logical Cohesion - ✔️✔️Parts are related only by the logic structure of code

Temporal Cohesion - ✔️✔️Module's data and functions related because they are used
at the same time in an execution

Procedural Cohesion - ✔️✔️Similar to temporal, and functions pertain to some related
action or purpose

Communication Cohesion - ✔️✔️Operates on the same data set

Function Cohesion - ✔️✔️(ideal degree)

- All elements essential to a single function are contained in one module, and all of the
elements are essential to the performance of the function

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ACADEMICMATERIALS City University New York
View profile
Follow You need to be logged in order to follow users or courses
Sold
568
Member since
2 year
Number of followers
186
Documents
10590
Last sold
1 day ago

4.1

96 reviews

5
53
4
12
3
21
2
3
1
7

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions