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