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