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