← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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