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