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