← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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