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