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