Skip to content

Firmware Fundamentals — question 7 of 10

Write a real answer. It is graded against the question's rubric, and the mastery movement is computed by the same engine the product uses. Scoring here is deterministic rather than model-written, so this page costs nothing to run and nothing is saved. In a track built from your own posting, the same rubric is graded by the model, which is what produces feedback about your reasoning rather than about coverage.

You're accumulating a running sum of 12-bit unsigned ADC samples (each 0-4095) to compute an average without using floats, and you've stored the running sum in a uint16_t. At what sample count does this first overflow? Then tell me what type and scaling you'd actually use so the fixed-point average stays as accurate as a float-based one.

This one resolves to a number. Give the value in the field below and your reasoning in the box — the number is checked exactly, by arithmetic.

(dimensionless)

Units and SI prefixes are understood, including schematic notation: 4k7, 2.2 uF, 1.5e-3 A.

How sure are you?

Being confidently wrong costs more mastery than admitting a guess — that is deliberate, and it is how misconceptions get found.

Neither is graded, and nothing here is recorded.