<< Chapter < Page Chapter >> Page >
The purpose of this module is to teach you about memory, variables, literals, and algorithms in Scratch 2.0. 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.

Table of contents

Preface

Scratch 2.0 (released May 9, 2013) is the second major version of Scratch to be released during the life of the product. Among other things, it features a redesigned editor andwebsite, and allows you to edit projects directly from your web browser.

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 using Scratch 2.0 . Information is provided not only for the beginners themselves but also for their parents and teacherswhere appropriate.

The purpose of this module is to teach you about memory, variables, literals, and algorithms in Scratch 2.0 . 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 . Cropped image of the Scratch programming interface for the program named Variable01.
  • Image 2 . Dialog for entering a variable name.
  • Image 3 . Programming blocks in the Events category.
  • Image 4 . Example blocks with pointed ends.
  • Image 5 . Output from Project 1.
  • Image 6 . Output from Project 1.
  • Image 7 . Output from Project 2.
  • Image 8 . Output from Project 2.

Questions & Answers

Explain the following terms . (1) Abiotic factors in an ecosystem
Nomai Reply
Abiotic factors are non living components of ecosystem.These include physical and chemical elements like temperature,light,water,soil,air quality and oxygen etc
Qasim
what is biology
daniel Reply
what is diffusion
Emmanuel Reply
passive process of transport of low-molecular weight material according to its concentration gradient
AI-Robot
what is production?
Catherine
Pathogens and diseases
how did the oxygen help a human being
Achol Reply
how did the nutrition help the plants
Achol Reply
Biology is a branch of Natural science which deals/About living Organism.
Ahmedin Reply
what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
cell is the smallest unit of the humanity biologically
Abraham
what is biology
Victoria Reply
what is biology
Abraham
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is respiration
Deborah
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Teaching beginners to code. OpenStax CNX. May 27, 2013 Download for free at http://cnx.org/content/col11498/1.20
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Teaching beginners to code' conversation and receive update notifications?

Ask