← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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