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