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