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