← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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