← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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