← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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