Quiz: Physical Computing and Electrical Safety Basics¶
Test your understanding of physical computing, electrical safety rules, and the breadboard, resistor, LED, and switch vocabulary a mentor needs with these review questions.
1. What is physical computing?¶
- Writing Python code that only displays text output on a screen
- Any club activity that takes place away from a computer lab
- The process of designing a website's user interface
- The practice of building systems that sense or act on the physical world through electronic hardware controlled by code
Show Answer
The correct answer is D. The chapter defines physical computing as building systems that sense or act on the physical world through hardware controlled by code, contrasted with a traditional program that only takes keyboard input and prints text. Option A describes the opposite, screen-only case the chapter explicitly contrasts physical computing against. Option B invents a location-based definition unrelated to the actual concept. Option C describes web design, an unrelated discipline entirely.
Concept Tested: Physical Computing See: Physical Computing
2. What causes a short circuit?¶
- A resistor with too high a resistance value
- Electric current finding a path of very low resistance that bypasses the intended load and flows almost unopposed between a power source's two terminals
- An LED connected with reversed polarity
- A battery that has fully discharged
Show Answer
The correct answer is B. The chapter defines a short circuit as current finding a very-low-resistance path that bypasses the intended load, causing current to climb far beyond what the circuit was designed to carry, per Ohm's law. Option A describes the opposite condition, since high resistance limits current rather than causing a short. Option C describes a reversed LED, which simply stays dark rather than creating a short. Option D describes a dead battery, an unrelated condition.
Concept Tested: Short Circuit Hazard See: Short Circuit Hazard
3. What defines a digital input signal?¶
- It has only two possible states, HIGH or LOW, with no in-between reading
- It reports a continuous range of values, such as 0 to 1023
- It only works with a potentiometer
- It requires pulse-width modulation to function
Show Answer
The correct answer is A. The chapter defines digital input as a signal with only two possible states, HIGH or LOW, with no partial or fractional in-between reading, unlike an analog input's continuous range. Option B describes analog input instead, the opposite signal type. Option C confuses digital input with a potentiometer, which is actually an analog input example. Option D confuses digital input with PWM, a technique used for analog output.
Concept Tested: Digital Input See: Digital Input
4. Why does the chapter recommend touching a grounded metal object before handling a microcontroller board?¶
- It improves the microcontroller's wireless signal strength
- It is required before every multimeter measurement
- It drains away static charge safely before it can jump into the board and damage sensitive circuitry
- It resets the board to its factory settings
Show Answer
The correct answer is C. The chapter explains that walking across carpet can build thousands of volts of static charge, and touching a grounded object first drains that charge away safely before it can destroy the microscopic circuitry inside a chip. Option A invents an unrelated wireless-signal effect. Option B overstates the habit, which is tied specifically to handling boards, not every multimeter use. Option D fabricates a reset function grounding does not perform.
Concept Tested: Static Electricity Precaution See: Static Electricity Precaution
5. How does an analog output using PWM create the appearance of a dimmed LED?¶
- It lowers the supply voltage feeding the LED continuously
- It switches a digital output on and off extremely fast, and the human eye averages the resulting brightness over time based on the duty cycle
- It replaces the LED's resistor with a variable one
- It reduces the LED's forward voltage permanently
Show Answer
The correct answer is B. The chapter explains that PWM switches a digital output on and off far faster than the eye can perceive individual flickers, and the eye averages the brightness over time based on the proportion of time spent HIGH, the duty cycle. Option A misdescribes the mechanism as a continuous voltage change rather than fast switching. Option C invents a variable-resistor swap the chapter never describes. Option D fabricates a permanent change to the LED's forward voltage, which PWM does not alter.
Concept Tested: Analog Output See: Analog Output
6. Why does a push button circuit typically include a pull-down resistor connected to ground?¶
- It increases the button's physical durability
- It converts the button into an analog input
- It reduces the voltage needed to power the microcontroller
- It ensures the connected input pin reads a clear, defined LOW value when the button is not pressed, instead of an unpredictable floating value
Show Answer
The correct answer is D. The chapter explains that a pull-down resistor gives the input pin a clear LOW reading when the button is not pressed, preventing the unpredictable floating value that can cause a circuit to seem to trigger randomly. Option A invents a durability benefit unrelated to the resistor's electrical function. Option B is incorrect, since a push button remains a digital input regardless of the pull-down resistor. Option C misapplies the resistor's role to overall power supply, not pin-reading stability.
Concept Tested: Push Button Switch See: Push Button Switch
7. A mentor wants to safely light an LED from a 5-volt USB source. The LED uses about 2 volts once lit, leaving 3 volts for the resistor to absorb, and the mentor wants current limited to 20 milliamps (0.02 amps). Using Ohm's law, what resistor value should the mentor choose?¶
- 150 ohms
- 20 ohms
- 60 ohms
- 300 ohms
Show Answer
The correct answer is A. The chapter's own worked example computes this exact scenario: resistance equals voltage divided by current, so 3 volts divided by 0.02 amps equals 150 ohms, the value used later in the Blinking Light Circuit example. Option B results from dividing by the wrong quantity entirely. Option C is not the result of applying Ohm's law correctly to these numbers. Option D doubles the correct value and does not match the chapter's calculation.
Concept Tested: Current Basics See: Current Basics
8. Before handing out a robot kit, a mentor notices its battery pack looks slightly puffy and feels warm to the touch. What does the chapter say the mentor should do?¶
- Use it anyway, since AA and coin-cell batteries are always low-risk
- Charge it fully first, then set it aside for inspection later
- Set the pack aside immediately and never plug it back in, since this is a stop-work situation rather than something to troubleshoot further
- Wrap it in an anti-static bag and continue the session as planned
Show Answer
The correct answer is C. The chapter's warning is explicit: a battery pack that looks even slightly puffy or feels warm should be set aside immediately and never plugged back in, since this is one of the few situations where the right response is to simply stop. Option A misapplies a low-risk description that the chapter reserves for batteries that pass inspection, not damaged ones. Option B dangerously suggests charging a compromised pack, the opposite of the chapter's guidance. Option D confuses an unrelated static-electricity precaution with a damaged-battery response.
Concept Tested: Battery Safety See: Battery Safety
9. A resistor has bands colored brown, black, red, then gold. Using the chapter's worked example of resistor color coding, what resistance value does this represent?¶
- 100 ohms
- 1,000 ohms (1 kilohm)
- 220 ohms
- 10,000 ohms
Show Answer
The correct answer is B. The chapter's own worked example decodes brown-black-red-gold as 1,000 ohms: brown and black give the digits 1 and 0, red adds two zeros, and gold indicates a 5 percent tolerance. Option A omits one of the zeros the red band adds. Option C is a different common club resistor value, not the one these specific bands encode. Option D adds one zero too many to the correct calculation.
Concept Tested: Resistor Basics See: Resistor Basics
10. A student wires half a circuit on one side of a full-size breadboard's power rail, then continues wiring on the far side of the same rail, and reports that "nothing works" on that far side. Based on the chapter's explanation of breadboard basics, what is the most likely cause?¶
- The student used a female-to-female jumper wire instead of a male-to-male one
- The resistor's color bands were misread
- The LED was connected with reversed polarity
- The center gap on a full-size breadboard splits each side's power rail into two disconnected halves, so a wire on one half does not automatically reach the other half of that same rail
Show Answer
The correct answer is D. The chapter explicitly warns that a full-size breadboard's center gap splits each power rail into two disconnected halves, and a student who forgets this often reports that "nothing works" on the far side of the board. Option A describes an unrelated connector mismatch that would not produce this specific symptom. Option B describes a resistor-reading error, unrelated to which rail half a wire reaches. Option C describes reversed LED polarity, which would leave that specific LED dark rather than affect an entire half of the board.
Concept Tested: Breadboard Basics See: Breadboard Basics