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