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