← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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