← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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