← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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