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