25
Concepts of Programming Lesson 1

Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

  • Upload
    others

  • View
    19

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Concepts of Programming

Lesson 1

Page 2: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

A Bit About the Class and Me

Page 3: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Creating an Account

Page 4: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Layout of Scratch 3.0

4

Playground

Page 5: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Layout of Scratch 3.0

5

Sprites and Settings

Page 6: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Layout of Scratch 3.0

6

Code Blocks

Page 7: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Layout of Scratch 3.0

7

Canvas

Page 8: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Layout of Scratch 3.0

8

Page 9: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Project 1:Move the Cat

Blocks Needed

Page 10: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Blocks: Events- Start

- Click Sprite

10

Page 11: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Blocks : Looks- Say Something

11

Page 12: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Coordinate Grid

12

Y

X(0, 0)

Page 13: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Blocks : Motion

- Change direction of sprite

- Increase x, y coordinate of sprite

13

Page 14: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Blocks : Control- Run 10 Times

- Run Forever

14

Page 15: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Blocks : Control- Wait for 1 second

- Stop Everything

15

Page 16: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Looks : Costume- Change to the next costume

-

-

16

Page 17: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Project 1:Move the Cat

Actual Project

Page 18: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Start- Say hello

18

Page 19: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Moving Left and Right- Left

- Right

19

Page 20: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Moving Up and Down- Up

- Down

20

Page 21: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

- Towards mouse

Main Moving

21

Page 22: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Jumping!- Space Bar

22

Page 23: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Walking- Switch costumes

23

Page 24: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

End- Stop all Block

24

Page 25: Concepts of Programming Lesson 1 · Layout of Scratch 3.0 4 Playground. Layout of Scratch 3.0 5 Sprites and Settings. Layout of Scratch 3.0 6 Code Blocks. Layout of Scratch 3.0 7

Move the Cat

25