← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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