← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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