← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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