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