← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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