List of questions
Related questions
Question 24 - CTAL-TTA discussion
Consider the following code segments.
Segment 1:
If a > b then setc = 12
elseif c >7 set c = 5
endif
Segment 2: setc= 12 for n = 1 to c
display c
endfor
Segment 3:
If (a > b) or (c < d) then
set c = 12
else
set c = 5
endlf
Segment 4:
set y = 4
call (segments)
segments:
start
for I = 1 to y
print y
endfor
end
Which segment would receive the highest cyclomatic complexity value?
A.
Segment 1
B.
Segment 2
C.
Segment 3
D.
Segment 4
Your answer:
0 comments
Sorted by
Leave a comment first