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