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