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