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