MrW's Computing Blog

Lessons and links for Computing at St Mark's
  • News
    • Termly Overviews
  • ONLINE SAFETY
    • ICT agreement
    • Online safety videos and podcasts
    • Online safety links
  • Forms
    • Online Safety Survey 25
    • How did that go?
    • Questions
    • My Computing Skills
    • How do I…?
    • Info form
    • End of unit reflection
  • Logins
    • Typing.com
    • J2launch
    • Google Classroom
    • Google Apps
  • Resources
    • LOGO programming
    • Child friendly search engines
    • Great comments
    • Keyboard, mouse and typing skills
    • Music for media projects
    • Video tutorials
    • How to blog
    • BBC bitesize computing
    • Doorway Online
    • LOGO activities
      • LOGO tutorial videos
    • Useful tools
    • Other stuff
      • Memory training
    • Scratch game toolkit 1
  • MrWs Maths
    • Y4 Multiplication Check
    • Times |Tables.co.uk
  • Galleries
    • Animations gallery
    • Audio Gallery
    • Film gallery
    • j2e gallery
    • LOGO gallery
    • Presentation gallery
    • Robot gallery
    • eSafety gallery
    • Scratch gallery
    • Showcase blog
  • Values for learning
  • Contact me
  • Parents
  • Mr W’s DT Blog

Y4 How do I make a Roman border?

Nov 302017
 
  1. Create your single “squiggle” – instructions here
    1. If you haven’t made one yet – copy and paste this code:
      1. rt 90 fd 10 lt 90 fd 25 rt 90 fd 10 rt 90 fd 25 lt 180
  2. Complete the REPEAT activity here
  3. Make your pattern smaller by dividing each fd and bk number, eg by 10
    1. OR use a scale variable like this:
      1. make “scale 10 (at beginning)
      2. After each fd or bk number, put /:scale
      3. eg  fd 50 –> fd 50/:scale
      4. Then change the number in  make “scale 10 until the squiggle is the right size
  4. Make the pattern fit round the whole canvas using instructions here from 6

Finished?

  • Create a different squiggle and put it inside your first pattern
  • Put squares inside and outside your pattern

download (5)

  •  30th November 2017
  •  Posted by Mr W at 7:04 am
  •   No Responses
  •   News
  •  Tagged with: LOGO, roman border, Y4

Y5 How do I create my own picture in LOGO?

Nov 282017
 
  • Think of a simple picture with repeated elements, see here for examples.  Use LOGO to draw it!
  • You could sketch it in j2e5 first

Success steps 

  • Use several different elements
  • Use repeat
  • Use setxy to move around the canvas
  • Keep you code tidy so it is easy to read
  • Be prepared to learn a new command – look on the blog for ideas
  • ** Use procedures for repeated elements – see this blog post
  • ** Use variables to make thinks different sizes
    • to square :size
      • repeat [fd :size rt 90]
    • end
    • Then type  square 50 in your code
  •  28th November 2017
  •  Posted by Mr W at 7:03 am
  •   No Responses
  •   News
  •  Tagged with: LOGO, picture, Y6

Y3 How do I type instructions in LOGO?

Nov 272017
 

Cab you make this face with LOGO?

ScreenHunter_141 Nov. 27 10.21

1 Start your program with:

reset
setpensize 4

2 Draw a circle:

circle 100

3 Is it the right size? Change the number and press play button.

4 Lift up the pen so it doesn’t draw

pu

5 Move to the right place with instructions like:  fd 40  rt 90  lt 90.  Test your code after every instruction.

6 Don’t forget to put the pen down again to draw:

pd

 

  •  27th November 2017
  •  Posted by Mr W at 12:29 pm
  •   No Responses
  •   News
  •  Tagged with: LOGO, Y3

Y6 How do I create my project in LOGO?

Nov 242017
 
  • Plan and create a picture in LOGO
  • Use
    • repeat
    • setxy
    • procedures (at the beginning)

Repeat

repeat
[
instructions
]

Double repeat – eg square of shapes

repeat 4
[
repeat
[
pattern code
]
rt 90
]

download (3)

Setxy

pu setxy 100 200 pd

Procedures

to thing
instructions for thing
end

thing

Variables

make “length 20

fd :length

Make “length :length + 1

Procedures with variables

to square :side   (don’t need to make “side)
fd :side rt 90
end

square 40

Can have more than one variable, eg

to shape :length :angle :col
repeat 4
[
colour :col
fd :length rt :angle
]

 

Lists

 

make “cols [“red “blue “purple]

item 3 :col

Success steps

  • Plan your shape (could draw it first eg in j2e5)
  • Type – Play – Think – Edit – Type – Play ….
  • Be resilient

Text

See this file

  •  24th November 2017
  •  Posted by Mr W at 8:09 am
  •   No Responses
  •   News
  •  Tagged with: LOGO, project, Y6

Y6 How do I use repeat, setxy and procedures in LOGO?

Nov 242017
 

Start a new project with the following and save it as “y6logo 2”

  • reset
  • setpensize 5

Repeat task

  1. repeat 4 [fd 40 rt 90] draws a square:
    1. the instructions inside the [] “fd 40 rt 90” are the ones to do again and again
    2. the “4” means repeat it four times
  2. Copy the code above to draw a square
  3. Copy and paste the code again
  4. Try changing the 4 to a 5.  What happens?
  5. Now change the “rt 90” to “rt 72”
  6. Copy the code again
  7. Try changing repeat to 6 – what should the “rt” number be?
  8. Now try repeat 7: when you draw the shape, the total angle turned is 360 because it comes back to the beginning.  It has 7 equal angles so each angle needs to be….360…7
  9. Copy the code again
  10. Draw an Octagon (8-sided) and a Nonagon (9-sided)
  11. Save (if you haven’t already!)

Finished?  You should have on your page:

  1. A square, pentagon, hexagon, heptagon, octagon and nonagon

Setxy

  1. Setxy is used to move the arrow to a different position on the canvas
  2. setxy 50 100 sends the arrow to the coordinates (50, 100)
  3. This Scratch project shows you what the different coordinates are:
    1. x y coordinate finder (only goes up to 240/180 in Scratch – in LOGO it goes up to 250 on each axis)
  4. NOTE if the pen is down, it will draw a line to the new position – so it is quite useful to use with pu and pd:
    1. pu setxy 50 100 pd – will send it to the new place without drawing then is ready to draw
  5. Use “pu setxy …. pd” to move your shapes from the first section to different places on the canvas.

Procedures

  1. Procedures are used to avoid typing the same thing several times.
  2. Use a procedure if you need to repeat something in your picture, eg windows in a house, snowflakes, stars, a fence, stripes, eyes….
  3. A procedure teaches the computer how to do a shape but doesn’t draw it.  Then you “call” the procedure to make it draw it.
  4. Instead of “repeat 4 [fd 40 rt 90]” at the beginning of your code, have this:

to square
repeat 4 [fd 40 rt 90]
end

  1. When you play, it will not draw the square – you have only told it how to – not to actually draw it.
  2. Now type “square”  after the procedure and it should draw the square.  You have taught it how to draw a square!
  3. Procedure are usually all at the beginning of the code.
  4. Make procedures called “pentagon” and “hexagon”
  5. Instead of drawing one pentagon, use the code:  repeat 6 [pentagon rt 60] to make a pentagon flower!
  6. Make a procedure to fill your shape:
    1. to fillshape
      1. pu rt 45 fd 10
      2. fill
      3. bk 10 lt 45 pd
    2. end
  7. Call the procedure after each shape you do.

Variables

Lists

 

Success steps

  • Save (as) different versions
  • Experiment with new code
  • Find your own mistakes by reading your code carefully
  • Use repeat, setxy and procedures in your own code

download

  •  24th November 2017
  •  Posted by Mr W at 7:00 am
  •   No Responses
  •   News
  •  Tagged with: LOGO, procedure, repeat, setxy, Y6

Y34 How do I use repeat in LOGO?

Nov 222017
 
  1. Open this project:  Letter L
  2. Add repeat 4 [   BEFORE the L code
  3. Add  ] at the END
  4. It should do this: ScreenHunter_129 Nov. 13 11.13
  5. Tidy up the code by using return and spaces so it looks like this:
  6. ScreenHunter_130 Nov. 13 11.15
  7. Now put  repeat 4 [ before this code
  8. At the end, put  rt 90 ]
  9. Tidy up the code so it looks like this:
  10. ScreenHunter_131 Nov. 13 11.18
  11. It should look like this:
  12. download (1)
  • Can you write your own letter code (with a finger space) and do the same?
  • What happens if you make your code like this?
    • repeat 10 [   
    • your letter code   
    • rt 36 ]

Resources

  • How to use repeat in LOGO slides
  • Letter procedure
  • Letter L in a square video

Finished?

Carry on with LOGO letters 2 and 3…please ask for the sheet of instructions and the help videos are below:

  1. LOGO Letters 2
  2. LOGO Letters 3
  •  22nd November 2017
  •  Posted by Mr W at 7:00 am
  •   No Responses
  •   News
  •  Tagged with: LOGO, repeat, Y3, Y4

LOGO spirals

Nov 162017
 
  1. j2e – j2code – LOGO
  2. Start with:  reset   setpensize 4

SQUARE

  1. Draw a square using the repeat command

SQUARE with VARIABLE

  1. To make a spiral, we need to increase the length each time it repeats.
  2. To do this we will make a variable called “length” that we can control.
  3. Before the square code, type: make “length 30
  4. Replace your fd 40  by fd :length
  5. Try your code – try changing the number after make “length to make different sized squares.

SPIRAL

  1.  Start with make “length 30
  2. Inside the repeat brackets put the following line:
  3. make “length :length +10
  4. NOTE the difference between “len and :len (“len is for changing it; :len is for using/calculating with it)
  5. Increase the number of repeats

What variations can you create?  Save different versions for each one you do.

  •  16th November 2017
  •  Posted by Mr W at 1:05 pm
  •   No Responses
  •   MrWs Maths, News
  •  Tagged with: LOGO, spirals

LOGO examples

Nov 132017
 

Here are some example projects to help you learn some more LOGO commands.

LOGO examples

  •  13th November 2017
  •  Posted by Mr W at 12:36 pm
  •   No Responses
  •   News
  •  Tagged with: LOGO

Y3 How do I program in LOGO?

Nov 052017
 
  1. Go to “my files” my filesand open your project from last week.
  2. Complete your three letters.
  3. If you need to start again:
    1. Click on Level 2
    2. Click the “eraser” on the code ScreenHunter_127 Nov. 08 07.56 and the picture ScreenHunter_127 Nov. 08 07.56
    3. Go back tot Level 1
  4. Edit the LOGO code to make your three letters different colours and thicknesses.
    1. Add colour “red setpensize 10 before each pendown
    2. To make more space in your code press the “return” or “enter” key: FullSizeRender
  5. Use this help video if you need to: LOGO Letters 1
  6. Carry on with LOGO letters 2 and 3…
    1. LOGO Letters 2
    2. LOGO Letters 3
  •  5th November 2017
  •  Posted by Mr W at 7:31 pm
  •   No Responses
  •   News
  •  Tagged with: LOGO, Y3

Y3: How do I program in LOGO?

Nov 072016
 
  1. Log into j2e – j2code – LOGO
  2. Click on “Level 3”
  3. Type:
    • reset
    • setpensize 5
    • fd 20
  4. Now press play – it should draw a short line (length 20)
  5. Try changing the 20 to other numbers and press play to see what happens.
  6. Now change your code to:
    • fd 30
    • rt 90
    • fd 30
    • lt 90
  7. Press play – you should get this: ScreenHunter_08 Nov. 07 09.29
  8. Now add this to your code:
    • pu
      setxy -200 50
      pd
  9. Challenge 1:  Make this shape by typing more instructions: ScreenHunter_10 Nov. 07 09.32
  10. Now add this to your code:
    • pu
      setxy 130 100
      pd
  11. Challenge 2: Now make a square:  ScreenHunter_11 Nov. 07 09.37
  12. Now add this to your code:
    • pu
      setxy -140 -140
      pd
  13. Challenge 3:  ScreenHunter_12 Nov. 07 09.44
  14. Now add this to your code:
    • pu
      setxy 140 – 140
      pd
  15. Challenge 4: ScreenHunter_13 Nov. 07 09.50

Is there any way we could make our code simpler?  Some of the algorithms repeat instructions.

 

Success steps:

  • Copy instructions carefully
  • Press play to run program
  • Make instructions to draw simple shapes including forward, left and right
  • Check instructions carefully for mistakes (bugs)
  •  7th November 2016
  •  Posted by Mr W at 9:50 am
  •   No Responses
  •   News
  •  Tagged with: j2code, LOGO, Y3, Y3T2
 Newer Entries

Years and terms

T1 T2 T3 T4 T5 T6
Y3 Y3T1 Y3T2 Y3T3 Y3T4 Y3T5 Y3T6
Y4 Y4T1 Y4T2 Y4T3 Y4T4 Y4T5 Y4T6
Y5 Y5T1 Y5T2 Y5T3 Y5T4 Y5T5 Y5T6
Y6 Y6T1 Y6T2 Y6T3 Y6T4 Y6T5 Y6T6

 

Tags

animate coding CoronaVirus create creative data database DTP Google hyperlinks iMovie Internet iPad j2code j2e j2e5 j2e101 JIT JIT5 LOGO maths Music science scratch sliding block puzzles Y3 Y3T2 Y3T4 Y3T6 Y4 Y4T1 Y4T3 Y4T5 Y4T6 Y5 Y5T1 Y5T2 Y5T3 Y5T5 Y6 Y6T1 Y6T2 Y6T3 Y6T4 Y6T5

St Mark’s website

Recent Posts

  • Y4 Scratch maze
  • Y5 How can I create an effective book cover?
  • Y6 Last Computing session
  • ICT quizzes
  • Logic puzzles

Who has visited our site?

Flag Counter

See the Space Station!

Log in
© 2020 MrW's Computing Blog Suffusion theme by Sayontan Sinha