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