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