← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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