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