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