When creating a quiz question, can you use a Boolean expression?

taylord1
Community Novice

When creating a quiz question, can you use a Boolean expression, or an If statement? e.g. If (x<0) then 0 else 1.