Skip to content

Expanded: Answer test results

This page exposes the results of running answer tests on STACK test cases. This page is automatically generated from the STACK unit tests and is designed to show question authors what answer tests actually do. This includes cases where answer tests currentl fail, which gives a negative expected mark. Comments and further test cases are very welcome.

Expanded

Test
?
Student response
Teacher answer
Opt
Mark
Answer note
Expanded
1/0
0
-1 ATExpanded_STACKERROR_SAns.
TEST_FAILED
The answer test failed to execute correctly: please alert your teacher. Division by zero.
Expanded
x>2
x^2-2*x+1
0 ATExpanded_SA_not_expression.
Your answer should be an expression, not an equation, inequality, list, set or matrix.
Expanded
x^2-1
0
1 ATExpanded_TRUE.
Expanded
2*(x-1)
0
0 ATExpanded_FALSE.
Expanded
(x-1)*(x+1)
0
0 ATExpanded_FALSE.
Expanded
(x-a)*(x-b)
0
0 ATExpanded_FALSE.
Expanded
x^2-(a+b)*x+a*b
0
0 ATExpanded_FALSE.
Expanded
x^2-a*x-b*x+a*b
0
1 ATExpanded_TRUE.
Expanded
cos(2*x)
0
1 ATExpanded_TRUE.
Expanded
p+1
0
1 ATExpanded_TRUE.
Expanded
(p+1)*(p-1)
0
0 ATExpanded_FALSE.
Expanded
3+2*sqrt(3)
0
1 ATExpanded_TRUE.
Expanded
3+sqrt(12)
0
1 ATExpanded_TRUE.
Expanded
(1+sqrt(5))*(1-sqrt(3))
0
0 ATExpanded_FALSE.
This fails, but you are never going to ask students to do this anyway...
Expanded !
(a-x)^6000
0
-2 ATExpanded_TRUE.