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?
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.
More questions
Other CTAL-TTA practice questions
- Question 1Which statement is correct regarding the use of exploratory testing for safety critical s…
- Question 2Which of the following are activities that the Technical Test Analyst performs when setti…
- Question 3Which of the following can be executed by model-based testing tools?
- Question 4Consider the simplified logic below for crediting money to a bank account. Receive money …
- Question 5When conducting a data flow analysis of following section of pseudo code: Declare C, F, Z…
- Question 6What is the purpose of an HTML checker?
