← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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