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