← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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