← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

Computer lesson 27: Block coding basics · Set 912 · 40 questions
TalentJR

Remember (Times × amount): Event = when something happens; motion = move or turn; sound = play a sound; if = check a condition. A loop repeats the blocks inside it: total = times × amount. repeat N times [move, turn 360 ÷ N degrees] draws a shape with N sides.

NameDateTime takenScore ___ / 40
  1. 1.🧱 A sprite runs: repeat 3 times [ move 25 steps ]. How many steps does it move in all?
  2. 2.🧱 A sprite runs: repeat 8 times [ move 10 steps ]. How many steps does it move in all?
  3. 3.🔍 Which is the odd one out? (a) repeat forever (b) repeat 4 times (c) repeat until done (d) move 10 steps
  4. 4.🧱 A sprite runs: repeat 8 times [ move 5 steps ]. How many steps does it move in all?
  5. 5.🧱 What kind of block is “repeat until done”? (a) an event block (b) a loop block (c) an if block (d) a sound block
  6. 6.🧱 A sprite runs: repeat 8 times [ move 50 steps ]. How many steps does it move in all?
  7. 7.🧱 In block coding, we join blocks like ___. (a) wet clay (b) ice cubes (c) sand (d) jigsaw puzzle pieces
  8. 8.🔍 Which is the odd one out? (a) when sprite is clicked (b) when a key is pressed (c) if score is 10 (d) when the program starts
  9. 9.🐱 What do we call a character that moves on the stage in block coding? (a) a cursor (b) a folder (c) a sprite (d) a pixel
  10. 10.🧱 A sprite runs: repeat 2 times [ move 45 steps ]. How many steps does it move in all?
  11. 11.Which of these is a loop block? (a) repeat 4 times (b) when a key is pressed (c) if the key is down (d) if touching the wall
  12. 12.🔍 Which is the odd one out? (a) repeat forever (b) repeat until done (c) when a key is pressed (d) repeat 4 times
  13. 13.Which of these is a sound block? (a) repeat forever (b) glide to the edge (c) play a drum beat (d) repeat until done
  14. 14.🧱 A sprite runs: repeat 2 times [ repeat 3 times [ play a drum beat ] ]. How many drum beats are played?
  15. 15.🧱 What kind of block is “when sprite is clicked”? (a) a loop block (b) a motion block (c) a sound block (d) an event block
  16. 16.🧱 A sprite runs: repeat 4 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
  17. 17.🧱 A sprite runs: repeat 9 times [ move 5 steps ]. How many steps does it move in all?
  18. 18.🧱 What kind of block is “glide to the edge”? (a) a loop block (b) a motion block (c) a sound block (d) an if block
  19. 19.🧱 A sprite runs: repeat 2 times [ move 30 steps ]. How many steps does it move in all?
  20. 20.🧱 What kind of block is “set volume to 50%”? (a) a motion block (b) a loop block (c) an if block (d) a sound block
  21. 21.🧱 What kind of block is “move 10 steps”? (a) a motion block (b) a sound block (c) an event block (d) an if block
  22. 22.🔁 Which block repeats steps again and again? (a) a motion block (b) a sound block (c) a loop block (d) an event block
  23. 23.🧱 What kind of block is “repeat forever”? (a) an if block (b) a loop block (c) a motion block (d) a sound block
  24. 24.🔍 Which is the odd one out? (a) if touching the wall (b) if the key is down (c) play a drum beat (d) if score is 10
  25. 25.🧱 A sprite draws a shape: repeat 4 times [ move 50 steps, turn 90 degrees ]. How many sides does the shape have?
  26. 26.🔍 Which is the odd one out? (a) repeat until done (b) move 10 steps (c) glide to the edge (d) turn right 90 degrees
  27. 27.🔍 Which is the odd one out? (a) when a key is pressed (b) glide to the edge (c) when the program starts (d) when sprite is clicked
  28. 28.🧱 What kind of block is “play a beep”? (a) a motion block (b) an if block (c) a sound block (d) a loop block
  29. 29.🧱 What kind of block is “if the key is down”? (a) an if block (b) an event block (c) a sound block (d) a motion block
  30. 30.🧱 A sprite runs: repeat 4 times [ move 35 steps ]. How many steps does it move in all?
  31. 31.🧱 A sprite runs: repeat 2 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
  32. 32.🔍 Which is the odd one out? (a) when the program starts (b) repeat 4 times (c) repeat until done (d) repeat forever
  33. 33.Which of these is a loop block? (a) when a key is pressed (b) when the program starts (c) turn right 90 degrees (d) repeat until done
  34. 34.Which of these is an if block? (a) when a key is pressed (b) when sprite is clicked (c) if score is 10 (d) repeat 4 times
  35. 35.🧱 A sprite runs: repeat 2 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
  36. 36.🧱 A sprite runs: repeat 5 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
  37. 37.🧱 What kind of block is “when the program starts”? (a) a sound block (b) a motion block (c) an event block (d) a loop block
  38. 38.🔍 Which is the odd one out? (a) when a key is pressed (b) when the program starts (c) when sprite is clicked (d) repeat forever
  39. 39.🔍 Which is the odd one out? (a) when the program starts (b) when a key is pressed (c) when sprite is clicked (d) if touching the wall
  40. 40.Which of these is an event block? (a) move 10 steps (b) if the key is down (c) repeat forever (d) when the program starts

Answer key

  1. 75
  2. 80
  3. move 10 steps
  4. 40
  5. a loop block
  6. 400
  7. jigsaw puzzle pieces
  8. if score is 10
  9. a sprite
  10. 90
  11. repeat 4 times
  12. when a key is pressed
  13. play a drum beat
  14. 6
  15. an event block
  16. 8
  17. 45
  18. a motion block
  19. 60
  20. a sound block
  21. a motion block
  22. a loop block
  23. a loop block
  24. play a drum beat
  25. 4
  26. repeat until done
  27. glide to the edge
  28. a sound block
  29. an if block
  30. 140
  31. 10
  32. when the program starts
  33. repeat until done
  34. if score is 10
  35. 8
  36. 20
  37. an event block
  38. repeat forever
  39. if touching the wall
  40. when the program starts

Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets