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