← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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