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