← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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