Table of contents
- Preface
- General background information
- Preview of the Scratch program
- Discussion and sample code
- Run the program
- Student programming projects
- Summary
- What's next?
- Resources
- Miscellaneous
Preface
This module is one in a collection of modules designed to help beginners of all ages (8 and up) learn how to create the code for computer programs. Information is provided not only for the beginners themselves butalso for their parents and teachers where appropriate.
The purpose of this module is to teach you about memory, variables, literals, and algorithms. You will also learn how to write a Scratch program that illustrates the creation and use of variables, case sensitivity, and the ability to detect and respond to mouse and keyboard events.
Student programming projects
In addition to presenting and explaining a Scratch programming project, I will present two student programming projects that are designed to:
- Help the student retain the knowledge gained by studying the module.
- Require the student to think beyond the material presented in the module by requiring the student to answer the question "How do I ...?"
Viewing tip
I recommend that you open another copy of this module in a separate browser window and use the following links to easily find and view the imageswhile you are reading about them.
Images
- Image 1 . A reduced image of the Scratch user interface for the program named Variable01.
- Image 2 . A view of the Variables area of the Scratch user interface.
- Image 3 . Dialog for entering a variable name.
- Image 4 . Programming blocks in the Control category.
- Image 5 . The finished program.
- Image 6 . Example blocks with pointed ends.
- Image 7 . Output from Project 1.
- Image 8 . Output from Project 1.
- Image 9 . Output from Project 2.
- Image 10 . Output from Project 2.