Scratch Syntax 2 Cmp

2,198 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,198
On SlideShare
0
From Embeds
0
Number of Embeds
655
Actions
Shares
0
Downloads
39
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Scratch Syntax 2 Cmp

  1. 1. Scratch Syntax: Part 2<br />CMP<br />
  2. 2. Variables<br />In programming, a variable is a placeholder for some value, much like x and y are popular variables in algebra. <br />In Scratch, variables are represented with blocks shaped like elongated circles, uniquely labeled by you. <br />
  3. 3. Threads<br />In programming, a thread is like a mini-program within a program that can execute at the same time as other threads. <br />In Scratch, any block whose label begins with &quot;when&quot; essentially demarks the start of a thread.<br />
  4. 4. Events<br />An event is a signal from one thread to another.<br />Blocks whose labels begin with &quot;broadcast&quot; signal events whereas blocks whose labels begin with &quot;when&quot; handle events.<br />
  5. 5. Events<br />An event is a signal from one thread to another.<br />Blocks whose labels begin with &quot;broadcast&quot; signal events whereas blocks whose labels begin with &quot;when&quot; handle events.<br />
  6. 6. Simple Games<br />Simple games use threads and events to create new levels.<br />
  7. 7. Copter Game—One Level <br />
  8. 8. Homework<br />Complete the Simple Game Project<br />Completed projects need to be submitted via email by the due date. <br />

×