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