← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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