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

cracku

Boost your Prep!

Download App