← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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