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