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