← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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