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