At the end of
this lesson:
You will learn what a variable is and how to create one.
You will write a program that counts: 1, 2, 3, 4, etc. each time you click.
You will learn what an Object is and how to create one.
You will use variables and objects on the form.
You will become used to using the dot notation and think
about the sequence of statements.
1. Print and read the lesson.
Follow all instructions as you go along.
(Punch, staple, put in your binder.)
2. Run each of the demos, flowcharts or other materials from the lesson:
3. Write each of the programs in the lesson. To get the most out of these programs
4. All of the programs from the lesson are in executable
zip files.
colors, counter, shapes
When you click on this link, save the zip file to your disk.
Double click on the EXE file and unzip all of the files to a directory created
for this lesson.
Compare the code in the programs to the ones you wrote.
Chapter 3: page 5a
5. Do the self test questions and check your answers.
6. Using the sample programs as a model, write a completely
new program
that uses the same techniques.
Programming Exercise:
Using what you learned in this lesson, create an application that: