← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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