← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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