← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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