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