← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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