Java Loops Flashcards

1
Q

A is a structure
that allows repeated
execution of a block
of statements.

A

loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

One execution of
any loop is
called an

A

iteration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A , in which the loop-controlling Boolean
expression is the first statement in the loop

A

while loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A , in which the loop controlling Boolean
expression is the last statement in the loop

A

do…while loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The first line of
the for loop is
known as the

A

loop
header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The first expression is the

A

initialization expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The second expression is the

A

test
expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This is a
expression at controls the
execution of the loop

A

boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The third expression is
the

A

update expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

in
many circumstances,
simplifies array processing. It
is known as the

A

enhanced for
loop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A , which is usually used as a concise format

A

for loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

is
designed to iterate once for
every element in an array

A

enhanced for loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly