By Signing up you agree to Splatt AI's terms
In this section Fill in the gap with the term that corresponds to the definition
Cohesion and Coupling
In that it allow for the duplication of variable names in different modules.
Global variables allow Data Coupling through the entire program
Only those variables that will be used in all modules should be designated as GLOBAL VARIABLES. "
the Return Value is only sent out of the Called Module into the Calling Module.
In a coupling diagram
The arrowhead would be a single-headed arrow
In this section you have 4 options, select the one option that corresponds with the question stated
CostPerItem) * ItemQuantity
and they may refer to the same value.
The values are sent and received according to the position in the way they are listed:
i.e. First formal parameter corresponds to first actual parameter"
CostPerItem)*ItemQuantity //Computes bill
Module1 may be required to provide data to Module2.
Cohesion means having separate modules in a program
Module1 and Module2
Coupling means data passing from Module1 to Module2."
BlankTerm: Rules for Designing Modules (2 of 5) "Each module has and performs single function
For example printing
BlankTerm: Rules for Designing Modules (3 of 5) "Each module is short enough to be easily read and modified when the need arises"
BlankTerm: Assignment Two "Read Chapter Four of the Text Book-Problem Solving Programming Concepts
Explain each Concept discussed using an Example You Created Yourself
E.g. Explain Modules
BlankTerm: Structuring a Computer Program "Modules
Self-contained component used in combination with other components
Complete program happens by Relationship among Modules through
Exchange of Data
Global and Local variables
BlankTerm: Return Values "A Return Value is the result of a function.
When Functions are used within another instruction