← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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