← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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