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