← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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