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