BFOIT - Introduction to Computer Programming

BFOIT Introduction to Programming Lessons

Iteration Animated Applet

Here is an applet that demonstrates the execution of a small program which draws a circle as a bunch of points equidistant from a fixed point.  Watch how the program gets executed, step by step.  Especially watch how repeat's count gets decremented after each time its List-of-Instructions is executed.

Your browser does not support Java applets. Click here for more information.

Return to Iteration Lesson

Public Domain Mark
This work (BFOIT: Introduction to Computer Programming, by Guy M. Haas),
identified by Berkeley Foundation for Opportunities in IT (BFOIT),
is free of known copyright restrictions.