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