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