← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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