← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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