Review Questions Neeed help with this 1. A structure that allows repeated execut
ID: 644670 • Letter: R
Question
Review Questions Neeed help with this
1. A structure that allows repeated execution of a block of statements is
a .
a. cycle
b. loop
c. ring
d. band
2. A loop that never ends is a(n) loop.
a. iterative
b. infinite
c. structured
d. illegal
3. To construct a loop that works correctly, you should initialize a loop
control .
a. variable
b. constant
c. structure
d. condition
4. What is the output of the following code?
b = 1;
while(b < 4)
System.out.print(b + " ");
a. 1
b. 1 2 3
c. 1 2 3 4
d. 1 1 1 1 1 1
Explanation / Answer
1. A structure that allows repeated execution of a block of statements is
b. loop
2. A loop that never ends is a(n) loop.
b. infinite
3. To construct a loop that works correctly, you should initialize a loop control .
a. variable
4. What is the output of the following code?
b = 1;
while(b < 4)
System.out.print(b + " ");
d. 1 1 1 1 1 1
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.