adplus-dvertising
frame-decoration

Question

What is tree impurity in the context of a call graph?

a.

The extent to which the graph is similar to a pure tree

b.

The extent to which the graph deviates from a pure tree

c.

The extent to which the graph is a pure tree

d.

The extent to which the graph is connected

Posted under Software Engineering

Answer: (b).The extent to which the graph deviates from a pure tree Explanation:The tree impurity in the context of a call graph refers to the extent to which the graph deviates from a pure tree. The concept of tree impurity is defined as the number of edges removed from a connected (undirected) graph in the process of converting it into a tree. The tree impurity is an indication of how different the graph is from a pure tree structure.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is tree impurity in the context of a call graph?

Similar Questions

Discover Related MCQs

Q. What is the formula for calculating the tree impurity of a connected graph?

Q. What is the range of the value of tree impurity of a connected graph?

Q. What happens to the value of tree impurity if an edge is added to a connected graph?

Q. What is the purpose of the tree impurity measure?

Q. Is it always easy to strive for a neat hierarchical decomposition?

Q. What is the purpose of organizing clusters hierarchically in a design?

Q. Does tree-like call graph allow for reuse in the same program?

Q. What does the call graph allow us to assess in a design?

Q. What is the definition of local flow in the context of information flow between modules in a system?

Q. What is the definition of global flow in the context of information flow between modules in a system?

Q. Using notions of local and global data flow, Shepperd defines the ‘complexity’ of a module M as

Q. Who proposed the information flow measure?

Q. What is the purpose of the information flow metric?

Q. What is the relationship between information-flow metric and the abstract data type architectural style?

Q. How does the choice of measure affect the grouping of elements?

Q. What is WMC(Weighted Methods per Class) in the context of object-oriented metrics?

Q. What does DIT stand for in the context of object-oriented metrics?

Q. What is the formula for WMC(Weighted Methods per Class)?

Q. What is the purpose of WMC in object-oriented metrics?

Q. What does the DIT(Depth of Inheritance Tree) value depend on?