Scratch Syntax: Part 1<br />CMP<br />
Statements<br />In programming, a statement is simply a directive that tells the computer to do something. Think of it as ...
Conditions<br />In programming, a condition is something that must be true in order for something to happen. <br />A condi...
Conditions<br />If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button:<br />W...
Loops<br />In programming, a loop can induce multiple executions of statements. <br />In Scratch, any block whose label be...
Follow Me<br />Follow Me applet<br />
Homework<br />Complete the Cat Walk Project<br />You may wish to use the Scratch Reference Guide and the Programming Conce...
Upcoming SlideShare
Loading in …5
×

Scratch Syntax 1 Cmp

2,578 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
2,578
On SlideShare
0
From Embeds
0
Number of Embeds
650
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Scratch Syntax 1 Cmp

  1. 1. Scratch Syntax: Part 1<br />CMP<br />
  2. 2. Statements<br />In programming, a statement is simply a directive that tells the computer to do something. Think of it as a command or an instruction. <br />In Scratch, any block whose label reads like a command is a statement.<br />
  3. 3. Conditions<br />In programming, a condition is something that must be true in order for something to happen. <br />A condition is thus said to &quot;evaluate to true&quot; or &quot;evaluate to false.&quot; <br />In Scratch, any block whose label says &quot;if,&quot; &quot;when,&quot; or &quot;until&quot; is a sort of conditional construct. <br />
  4. 4. Conditions<br />If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button:<br />When Construct: Instruct a sprite to do something when an event occurs:<br />
  5. 5. Loops<br />In programming, a loop can induce multiple executions of statements. <br />In Scratch, any block whose label begins with &quot;forever&quot; or &quot;repeat&quot; is a looping construct. <br />
  6. 6. Follow Me<br />Follow Me applet<br />
  7. 7. Homework<br />Complete the Cat Walk Project<br />You may wish to use the Scratch Reference Guide and the Programming Concepts Handout as resources<br />Completed projects need to be submitted via Interact by the due date.<br />

×