← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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