← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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