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