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