← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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