← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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