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