← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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