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