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