← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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