What is the cyclomatic complexity of the following program? X = 10 IF Y > Z…

PYQ RSSB Computer Instructor 2026

What is the cyclomatic complexity of the following program?

X = 10
IF Y > Z THEN
    X = Y
ELSE
    X = Z
ENDIF
PRINT X
PRINT Y
PRINT Z
  1. A.

    4

  2. B.

    1

  3. C.

    2

  4. D.

    3

  5. E.

    Question not attempted

Attempted by 380 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…