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