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