Electricity & Charge Basics
Subject: Hardware · Chapter 1.1 Time limit: 60 minutes Total marks: 50 Instructions: Answer all three questions. Show full working. Use , , , . Coding answers may be written in Python (NumPy allowed).
Question 1 — Charge, Current, and Power Audit of a DC Rail (18 marks)
A datacentre 12 V DC power rail supplies a resistive heater module of resistance .
(a) Define the ampere in terms of charge and time, then compute the steady current in the heater. (3)
(b) How many electrons pass a cross-section of the wire in one minute? Give your answer to 3 significant figures. (4)
(c) Compute the power dissipated by the module using two independent formulas ( and ) and confirm they agree. (4)
(d) The rail conductor is copper. Explain, in terms of band structure / free carriers, why copper conducts while the module's plastic housing insulates. State clearly the direction of conventional current vs electron flow through the heater. (4)
(e) Over an 8-hour shift, express the total energy delivered in joules and kilowatt-hours, and explain the difference between energy and power. (3)
Question 2 — Reactive Components and AC Behaviour (18 marks)
A signal volts (SI units) is applied across components.
(a) Distinguish a DC signal from this AC signal. State the period, frequency, and peak value of . (3)
(b) A capacitor of carries charge . Derive the instantaneous current and give its peak value. State the phase relationship between and . (5)
(c) Define the farad and the henry from first principles (, ). (4)
(d) Prove that the energy stored in a capacitor charged to voltage is by integrating . (4)
(e) Compute the stored energy when the capacitor is charged to the peak voltage of . (2)
Question 3 — Build & Verify a Circuit Solver (14 marks)
A series circuit has an EMF source and three resistors , , .
(a) Using Ohm's law, derive expressions for the total current and the voltage dropped across each resistor. Compute all values. (4)
(b) Write a Python function series_circuit(Vs, resistors) that returns the total current, the list of voltage drops, and the total power. It must (i) confirm the voltage drops sum to , and (ii) confirm equals . (6)
(c) Interpret this schematic fragment and identify each symbol; state which quantity each measures and its unit: a battery in series with a resistor, an ammeter, and a voltmeter placed across the resistor. (4)
Answer keyMark scheme & solutions
Question 1
(a) The ampere is one coulomb of charge passing a point per second: , i.e. . (1) . (2)
(b) . (2) electrons . (2)
(c) . (2) . Agreement confirms consistency. (2)
(d) Copper is a metal: overlapping/partially-filled conduction band gives a sea of delocalised free electrons, so a small field drives large current. Plastic (insulator) has a large band gap and no free carriers, so electrons stay bound. (2) Conventional current flows from + to − terminal (12 V high side to 0 V) through the heater; electron flow is opposite — electrons drift from − to + terminal. (2)
(e) ; . (1) In kWh: . (1) Power (W) is rate of energy transfer per second; energy (J) is the accumulated total = power × time. (1)
Question 2
(a) A DC signal has constant polarity/value with time; is AC — it periodically reverses sign. Frequency , period , peak value . (3)
(b) . (2) A. (1) Peak current . (1) Current leads voltage by (cosine vs sine). (1)
(c) Farad: capacitance of a body that holds 1 coulomb per volt, , so . (2) Henry: inductance producing 1 volt for a current change of 1 A/s, , so . (2)
(d) Work to move charge across potential where : . (2) With : . (2)
(e) . (2)
Question 3
(a) Series: . (1) . (1) : , , . (1) Sum ✓ (KVL). (1)
(b) (function correct 4, both checks 2)
def series_circuit(Vs, resistors):
Rtot = sum(resistors)
I = Vs / Rtot
drops = [I * R for R in resistors]
assert abs(sum(drops) - Vs) < 1e-9 # KVL check
P = Vs * I
assert abs(P - sum(I**2 * R for R in resistors)) < 1e-9 # power check
return I, drops, P
# series_circuit(9, [100,220,330]) -> (0.013846..., [1.384..,3.046..,4.569..], 0.1246..)(c) (1 each) Battery: DC EMF source, measured in volts (V). Resistor: opposes current, ohms (). Ammeter: in series, measures current in amperes (A), ideally zero resistance. Voltmeter: across (parallel to) the resistor, measures potential difference in volts (V), ideally infinite resistance.
[
{"claim":"Q1 current 2.5 A and electrons ~9.363e20", "code":"I=Rational(12)/Rational(48,10); q=I*60; N=q/1.602e-19; result = (I==Rational(5,2)) and abs(N-9.363e20)<1e18"},
{"claim":"Q1 power equal both formulas =30 W", "code":"I=Rational(5,2); result = (12*I==30) and (I**2*Rational(48,10)==30)"},
{"claim":"Q2 cap energy at 5V = 1.25 mJ", "code":"E=Rational(1,2)*100e-6*5**2; result = abs(E-1.25e-3)<1e-12"},
{"claim":"Q3 total current and drops sum to Vs", "code":"Rtot=100+220+330; I=Rational(9,Rtot); drops=[I*R for R in (100,220,330)]; result = (sum(drops)==9) and abs(float(I)-0.0138461538)<1e-9"}
]