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