← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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