← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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