← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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