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