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

Y56 Example of code (“Jigsaw pieces”)

Nov 172022
 

See these posts for ideas and techniques. Or click on LOGO on the tag cloud on the right.

  • Draw letter rainbows, flowers and shapes
  • Stars and shapes 2
  • Stars and shapes 1
  • The power of procedures with variables
  • Use variables to draw spirals
  • Use variables to draw shapes
  • Random
  • Repeat, setxy, procedures

LOGO example files – can you work out how they work?

  • Letter procedures
  • Rectangle four variables
  • Random colour wheel
  • Spiral code
  • Another spiral
  • 100 grid
  •  17th November 2022
  •  Posted by Mr W at 8:10 am
  •   No Responses
  •   News
  •  Tagged with: j2code, LOGO, Y5, Y5T2, Y6, Y6T2

Y56 LOGO: procedures –> with variables

Nov 162022
 

This LOGO program uses procedures (like recipes) for each letter then calls them at the very end of the code.

  • Computing letter procedures

Open these LOGO files. Can you work out what they do? Can you understand the code?

  • c :size
  • shape :sides
  • shape :sides :size
  • rectangle w h x y

Can you make a procedure to draw:

  • an arc of any size and angle?
  • the first letter of you rname any size and position on the canvas?
    1. new logo page, reset, setpensize 5
    2. code your letter – test it line by line
    3. make it a procedure: to… end
    4. replace fd numbers with :size
    5. compare with the LOGO programs you have looked at to see what else you need to do

Useing any of the procedure above can you make these shapes?

  •  16th November 2022
  •  Posted by Mr W at 8:06 am
  •   No Responses
  •   News
  •  Tagged with: coding, LOGO, LOGO. j2code, Y5T1

Y56 LOGO recap, debugging and procedures

Nov 012022
 

1 Typing

All typing links now in Typing folder on j2launch.

2 LOGO test page

Create a  test LOGO project – include as many of these commands as possible

  • Lines = fd 50 or bk 50
  • Turns = rt 90 or lt 90 (or other angles)
  • Circles = circle 50
  • Squares = repeat 4 [fd 50 rt 90]
  • Shapes =  repeat ? [fd 50 rt 360/?] (/ means divide; ? means number of sides)
  • Stars = repeat ? [fd 50 rt 360 /? -180] same as shapes but change the angles; ? bigger than 8
  • Colours = colour “blue
  • Moving without drawing = pu setxy 100 100 pd
  • Shading = fill (fills the area you are in with the current colour)
  • Pen thickness = setpensize 5

TIPS

  • Start with reset
  • Click play button  after every instruction 

3 Debugging challenges

  • Go to shared files, LOGO debugging challenges
  • Work you way through the challnges
  • Save each one in your files

3 Use and create procedures in LOGO

Y56 LF: The power of procedures with variables

Y5 LF: Use and create procedures in LOGO

  •  1st November 2022
  •  Posted by Mr W at 7:24 am
  •   No Responses
  •   News
  •  Tagged with: coding, LOGO, Y5, Y5T2, Y6, Y6T2

Y5 LF Use random code!

Nov 302021
 

Recap

  • What is a procedure?
  • How do we code a procedure?
  • What is a procedure with variables?

New skill

  • random 100 = chooses a number between 1 and 50
  • So typing “c random 100” draws a c which is between 1 and 100 big
  • setpensize rnadom 30 chooses a pen width between 1 and 30
  • If you c had two variables, then you could type:
    • c random 100 random 30
  • The coordinates on the drawing canvas go from -250 to 250 across and -250 to 250 up and down.  (0,0) is in the middle.
  • To make your shape appear in a random place:
    • setxy (-250 + random 500)  (-250 + random 500)

Tasks

  1. Open you “c size procedure” file
  2. Add the following code to make lots of random c shapes
    1. repeat 100
    2. [
    3. c random 100 random 30
    4. pu
    5. setxy  (-250 + random 500)  (-250 + random 500)
    6. pd
    7. ]
  3. ** Put this line inside the repeat to get random colours!
    1. colour [random 255 random 255 random 255]
  4. ** Write your own letter procedure with a variable :size instead of fd/bk numbers
  5. *** Can you include a :col variable to choose the colour?
  6. How else could you use random?  Try these ideas on different files
    1. circle random 100
    2. repeat 100 [fd random 100 rt 90]
    3. repeat 100 [fd random 200 setxy 0 0 rt 5]

See these posts for more ideas and techniques:

  • Draw letter rainbows, flowers and shapes
  • Stars and shapes 2
  • Stars and shapes 1
  • The power of procedures with variables
  • Use variables to draw spirals
  • Use variables to draw shapes
  • Random
  • Repeat, setxy, procedures

LOGO example files – can you work out how they work?

  • Letter procedures
  • Rectangle four variables
  • Random colour wheel
  • Spiral code
  • Another spiral
  •  30th November 2021
  •  Posted by Mr W at 7:27 pm
  •   No Responses
  •   News
  •  Tagged with: coding, j2code, LOGO, Y5, Y5T2

Y5: LF Make procedures with variables

Nov 232021
 

Recap

  • What is a procedure?
  • How do we code a procedure?
  • How do we make a new procedure?

New skill

Procedure with variables = procedures that can draw different sizes (or colours, shapes,…)

Here’s the original c procedure:

to c
fd 20    rt 90    fd 20    bk 20    lt 90    bk 20    rt 90    fd 20    lt 90
end

Here’s an example of a c procedure with variable.  What is the difference?

to c :size
fd :size   rt 90   fd :size   bk :size   lt 90   bk :size   rt 90    fd :size   lt 90
end

Tasks

  1. Open this fie c size procedure  and save it as your onw
    1. Make it draw bigger and smaller Cs in different places (use pu setxy 100 100 pd  between each c shape)
  2. Add another variable  :pen that changes the pen size
    1. Add :pen to the “to” line after :size
    2. Inside the procedure add a line  setpensize :pen
    3. When you type c, you now need two numbers – how big and how thick the pen is.
    4. Add a second number to your Cs to make 5 Cs with different sizes and thicknesses
  3. ** Write your own letter procedure with a variable :size instead of fd/bk numbers
  4. *** Can you include a :col variable to choose the colour?

See these posts for more ideas and techniques:

  • Draw letter rainbows, flowers and shapes
  • Stars and shapes 2
  • Stars and shapes 1
  • The power of procedures with variables
  • Use variables to draw spirals
  • Use variables to draw shapes
  • Random
  • Repeat, setxy, procedures

LOGO example files – can you work out how they work?

  • Letter procedures
  • Rectangle four variables
  • Random colour wheel
  • Spiral code
  • Another spiral
  •  23rd November 2021
  •  Posted by Mr W at 3:34 pm
  •   No Responses
  •   News
  •  Tagged with: coding, j2code, LOGO, Y5, Y5T2

Y5 LF: Use and create procedures in LOGO

Nov 162021
 

A procedure is way of making a new command word in LOGO to do a specific task.

It’s a bit like a recipe for making a new meal.

In Year 4, we made a procedure to draw a letter c:

TO c

fd 20 rt 90 fd 20 bk 20 lt 90 bk 20 rt 90 fd 30 lt 90

END

Then we could just type c in our code when we wanted to draw a c.

Your task

  1. Open this file and look through the code: Computing letters
  2. Delete c o m p u t i n g
  3. Code some other words using the letters of computing
  4. Delete your word code (but keep all of the procedures)
  5. Create your own letter procedure
    1. Decide on another letter, for example A
    2. Create the code to draw it
      1. make it the same size as the other letters
      2. include a “finger space” at the end of the letter
      3. make sure the arrow is facing up at the end
    3. When you are happy with your letter, put TO A (or whatever letter you did) and END around your letter code to make it into a procedure.
    4. Code a new word using the letters of computing and your letter
    5. ** Write a procedure for a second letter
    6. ** What’s the longest word you can code?
    7. *** Can you make your word into an arch?
      1. Before your first letter do   lt 30
      2. Between each letter turn right a bit
      3. Adjust the turns to get an even arch

  •  16th November 2021
  •  Posted by Mr W at 8:14 pm
  •   No Responses
  •   News
  •  Tagged with: coding, j2code, LOGO, Y5, Y5T2

Y4 LF: Coding a Roman border in LOGO

Nov 152021
 

 

Use the instructions page below to code a repeated border:

  1. You will start with a simple c shape
  2. Then a line of cs
  3. Then move the line of cs to the top corner
  4. Then make a square of cs by repeating 4 lines and turning

Link to instructions page

Now create a new shape to make your own border.  You could draw out some ideas on this page

  1. Start a new LOGO file
  2. Type:  reset   setpensize 5
  3. Code your shape
    1. Make sure:
      1. it has a “flick” at the end
      2. it ends on the same level as the start
      3. arrow is pointing up at the end
  4. Test your shape by typing:
    1. repeat 5
    2. [
    3. shape instructions
    4. ]
  5. If it works, use the instructions with your new shape (instead of the c) to make the border.
  6. Common mistakes:
    1. Shape goes round and round – change repeat to 1 then make sure the arrow ispointing up when finished 
    2. Shape is too big – reduce all of the fd and bk – maybe halve them all.  Don’t change the rt 90 and lt 90
    3. Shapes go uphill or downhill – adjust one of the up/down movments and test again – keep tryng until it goes horizontally.

 

101 things to do with j2e #19 Make a Roman mosaic style letter/shape border in LOGO

Y4 Make your own Roman border from template code

101 things to do with j2e #21 Copy LOGO pictures to j2e5

 

  •  15th November 2021
  •  Posted by Mr W at 4:15 pm
  •   No Responses
  •   News
  •  Tagged with: codng, j2code, LOGO, Y4, Y4T2

Y3 Improve CT skills

Nov 042021
 

Typing – improve accuracy

  • 5 minutes typing with the box

Bebras – develop CT skills

  • Work your way through these challenges from Bebras
  • As you finish each question, check the answer below it
  • Have a go at
    • 2020 Kits
    • 2020 Castors
    • 2020 Juniors

J2code – LOGO

j2launch –  – 

 

  •  4th November 2021
  •  Posted by Mr W at 8:02 am
  •   No Responses
  •   News
  •  Tagged with: Bebras, coding, LOGO, Y3, Y3T2

Y56 Typing, J2e review, Bebras, LOGO

Oct 312021
 

Typing – improve accuracy

  • 5 minutes typing with the box

J2e review learning

  • Open you book cover work and think about the skills you used.  Then fill out the j2e5 section of  this form to review your learning.

Bebras – develop CT skills

  • Work your way through these challenges from Bebras
  • As you finish each question, check the answer below it
  • Have a go at
    • 2020 Castors
    • 2020 Juniors
    • ** 2020 intermediate
    • 2021 Junior

LOGO – recap directions and being systematic

  • Open this j2logo file:  LOGO maze 1
  • Use fd rt lt bk (with numbers) to get out of the maze.
  1. Type one command at a time,
  2. Test it
  3. Change it if you need to
  4. Get it right before you move on
  •  31st October 2021
  •  Posted by Mr W at 6:37 pm
  •   No Responses
  •   News
  •  Tagged with: coding, j2code, LOGO, Y6, Y6T2

NEW – LOGO now has backgrouds!

Sep 222021
 

In j2luanch, go to  j2code – LOGO

Click on the top right hand corner of the canvas to add a picture.

  •  22nd September 2021
  •  Posted by Mr W at 12:55 pm
  •   No Responses
  •   News
  •  Tagged with: coding, creative, j2code, j2e, LOGO
 Older 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