Clock objects allow measurement of elapsed time and also may force the program to wait a specific amount of time. Box objects are useful to display information on the screen . Sample software Chapter 2 - Get Smart. The main purpose of chapter 2 is to introduce the student to functions . In a few experimental courses where I tested this material, the early learning of functions paid dividends.
Students are ready to develop a function for anything they identify as meaningful action.
Most examples will still revolve around the athlete objects. Athletes can be passed as arguments and then the fitness exercise can be performed with them, if desired. Use of variables includes not only their purpose and definition, but also simple ways that variables can be used in expressions as well as been output or input from the keyboard. At this stage, the students will be able to input values using special dialog boxes that make input operation very easily understandable. As the title suggests, this chapter deals with repetitions.