Which statement is true?
a) Sentinel values are used to control iteration when the precise number of iterations is known in advance.
b) In a counter controlled-loop, the counter may not count downward.
c) Sentinels must be distinct from regular data items.
d) Sentinel-controlled iteration is often called definite iteration.
c) Sentinels must be distinct from regular data items.
You might also like to view...
?To center an element vertically within its parent element, display the parent element as a table cell with a defined height and then set the vertical-align property to _____.
A. ?left B. ?middle C. ?right D. ?top
What type of device is inserted between the computer keyboard connection and USB port for the purposes of stealing information?
A. rootkit B. backdoor C. keylogger D. zombie