← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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