← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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