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