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