...
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024

Software-Engineering

Question 275
Which one of the following is used to compute cyclomatic complexity ?
A
The number of regions – 1
B
E – N + 1, where E is the number of flow graph edges and N is the number of flow graph nodes.
C
P – 1, where P is the number of predicate nodes in the flow graph G.
D
P + 1, where P is the number of predicate nodes in the flow graph G.
Question 275 Explanation: 
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3. Edges-Vertices+2
Correct Answer: D
Question 275 Explanation: 
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3. Edges-Vertices+2

Leave a Reply

Your email address will not be published. Required fields are marked *