+ All Categories
Home > Education > SGS - Intro to Coding session

SGS - Intro to Coding session

Date post: 02-Jul-2015
Category:
Upload: michael-macnamara
View: 132 times
Download: 0 times
Share this document with a friend
Description:
Presentation created for use with staff to introduce 'Coding'
21
Working with ‘CODE’ - An introduction to algorithms and pseudo-code. - A look at Binary digits and how they work - Beginning LOGO with basic commands - Sample worksheets and activities Michael Macnamara 2014
Transcript
Page 1: SGS - Intro to Coding session

Working with ‘CODE’- An introduction to algorithms and pseudo-code.

- A look at Binary digits and how they work

- Beginning LOGO with basic commands

- Sample worksheets and activities

Michael Macnamara 2014

Page 2: SGS - Intro to Coding session

Most people picture something like this when thinking about ‘Coding’

Page 3: SGS - Intro to Coding session

We see the result of that code every day !!

Page 4: SGS - Intro to Coding session

http://www.abc.net.au/btn/story/s3720544.htm

procedure n 1 a: a particular way of accomplishing something or of acting 2: a series of steps followed in a regular definite order. ( Webster's New Collegiate Dictionary )

Page 5: SGS - Intro to Coding session

http://www.youtube.com/watch?v=k0xgjUhEG3U

Page 6: SGS - Intro to Coding session
Page 7: SGS - Intro to Coding session
Page 8: SGS - Intro to Coding session
Page 9: SGS - Intro to Coding session
Page 10: SGS - Intro to Coding session

Start

Insert original

Input 23

Press ‘Go’

Wait

Output = 23

Remove original

Stop

Does copy output equal

input number ?

No

Page 11: SGS - Intro to Coding session

http://code.org/educate/k5

http://csunplugged.org/

http://www.kodugamelab.com/

http://www.alice.org/index.php

http://scratch.mit.edu/

http://pencilcode.net/

Page 12: SGS - Intro to Coding session

http://www.youtube.com/watch?v=b6vHZ95XDwU

Page 13: SGS - Intro to Coding session

Why ‘BINARY NUMBERS’ ?

Computers work on electrical circuits which can have TWO states –OFF or ON

This aligns perfectly to a number system with TWO digits –‘0 & 1’

http://forums.cisco.com/CertCom/game/binary_game_page.htm?site=celc

CISCO online BINARY game ….

To download this game for ‘iPad / iPhone’ or ‘Android’ use this link …https://learningnetwork.cisco.com/docs/DOC-11119

Page 14: SGS - Intro to Coding session
Page 15: SGS - Intro to Coding session

http://teachers.egfi-k12.org/bits-binary/

http://www.mathsisfun.com/binary-number-system.html

Page 16: SGS - Intro to Coding session

http://lightbot.com/hocflash.html

Page 17: SGS - Intro to Coding session

The next few pages are for creating paper copies.

Page 18: SGS - Intro to Coding session

Instruction Shortcut DescriptionSHOWTURTLE ST Shows the Turtle on the screenHIDETURTLE HT Hides the Turtle from the screenFORWARD number FD Moves the Turtle forward according to the number

indicatedBACK number BK Moves the Turtle back according to the number

indicatedRIGHT angle RT Changes the direction of the Turtle by turning it to the

rightLEFT angle LT Changes the direction of the Turtle by turning it to the

leftCLEARSCREEN CS Erase the picture before a new picture is drawnREPEAT number [ ] No shortcut Repeats a command [inside brackets] a number of

timesPENUP PU Lets you move Turtle without leaving a linePENDOWN PD Used after PU to let Turtle leave a line again

The Logo Primitives - Basic Logo CommandsThere about 200 logo commands. It is not necessary to know all of them to draw in logo.

The following instructions are the first you need to know to get started.

Page 19: SGS - Intro to Coding session

Let 1 square = 10 steps.

Write the ‘code’ tomove turtle from‘Start to Finish’ throughthe path.

Page 20: SGS - Intro to Coding session

Write the ‘code’ tomove turtle aroundthe shape outlines.

SQUARE

RECTANGLE

EquilateralTRIANGLE

CIRCLE

Page 21: SGS - Intro to Coding session

Recommended