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