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