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