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