← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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