Friday, April 15, 2011

4/15 Clipboard / Events

Possm_roberta_ramme_c.jpgt a response to the Question of the Day in 5 minutes or less, using complete sentences, use proper grammar, spelling and punctuation.

Come join me on the new My Campus. - Mr. Viereck 



ICT Essentials 1
Question of the Day: How much homework should teachers give during a vacation?  Why?


Daily Objectives: 
Identify the criteria for evaluating websites and online resources. Evaluate and select information sources and digital tools based on the appropriateness for specific tasks.Use the criteria to evaluate preliminary websitesLocate sources (intellectually and physically). Find information within sources.Locate, evaluate, synthesize, and ethically use information from a variety of sources and media.

Word of the Day:  Clipboard  is a section of RAM where your computer stores copied data. When you copy something it goes to the clipboard.


Question of the Day:
What is an event?
How can events be signaled?
Describe IN YOUR OWN WORDS how sprites use events to communicate.
How are events like Social Networking?

Daily Objectives: 
Describe and use statements to create a computer program.Describe and use Boolean expressions to create a computer program.Describe and use Conditions to create a computer program.Describe and use Loops  to create a computer program.Describe and use Variables to create a computer program.

Word of the Day: Events - 
In programming, multiple threads can communicate with each other by signaling events and handling events. An event, then, is like a message from one thread to another. In Scratch, blocks whose labels begin with "broadcast" signal events whereas blocks whose labels begin with "when" handle events, the latter of which, recall, effectively represent threads themselves.
A block that signals an event is:

A block that handles an event is:

Not only can events be signaled by blocks, they can also be signaled by a user's actions. Clicking Scratch's green flag, for instance, effectively signals an event that is handled by:

In Scratch, not only do events enable threads to communicate, they also allow sprites to communicate with each other. For instance, two sprites might want to play Marco Polo with each other, with one sprite's behavior defined by the leftmost thread below and the other sprite's behavior defined by the rightmost thread below:

Out of statements, Boolean expressions, conditions, loops, variables, threads, and events can you construct interesting (and fun) programs. In fact, let's explore the inner workings of what, on first glance, appears to be a very complex program but, ultimately, is just an application of these building blocks.

No comments: