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