← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 927 · 40 questions
TalentJR

Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.

NameDateTime takenScore ___ / 40
  1. 1.📶 Digital or analog: how loud a sound is? (a) digital (b) analog
  2. 2.True or false: “HIGH or LOW only” is a digital signal. (a) False (b) True
  3. 3.📶 How many states can a digital pin have? (a) ten (b) a thousand (c) two (d) one
  4. 4.True or false: “a tilt switch: on or off” is an analog signal. (a) True (b) False
  5. 5.📶 Digital or analog: a knob turned part way? (a) analog (b) digital
  6. 6.Which of these is an output? (a) a motion sensor (b) a turning knob (c) a push button (d) a servo motor
  7. 7.True or false: “how loud a sound is” is a digital signal. (a) False (b) True
  8. 8.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  9. 9.🔍 Which is the odd one out? (a) a speaker (b) a water pump (c) a light sensor (d) an LED
  10. 10.True or false: “how bright a room is” is an analog signal. (a) False (b) True
  11. 11.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 7 LOW
    set pin 8 LOW
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  12. 12.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  13. 13.Which of these is an input? (a) a buzzer (b) a keypad (c) a water pump (d) a small display
  14. 14.True or false: “how loud a sound is” is an analog signal. (a) True (b) False
  15. 15.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 8 LOW
    set pin 8 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  16. 16.Which of these is an input? (a) a water pump (b) a servo motor (c) a light sensor (d) a speaker
  17. 17.🔍 Which is the odd one out? (a) a small display (b) a servo motor (c) a motor (d) a turning knob
  18. 18.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  19. 19.📶 On a 5 V board, a pin set HIGH gives about … (a) 5 V (b) 0 V (c) 230 V (d) 50 V
  20. 20.📶 Digital or analog: HIGH or LOW only? (a) analog (b) digital
  21. 21.🔍 Which is the odd one out? (a) a light sensor (b) a turning knob (c) an LED (d) a sound sensor
  22. 22.🔌 Is a motion sensor an input or an output for a microcontroller? (a) output (b) input
  23. 23.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  24. 24.🔌 Is a sound sensor an input or an output for a microcontroller? (a) output (b) input
  25. 25.🔌 Is a turning knob an input or an output for a microcontroller? (a) input (b) output
  26. 26.🔍 Which is the odd one out? (a) a servo motor (b) a small display (c) an LED (d) a keypad
  27. 27.🔍 Which is the odd one out? (a) a light sensor (b) a keypad (c) a push button (d) a water pump
  28. 28.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  29. 29.🔌 Is a motor an input or an output for a microcontroller? (a) output (b) input
  30. 30.🔍 Which is the odd one out? (a) a sound sensor (b) a small display (c) a push button (d) a turning knob
  31. 31.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  32. 32.📶 A pin that reads a push button is set as … (a) an input (b) a resistor (c) a battery (d) an output
  33. 33.True or false: “the room temperature” is a digital signal. (a) False (b) True
  34. 34.📶 Digital or analog: many values in a range? (a) digital (b) analog
  35. 35.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 8 LOW
    set pin 7 HIGH
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  36. 36.🔍 Which is the odd one out? (a) a keypad (b) a push button (c) a motion sensor (d) a speaker
  37. 37.📶 A pin set LOW gives about … (a) 9 V (b) 5 V (c) 1.5 V (d) 0 V
  38. 38.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  39. 39.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  40. 40.🔍 Which is the odd one out? (a) a push button (b) a water pump (c) a buzzer (d) a servo motor

Answer key

  1. analog
  2. True
  3. two
  4. False
  5. analog
  6. a servo motor
  7. False
  8. OFF
  9. a light sensor
  10. True
  11. OFF
  12. OFF
  13. a keypad
  14. True
  15. ON
  16. a light sensor
  17. a turning knob
  18. ON
  19. 5 V
  20. digital
  21. an LED
  22. input
  23. OFF
  24. input
  25. input
  26. a keypad
  27. a water pump
  28. OFF
  29. output
  30. a small display
  31. ON
  32. an input
  33. False
  34. analog
  35. ON
  36. a speaker
  37. 0 V
  38. OFF
  39. OFF
  40. a push button

Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids