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