← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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