← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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