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