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