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