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