Avoiding certain answers in math input box

We are asking students to evaluate definite integrals. Is there a way to prevent the student from just typing in the command “int” into the math input. If they type int then they can evaluate the definite integral directly in the math input box. We want the student to perform the integration by hand and then type in the final answer.

disableEvaluation: true

In order to avoid copy and pasting correct numerical expressions you can use countNumberUsage set to 1 so that expressions with multiple constants in them won’t be marked as correct.

1 Like

thanks… this was I ended up using based on your answer

disableEvaluation: true
submitDisabled: not(countNumberUsage(this.latex)=1)