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