Q: Dependencies between components are represented by ______.
-
A
Both the options
-
B
Cyclometric dependency
-
C
Directed acyclic graph
C
Answer:
C
Explanation:
Dependencies between components in software systems are typically represented using a Directed Acyclic Graph (DAG). In a DAG:
- Nodes represent components or modules
- Edges represent dependencies between them
- The graph has no cycles, ensuring that dependencies do not create infinite loops
Why not "Cyclometric dependency"?
- Cyclomatic complexity is a measure of the number of independent paths in a program, not a direct way to represent dependencies between components.
Since DAG is the correct way to represent component dependencies, the correct answer is:
✅ "Directed acyclic graph"
Related Topic:
Share Above MCQ