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