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