← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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