← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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