← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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