← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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