← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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