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