LQ: How do I write algorithms to solve problems?

Let’s start with a challenge!  Have a go at Blockly Maze  How far can you get?

Next we will look at LOGO using Textease Turtle.

  1. Choose a letter, for example the first letter of your name.
  2. Draw it as a bubble letter on squared paper using straight horizontal and vertical lines that always join dots.
  3. Have a go at writing an algorithm (set of instructions) to make your turtle draw the letter.

Steps to success…

  • LOGO instructions: fd 20   bk 20  lt 90   rt 90
  • Remember lt means “turn left” not “go left”
  • Plan your instruction on your paper
  • Need a space between letters and numbers
  • Select instructions (double click – red squares) then turtle/play button
  • Try out often to test, then debug

Extension – draw a letter with a hole, eg A, R, O, D, B, etc

  • Use pu (pen up) and pd (pen down) if you need to get somewhere without drawing a line

One thought on “LQ: How do I write algorithms to solve problems?

  1. Mr W

    Extra extension!
    At the end of your letter algorithm, do pu and program the turtle to move to the starting position for the next letter.

    Extra extra extension!!
    Create a procedure called eg T (or whatever your letter is) so that all you have to type is T to make it draw a T.

Comments are closed.