# Question Answer
a The mbed uses a power rail of 3.3 V – 0 V ‘off’ and 3.3 V ‘on’
b The MBED has a common ground on pin 1 and VCC on Vout
(pin 40)
c 6 * 3 − 25 / (4 + 7) − 16 → 0 ; (7 + 7) % 11.0 → 3 d 10-bit ADC step width = 3.3 V / 1024 ≈
0.0032 V (3.2 mV) e cpp if (coffee >= 5 && coffee <= 10)
f False – array memory also depends on element size. False – constructors have no
return type.
g Short form: A *= (5 - (B * C)); Extended form: a =
a % (3 + b * c);
h Distinct output values for 11-bit signal: 2¹¹ = 2048. Timing control function: wait()
i Base class: Fruits. Concept: Inheritance
j Four on-board LEDs are pre-configured digital outputs. The BusOut interface lets
you write several DigitalOut pins as one value.