← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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