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