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