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