← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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