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