← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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