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