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