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