← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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