← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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