An introduction to Logo Mike Warriner Engineering Director, Google Note: This course is not an endorsement of Logo by Google. All views in this document.

Slides:



Advertisements
Similar presentations
First of all – lets look at the windows you are going to use. At the top you have a toolbar, with all your various tools you can use when customising your.
Advertisements

CECE STMWPR[ ] GO CM BASIC ROAMER CONTROLS: Click on the buttons to see what they each do!
Section 1 Introduction National 4/5 VB Course. What you should know after this lesson What is a program Who writes programs Why is sequence important.
Logo Lesson 1 TBE Fall 2004 Farah Fisher.
Computer Science 1000 LOGO I. LOGO a computer programming language, typically used for education an old language (1967) the basics are simple: move a.
Super Logo. Key Instructions Pendown penup Forward 50 ( this number can change) Right 90 ( this number can change as well) Now try and draw a Early finishers,
Using Logo and Logic Please use speaker notes for additional information!
Logo Lesson 4 TBE Fall 2004 Farah Fisher. Prerequisites Create basic and complex shapes using Logo procedures Create Logo procedures that use variables.
Logo Lesson 3 TBE 540 Fall 2004 Farah Fisher. Prerequisites for Lesson 3 Before beginning this lesson, the student must be able to… Use simple Logo commands.
Logo Lesson 2 Logo Procedures
Introduction to TouchDevelop
B.A. (Mahayana Studies) Introduction to Computer Science November March Logo (Part 1) An introduction to Logo: drawing, moving,
Week 11 DO NOW QUESTIONS. An ask turtles block is a set of instructions that is issued to every turtle. Even though computers can do things very quickly,
LOGO SOFTWARE BY: SAVE 9S. INTRODUCTION Logo is a software that can be found at : Shared area> High School > ICT > take home software > LOGO32. This is.
B.A. (Mahayana Studies) Introduction to Computer Science November March Logo (Part 2) More complex procedures using parameters,
Microsoft® Small Basic
A SIMPLE COMPUTER LANGUAGE LOGO. LOGO Introduction Logo is the simplest programming language. It.
Art 321 Lecture 7 Dr. J. Parker. Programming In order to ‘make things happen’ on a computer, you really have to program it. Programming is not hard and.
Class 2 Introduction to turtle graphics
1 Turtle Graphics and Math Functions And how you can use them to draw cool pictures!
TURTLE GRAPHICS IP MR. MELLESMOEN. LOGO IN THE 1970’S THERE WAS A SIMPLE BUT POWERFUL PROGRAMMING LANGUAGE CALLED LOGO THAT WAS USED BY A FEW.
Introduction to TouchDevelop
MSW Logo By Awin 9s.
Logo For beginners By Dali Matthews 9S What is logo?
Programmming Class Fall 2011 Sobhan Highschool Teacher: M.Taghizadeh.
1 Building Your Own Turtle Functions For making really cool pictures!
Logo Programming Fall 2011 – Session 4 Programming Class Teacher: M. Taghizadeh Sobhan Highschool.
Section 1 Introduction National 4/5 Scratch Course.
CONTROL SYSTEMS Control Systems A command is a directive that performs a specific task An argument is a variable that can be used by the function reveiving.
Programmming Class Fall 2011 – Session 2 Teacher: M.Taghizadeh
The Hare Raising Experience of Logo in the Classroom
Logo Programming Fall 2011 – Session 7 Programming Class Teacher: M. Taghizadeh Sobhan Highschool.
Roamer help file: Use this power-point slide to find out more about the buttons on Roamer…
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
By Liam Lane How To Use MSW LOGO.
Copyright 2002, Tony Gauvin, UMFK
LOGO CECS 4100 R. Christensen.
1 Building Your Own Turtle Functions For making really cool pictures!
Computer Programming. Previous Experience 1.I have never seen a computer program 2.I have seen some code, but never written any 3.I have written some.
Getting started with the turtle Find the latest version of this document at
Logo for Beginners By Chris 9S.
LOGO For the beginner Made by Rio Narazaki. W HAT I S L OGO ? Logo is a computer programming language used in Education. Logo is very easy to use. The.
Cracking the Code WHAT WORKS WHEN TEACHING STUDENTS TO CODE?
First of all – lets look at the window’s you are going to use. At the top you have a toolbar, with all your various tools you can use when customising.
Procedures and Variables Control Logo 1. What you will do today  You will make your code more efficient by using procedures  You will create shapes.
Turtle Graphics Lesson 2 1. There are 3 homeworks to complete during the six lessons of this unit. Your teacher will let you know when a homework has.
Search for it on your computer
LOGO WHAT IS IT? HOW TO USE IT AND HOW USEFUL CAN IT BE?
What is it? How to use it and how useful can it be?
Hackety Hack! Written by Krystal Salerno Presented by _______________.
Using Logo to explore spiral patterns. Paul Broadbent Spiral patterns This is a (1,2,3) spiral path. It repeats lines of three.
Using the Python Turtle
Computer Programming.
Graphics CIS 40 – Introduction to Programming in Python
Using Logo to develop logical thinking
LOGO BY Kaotip 9S.
LOGO 32 By: Xenon 9S.
Micro worlds Microworlds By Clara Paton By Clara Paton.
Learning to program with Logo
Frozen Graphics Lesson 3.
CS 100: Roadmap to Computing
Module 2 Lesson 3 Over and Over Again
Explain what touch develop is to your students:
Institute for Entrepreneurship and Career Development (IECD)
Using Logo and Logic This presentation uses a version of Logo called StarLogo available through MIT. It can be downloaded for free and installed on your.
Logo Programming.
Module 2 Lesson 3 Over and Over Again
Mod 2 Lesson 2 Repeating with loops
Module 2 Lesson 3 Over and Over Again
Presentation transcript:

An introduction to Logo Mike Warriner Engineering Director, Google Note: This course is not an endorsement of Logo by Google. All views in this document are solely those of the author.

What’s Logo?

Turtle Graphics Lubna Sorour

FORWARD 15

RIGHT 90

FORWARD 15 RIGHT 90 FORWARD 15

We’re going to learn 3 things today How to draw pretty pictures How to save lots of typing If we’re quick, the three building blocks of programming: Looping – doing the same thing lots of times Variables – saving values that we want to use elsewhere Functions – several lines of code we want to use again & again Note : Functions are sometimes called Procedures or Methods. This is going to be a quick run through – don’t be worried if you don’t understand everything today!

Basic Logo Commands FORWARD - followed by the number of steps BACKWARD - followed by the number of steps RIGHT - followed by the angle of rotation LEFT - followed by the angle of rotation

Basic Logo Commands FD BK RTLT

Turning around

FD 50 PU FD 50 PD FD 50 Huh!!!

PU = PenUp PD = PenDown

Let’s get started…

Or use LOGO on your desktops

Task – draw some pictures SQUARE FD 100 RT 90 FD 100 RT 90 FD 100 RT 90 FD 100 TRIANGLE FD 100 RT 120 FD 100 RT 120 FD 100 PENTAGON FD 100 RT 72 FD 100 RT 72 FD 100 RT 72 FD 100 RT 72 FD 100 HEXAGON FD 100 RT 60 FD 100 RT 60 FD 100 RT 60 FD 100 RT 60 FD 100 RT 60 FD 100 HINT : type CLEARSCREEN before each picture to clear the screen and bring the turtle back home

LOOPS Think of a loop as a way to save typing. REPEAT 4 [FD 100 RT 90]

Basic structure is to tell Logo that you want to repeat something REPEAT Followed by the number of times you want to repeat it REPEAT 3 Followed by the thing you want to repeat in square brackets REPEAT 3 [FD 100 RT 90] LOOPS

Task – try these using loops SQUARE FD 100 RT 90 TRIANGLE FD 100 RT 120 PENTAGON FD 100 RT 72 HEXAGON FD 100 RT 60

Variables Make "size random 500 Print :size make – creates a variable with a value "size– sets a variable called size :size – gets the value of the variable called size Try this now! Press Run lots of times and see what happens

Adding things to Logo - Functions Function save typing… even more typing than loops: TO star REPEAT 5 [FD 50 RT 144] END star

Adding things to Logo - Functions Function save typing… LOTS of typing… TO star REPEAT 5 [FD 50 RT 144] END star

Adding things to Logo – Variables in functions TO randomstar make "size 50 + random 500 REPEAT 5 [FD :size RT 144] END clearscreen randomstar make – creates a variable with a value "size– sets a variable called size :size – gets the value of the variable called size

Adding things to Logo - Parameters TO square :size REPEAT 4 [FD :size RT 90] END Clearscreen Repeat 36 [square 100 rt 10]

Recap on what we learnt… How to draw pretty pictures How to save lots of typing Looping – doing the same thing lots of times Functions – several lines of code we want to use again & again Note : Functions are sometimes called Procedures or Methods. Variables – saving values that we want to use elsewhere

Where next? - Online LOGO interpreter you can play with at home - This document and others - A good learning resource for Logo to go to next. Uses the same online interpreter above.

Out of time! Thanks for listening.