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