← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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