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