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