UnitsAbsolute: 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.
UnitsAbsolute
Test | ? | Student response | Teacher answer | Opt | Mark | Answer note | |
---|---|---|---|---|---|---|---|
UnitsAbsolute | -123000*J |
-123*kJ |
5*J |
0 | ATUnits_SO_wrong_units. | ||
The units specified for the numerical tolerance must match the units used for the teacher's answer. This is an internal error with the test. Please ask your teacher about this. | |||||||
UnitsAbsolute | 12.3*m/s |
12.3*m/s |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | 12*m/s |
12.3*m/s |
0.01 |
0 | ATUnits_units_match. | ||
UnitsAbsolute | 1.1*Mg/10^6 |
1.2*kN*ns/(mm*Hz) |
0.15 |
1 | ATUnits_compatible_units kg. | ||
The following illustrates that we convert to base units to compare. | |||||||
UnitsAbsolute | 1.1*Mg/10^6 |
1.2*kN*ns/(mm*Hz) |
0.1 |
1 | ATUnits_compatible_units kg. | ||
UnitsAbsolute | 1.1*Mg/10^6 |
1.2*kN*ns/(mm*Hz) |
0.09 |
0 | ATUnits_compatible_units kg. | ||
Units in the options | |||||||
UnitsAbsolute | -123000*J |
-123*kJ |
5*kJ |
1 | ATUnits_compatible_units (kg*m^2)/s^2. | ||
UnitsAbsolute | -123006*J |
-123*kJ |
5*kJ |
1 | ATUnits_compatible_units (kg*m^2)/s^2. | ||
UnitsAbsolute | -123006*J |
stackunits(-123,kJ) |
5*kJ |
1 | ATUnits_compatible_units (kg*m^2)/s^2. | ||
UnitsAbsolute | -129006*J |
-123*kJ |
5*kJ |
0 | ATUnits_compatible_units (kg*m^2)/s^2. | ||
UnitsAbsolute | 1.1*Mg/10^6 |
1.2*kN*ns/(mm*Hz) |
0.1*kN*ns/(mm*H z) |
1 | ATUnits_compatible_units kg. | ||
UnitsAbsolute | 1.1*Mg/10^6 |
1.2*kN*ns/(mm*Hz) |
0.09*kN*ns/(mm* Hz) |
0 | ATUnits_compatible_units kg. | ||
Edge case | |||||||
UnitsAbsolute | 0*m/s |
0*m/s |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | 0.0*m/s |
0*m/s |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | 0*m/s |
0.0*m/s |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | 0.0*m/s |
0.0*m/s |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | 0.0*km/s |
0.0*m/s |
0.01 |
1 | ATUnits_compatible_units m/s. | ||
UnitsAbsolute | 0.0*m |
0.0*m/s |
0.01 |
0 | ATUnits_incompatible_units. ATUnits_correct_numerical. | ||
Your units are incompatible with those used by the teacher. Please check your units carefully. | |||||||
UnitsAbsolute | 0.0 |
0.0*m/s |
0.01 |
0 | ATUnits_SA_no_units. | ||
Your answer must have units. | |||||||
UnitsAbsolute | 1.0*m/s |
m/s |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | 15/pi*kN/mm^2 |
15/pi*kN/mm^2 |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | (15*kN)/(pi*mm^2) |
(15*kN)/(pi*mm^2) |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | (15/pi)*(kN/mm^2) |
(15/pi)*(kN/mm^2) |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | (600*N)/(%pi*mm^2) |
(600*N)/(%pi*mm^2) |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | (600/pi)*kN/m^2 |
(600/pi)*kN/m^2 |
0.01 |
1 | ATUnits_units_match. | ||
UnitsAbsolute | (600/pi)*kN/mm^2 |
(600/pi)*kN/mm^2 |
0.01 |
1 | ATUnits_units_match. |