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