← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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