← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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