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