← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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