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