← Back to Tools
Workspace · CMCQ Preview

CMCQ — Live Solution Preview

Paste a Moodle Calculated Multi-Choice Question script. The right pane shows the rendered solution with {a}, {b}, {c}, {d} substituted and every {=expression} computed live.

CMCQ Source HTML + LaTeX with {a} {b} {c} {d} and {=expr}
Rendered Preview a=2, b=3, c=4, d=5
Paste CMCQ source on the left to see the live solution preview.

Syntax cheat-sheet

{a}, {b}, {c}, {d}  →  replaced with the values in the bar above.

{=expression}  →  evaluates the expression after substitution. Supports + - * / ** % and parentheses. Example: {=({b})*({c})} with b=3, c=4 becomes 12.

Use this inside LaTeX too — the substitution runs on the raw text, then MathJax renders the result.