← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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