Questions about fixed count iterations
Definition:
Fixed-count iterations are controlled by the loop control variable
(abbreviated LCV)
- What
types are permitted for the LCV?
- What
is the scope of the LCV (i.e. where is it known? –
where can it be printed ?
- Can
the LCV be modified by the programmer within the iteration body?
- What
is the value of the LCV after normal termination of the iteration?
- When
are the final (and increment/decrement) expressions evaluated?
- Is an
increment other than successor permitted?
- Is
iteration backward through a range allowed and if so, how is it specified?
- Is
transfer into the iteration permitted and if so, what effect does it have
on the LCV?
- How is
the iteration body delimited?
- Is it
possible to transfer out of the iteration before the iteration has
completed and if so, how do you do it?