← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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