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