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