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