← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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