ISRO Scientist or Engineer Computer Science 2014 Question 4

Question 4

Consider the following pseudo-code
while (m < n)
if(x > y) and (a > b) then
a = a + 1
y = y - 1
end if
m = m + 1
end while
What is the cyclomatic complexity of the above pseudo-code?



Create a FREE account and get:

  • Download Maths Shortcuts PDF
  • Get 300+ previous papers with solutions PDF
  • 500+ Online Tests for Free

Comments

Register with

OR

Boost your Prep!

Download App