Words in Computation Layer

I want to do a self check where students can be automatically marked right or wrong if they type that the number is positive or negative. But I don’t know how to do that.

Something like this is what I am trying to do.

I think the only way to check this correctly in a table is to check the latex, and that is not a suggested method for checking anything because it is prone to correction mistakes. For example, a student could accidentally hit the space bar before entering a negative sign and it would be marked wrong even if it were supposed to be negative.

I would suggest to use multiple choice instead. You could still create a table to show the correctness, maybe even on the next slide so the students aren’t just guessing and checking.

If you really want to keep the table the way you have shown, something like this should work:

cellContent(1,3): when this.cellContent(1,2)="+" "✅"
when isBlank(this.cellContent(1,2)) ""
otherwise "❌"

Thank you. I am still new to this.