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