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