Consider the following pseudo-code: If (A > B) and (C > D) then A = A + 1 B =…

PYQ GATE 2007

Consider the following pseudo-code:

If (A > B) and (C > D) then
  A = A + 1
  B = B + 1
Endif

The cyclomatic complexity of the pseudo-code is

  1. A.

    2

  2. B.

    3

  3. C.

    4

  4. D.

    5

Attempted by 231 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…