← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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