List of questions
Related questions
Question 92 - CTAL-TTA discussion
Consider the following pseudocode segment:
set a = 1
while a < 12
display ''this is loop', a
if a > 10 then
display 'loop is > 10'
set a = 5
else
display ''loop is < 11*
endif
end while
display ''Final value of a is', a
Which of the following issues should be detected in the code review?
A.
Loop termination is not achievable
B.
Rounding errors on the loop counters could cause problems
C.
Variables are used before they are initialized
D.
Some of the code could be moved to re-usable functions
Your answer:
0 comments
Sorted by
Leave a comment first