← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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