SingleFrac: 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.

SingleFrac

Test
?
Student response
Opt
Mark
SingleFrac
1/0
1/n
-1 ATSingleFrac_STACKERROR_SAns.
SingleFrac
0
1/0
-1 ATSingleFrac_STACKERROR_TAns.
SingleFrac
x=3
2
0 ATSingleFrac_SA_not_expression.
Your answer should be an expression, not an equation, inequality, list, set or matrix.
SingleFrac
3
3
1
SingleFrac
3
2
0 ATSingleFrac_ret_exp.
Your answer is not algebraically equivalent to the correct answer. You must have done something wrong.
SingleFrac
1/m
1/n
0 ATSingleFrac_true. ATSingleFrac_ret_exp.
Your answer is not algebraically equivalent to the correct answer. You must have done something wrong.
SingleFrac
1/n
1/n
1 ATSingleFrac_true.
SingleFrac
a+1/2
(2*a+1)/2
0 ATSingleFrac_part.
Your answer needs to be a single fraction of the form $${a}\over{b}$$.
SingleFrac
a+1/2
(2*a+1)/2
0 ATSingleFrac_part.
Your answer needs to be a single fraction of the form $${a}\over{b}$$.
SingleFrac
4/(x^2+2*x-24)+2/(x^2+4*x-12)
(6*x-16)/(x^3-28*x+48)
0 ATSingleFrac_part.
Your answer needs to be a single fraction of the form $${a}\over{b}$$.
2 subtly different answers for the same question
SingleFrac
2*(1/n)
2/n
0 ATSingleFrac_part.
Your answer needs to be a single fraction of the form $${a}\over{b}$$.
SingleFrac
2/n
2/n
1 ATSingleFrac_true.
Simple Mistakes
SingleFrac
2/(n+1)
1/(n+1)
0 ATSingleFrac_true. ATSingleFrac_ret_exp.
Your answer is not algebraically equivalent to the correct answer. You must have done something wrong.
SingleFrac
(2*n+1)/(n+2)
1/n
0 ATSingleFrac_true. ATSingleFrac_ret_exp.
Your answer is not algebraically equivalent to the correct answer. You must have done something wrong.
SingleFrac
(2*n)/(n*(n+2))
(2*n)/(n*(n+3))
0 ATSingleFrac_true. ATSingleFrac_ret_exp.
Your answer is not algebraically equivalent to the correct answer. You must have done something wrong.
SingleFrac
(x-1)/(x^2-1)
1/(x+1)
1 ATSingleFrac_true.
Fractions within fractions
SingleFrac
(1/2)/(3/4)
2/3
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
(x-2)/4/(2/x^2)
(x-2)*x^2/8
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
1/(1-1/x)
x/(x-1)
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
(1+1/a)/a
(1+a)/a^2
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
a/(1+1/a)
a^2/(1+a)
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
(1+2*b/a)/c
(a+2*b)/(a*c)
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
c/(1+2*b/a)
a*c/(a+2*b)
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
a*c/(a+2*b)
a*c/(a+2*b)
1 ATSingleFrac_true.
Negative cases
SingleFrac
-1/2
-1/2
1 ATSingleFrac_true.
SingleFrac
-1/2
-1/3
0 ATSingleFrac_true. ATSingleFrac_ret_exp.
Your answer is not algebraically equivalent to the correct answer. You must have done something wrong.
SingleFrac
-(1/2)
-1/2
1 ATSingleFrac_true.
SingleFrac
-a/b
-a/b
1 ATSingleFrac_true.
SingleFrac
(-a)/b
-a/b
1 ATSingleFrac_true.
SingleFrac
a/(-b)
-a/b
1 ATSingleFrac_true.
SingleFrac
-(a/b)
-a/b
1 ATSingleFrac_true.
SingleFrac
-(1/(n-1))
1/(1-n)
1 ATSingleFrac_true.
SingleFrac
a/(-1-1/a)
-a^2/(1+a)
0 ATSingleFrac_div.
Your answer contains fractions within fractions. You need to clear these and write your answer as a single fraction.
SingleFrac
((sqrt(5))^3 +6)/15
((sqrt(5))^3 +6)/15
1 ATSingleFrac_true.
SingleFrac
1/(1-sqrt(2))
1/(1-sqrt(2))
1 ATSingleFrac_true.
SingleFrac
((sqrt(5))^3+6)/15
((sqrt(5))^3+6)/15
1 ATSingleFrac_true.
SingleFrac
(5^(3/2)+6)/15
((sqrt(5))^3+6)/15
1 ATSingleFrac_true.