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