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