← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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