← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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