← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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