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