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