← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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