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