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