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