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