🚀 Join 1,200+ candidates currently preparing with PrimerPrep
Software Engineering
Accenture Technical PrimermediumSoftware Engineering08 Software Testing

Determine the cyclomatic complexity for the following code: Accept year if(year mod 4=0 and year mod 100!=0) or(year mod 400 =0) print year is leap else print year is not leap end if.

Answer options

A
6
B
3
C
4
D
5

Correct answer: 4

Explanation

Quick AnswerThe correct answer is 4 because it directly addresses the core logic of Software Engineering.

Correct answer: 4.

Related Accenture Software Engineering questions

Practice more Accenture Software Engineering questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!