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