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