← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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