← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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