Packet 3: Tossup 19

While optimizing a compiler, these constructs may be subject to “fission” or “fusion” to best (15[1])utilize locality (15[1])of reference. Java (15[1])supports the “enhanced” version of these constructs (15[1])which do not require the declaration of an index. These (-5[1])constructs (-5[1])can be (-5[1])optimized (-5[1])by “unrolling” them to increase execution (15[1])speed. (15[1]-5[1])An N-squared runtime is created when (*) “nesting” two (10[1])of these constructs, (10[1])which can be exited using a (-5[1])“break” statement. (10[3])When a conditional (10[1])statement (10[1])defines these constructs, they are (10[1])declared using (10[1])the keyword “while.” (10[1])For 10 points, name these constructs that repeat a section of code multiple (10[1])times. ■END■ (10[1])

ANSWER: loops [accept for loops or while loops]
<Computer Science — June Yin> | SHOW-ME Four Packet 3
= Average correct buzzpoint

Back to tossups