← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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