← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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