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