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