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