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