← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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