← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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