← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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