Introduction to scratch programming

Post on 16-Dec-2014

181 views 4 download

Tags:

description

Introduction lesson into programming with Scratch

transcript

1Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

Introduction to Programming with Scratch

By Darren Cank and Patrick McGee

2

Introductions

Darren Cank Computer Scientist

PGDE Student

Patrick McGeeWeb Development & Big Data Specialist

PGDE StudentIntroduction to Programming with Scratch ©Darren Cank & Patrick McGee

3

Overview

Computers follow instructions that programmers create to perform a specific task

Programmers can either:

Hand code the programsUse a Graphical Interface or an

integrated development environment (IDE)

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

4

The Scratch IDE

The Scratch IDE uses visual blocks to construct the code

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

5

The Scratch IDE

The Scratch IDE has different work areas to help programmers organise their programs

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

6

The Scratch IDE

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

7

The hello World Program

First steps into programming we learn how to create a simple hello world program

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

8

Recap

So to recap what we have learnt that:

Programmers have choices About the Scratch interface

And we have created a

hello world program

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

9

Building a Game using Scratch

In this next section we are going to create a game from scratch.

Bat and Ball

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

10

Can we Extend or modify the program

We now what to add additional features to our game.

Spend about 7 mins to see if you can add to the game.• Maybe you want to change the colours• Increase the angle of the rebound

---- > let your imagination decideIntroduction to Programming with Scratch ©Darren Cank & Patrick McGee

11

Showcase your work

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

12

Summary

Introduced the Scratch IDE and developed an understanding of the interface and tools.• Created a simple hello world program• Replicated the bat and ball game • Modify the bat and ball game to extend

its capabilities

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee

13

End

Thank you for taking part in the lesson

Introduction to Programming with Scratch ©Darren Cank & Patrick McGee