← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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