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