← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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