Question 439 – Machine-Instructions
December 4, 2023
Question 4387 – 2009 June UGC NET Paper 1
December 4, 2023
Question 439 – Machine-Instructions
December 4, 2023
Question 4387 – 2009 June UGC NET Paper 1
December 4, 2023

Software-Engineering

Question 2

Consider the following program module:

int module1 (int x, int y) {
    while (x! = y) {
        if (x > y)
             x = x - y,
        else y = y - x;
        }
    return x;
}

What is Cyclomatic complexity of the above module?

A
1
B
2
C
3
D
4
Question 2 Explanation: 
Note: Out of syllabus.
Correct Answer: C
Question 2 Explanation: 
Note: Out of syllabus.

Leave a Reply

Your email address will not be published. Required fields are marked *