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