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