← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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