← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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