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