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