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