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