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