← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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