‘FAN IN’ of a component A is defined as
2014
‘FAN IN’ of a component A is defined as
- A.
Count of the number of components that can call, or pass control, to a component A
- B.
Number of components related to component A
- C.
Number of components dependent on component A
- D.
None of the above
Attempted by 416 students.
Show answer & explanation
Correct answer: A
Answer: Count of the number of components that can call, or pass control, to a component A
Explanation:
Fan-in measures incoming dependencies: how many other components call or transfer control to the given component.
A high fan-in often means greater reuse but also increases the impact of changes and the amount of testing required, since many callers depend on the component.
Contrast with fan-out: fan-out counts how many components the given component calls (its outgoing dependencies).
Why the other statements are not correct or are misleading:
'Number of components related to component A' is too vague because 'related' does not specify a calling or control relationship.
'Number of components dependent on component A' is ambiguous: if intended to mean components that rely on A (callers), it aligns with fan-in, but the phrase can be misread as components that A depends on. The precise definition explicitly counts callers.
'None of the above' is incorrect because a correct definition is provided among the statements.