I’ve added some feedback to an activity where students have to write the standard form and the vertex form of a quadratic. I have my feedback use a hidden graph to check for equivalent functions as opposed to the exact contents of the string, and this is working great to avoid issues where students write a correct answer that is slightly different from mine. The students will still be marked correct as long as they have an equivalent function in the answer boxes.

However, a lot of my students are mixing up which is which between standard and vertex form, and my feedback is still marking their answers correct. Is there a way for me to add in a conditional to check that a string contains a particular set of characters? For example, I know that the standard form version of the equation must contain an x^2 whereas the vertex form must NOT contain an x^2. Combined with my current equivalent function check, I think these conditionals should avoid some of the problems I’m having.

Slide: