CTAL-TTA practice question 20 of 25

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…

Choose your answer, then check it against the explanation.

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?
Answer options
Question 20 of 25

Keep practicing

Take the free CTAL-TTA practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other CTAL-TTA practice questions

Scroll to Top