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