LOGO -- what you need to get started:
A copy of UCBLogo available for Mac, Windows, Unix, DOS More information on Logo from MIT Quicktime movies of Logo programming and some code snippets here. Have fun! |

draw a square teach the turtle to draw the square |
; this is a comment which the program will not see ; comments start with a semicolon ; comments can be on their own line ; comments can follow a line of programming ; so you can remember what that line is supposed to do ; you can paste in this whole program at once, ; or paste it in one part at a time ;this makes one square to square right 90 forward 100 right 90 forward 100 right 90 forward 100 right 90 forward 100 end ;this makes 4 squares ;using the program 'square' to do it to 4squares square rt 30 square rt 30 square rt 30 square rt 30 square end ;this makes 12 squares -- and has comments on each line, for information ; those comments are not needed to make the program work ; if you are typing by hand into the command line, comments are too much work! to 12squares ;this defines the name 4squares ;this makes the first four squares 4squares ;this makes the second four squares 4squares ;this makes the third four squares end ;this tells logo you are done programming ;this makes colored squares to prettySquares square rt 45 setpc 2 square rt 45 setpc 3 square rt 45 setpc 4 square rt 45 setpc 5 square rt 45 setpc 6 square rt 45 setpc 12 square rt 45 setpc 15 square end ; Now type the commands into the command line ;type square, 4squares, 12squares or prettysquares |

Make the turtle draw a triangle | |

Teach the turtle to draw colored squares! |

ClassroomDirectories by Area of Interest
| Home | Art: Carousel | CardinalDirections | FireCrackerFavors | PopUpCards | Carnations | |

Science: LiveMath | EggShells | Chromatography | |

Math/CS: LiveMath Demo | | LiveMath Aligned to California State Standards Grade 4 | | Place Value Drills and Movies | LOGO | Calendar | |

SocialScience: Carousel | CardinalDirections | |

Technology: ITEC | Technology | |

Copyright © 2016classroomteacher.com |