← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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