Question 4
What is the cyclomatic complexity of the following Python function?
2
3
4
5
What is the cyclomatic complexity of the following Python function?
2
3
4
5
Correct answer
5
Question 4 of 25 in the IIT Madras BS Software Engineering (Software Engineering) End Term paper sat on 21 Dec 2025, in the September 2025 term (Software Engineering 18 Dec 25). It carries 4 marks.