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