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