← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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