Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011.

Similar presentations


Presentation on theme: "COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011."— Presentation transcript:

1 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011

2 COMP 1001: Introduction to Computers for Arts and Social Sciences Admin Stuff Office hours are posted and started earlier today. Work on Assignment 1 early so you can look at Assignment 2. Assignment 2 posted tonight. I will post an announcement asking you to print something to bring to next class. DO IT.

3 COMP 1001: Introduction to Computers for Arts and Social Sciences A Tour of Scratch

4 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Boolean Values

5 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Boolean Values

6 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Boolean Values And: Both must be true Or: One or both must be true Not: Must be false

7 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: If Statements

8 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: If Statements

9 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: If Statements

10 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: If Statements

11 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Loops Start Stop Condition

12 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Loops Forever loop: no stop condition (literally goes forever – or at least until the program stops)

13 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Loops Forever if loop: goes forever, but only runs the code inside when the boolean is TRUE

14 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Loops Repeat loop: repeats the code exactly the number of times you tell it to

15 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Loops Repeat until loop: continues until the boolean value is TRUE, then stops for good

16 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Variables myObject

17 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Variables myObject

18 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Variables

19 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Variables myObject

20 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Variables

21 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Broadcast

22 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Broadcast

23 COMP 1001: Introduction to Computers for Arts and Social Sciences Programming Concepts: Broadcast

24 COMP 1001: Introduction to Computers for Arts and Social Sciences Tutorials! http://www.cs.harvard.edu/malan/scratch/ http://www.scratch.ie/students http://learnscratch.org/


Download ppt "COMP 1001: Introduction to Computers for Arts and Social Sciences Programming in Scratch Monday, May 16, 2011."

Similar presentations


Ads by Google