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