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