ITPEC FE Morning April 2019 Question 24
ITPEC FE Morning April 2019 — Question 24 of 80
Check Digit Calculation — compute and append a check digit using weighted sum modulo a base.
Given data 7394, weight 1234, base 11:
Step 1 — Weighted sum:
- 7×1 + 3×2 + 9×3 + 4×4 = 7 + 6 + 27 + 16 = 56
Step 2 — Remainder:
- 56 mod 11 = 1
Step 3 — Check digit:
- 11 - 1 = 10 → take one's place → 0
Result: 7394 + 0 = 73940
Why not others:
- (b) 73941 — would require remainder = 10
- (c) 73944 — does not match the calculation
- (d) 73947 — does not match the calculation
Key rule: After subtracting the remainder from the base, always take only the one's place of the result as the check digit (e.g., 10 → 0).
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.