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