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