← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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