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

Y5 Debugging in LOGO

Nov 022019
 

LOGO bug challenges

  1. Go to My files – Shared files – st-marks-wilts-sch-ujk – LOGO debugging
  2. Open logo bug challenge 1 – correct the code – you should get a spiral and a message when you press play
  3. Repeat with logo bug challenges 2 and 3

Squares

  • Go to j2code – LOGO – level 3
  • Type this:

reset
setpensize 5

  • Type the following to draw a square.

repeat 4 [fd 50 rt 90]

  • Can you explain why this draws a square?
  • Change the code so that the suqare is:
    • twice as big
    • half the size
    • has only three sides drawn, like this 

Using variables

  • After setpensize 5, add a line (using return key)
  • Type this:

make “length 50

  • Now change your square code, swapping the fd number for :length

repeat 4 [fd :length rt 90]

  • Try changing the number in the make “length line of code
  • Now make you whole code look like this:

reset
setpensize 5
make “length 50
repeat 10
[
repeat 4 [fd :length rt 90]
make “length :length + 10
]

  • Can you explain it?
  • Play with it – try changing some numbers to make more squares, smaller differences
  • Challenge – can you make it do this just by changing the length starting number and how much it changes?
  •  2nd November 2019
  •  Posted by Mr W at 3:03 pm
  •   No Responses
  •   News
  •  Tagged with: debugging, LOGO, variablesj2code, Y5, Y5T2

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