← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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