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