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