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