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