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