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