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