Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | GATE IT 2006 | Question 16

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

The cyclomatic complexity of the flow graph of a program provides  

(A)

an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at most once

(B)

a lower bound for the number of tests that must be conducted to ensure that all statements have been executed at most once

(C)

an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once

(D)

a lower bound for the number of tests that must be conducted to ensure that all statements have been executed at least once


Answer: (C)

Explanation:

Option (C) is correct, because the cyclomatic complexity of the flow graph of a program provides an upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 07 Jul, 2020
Like Article
Save Article
Similar Reads