← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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