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