Turning Technologies ExamView User Manual
Page 121

ExamView Test Generator
121
Syntax
Description
double quartile(list
data, int
whichQuartile)
Returns one of the divisions of observations of the data in the list.
EXAMPLE
theList = list(30, 25, 19, 26, 31, 29, 23)
quartile(theList, 0)
will return "19", the lower extreme
quartile(theList, 1) will return "23", the lower quartile
quartile(theList, 2) will return "27", the median
quartile(theList, 3) will return "30", the upper quartile
quartile(theList, 4) will return "31", the upper extreme
double rad(double x)
Converts an argument, x, in degrees to radians.
int rand(int x)
Returns a pseudo-random number in the range 1 to the argument, x, inclusive.
double range(double x,
double y, double
increment {optional})
Returns a pseudo-random number in the range x to y, inclusive. If the optional argument, increment, is included, the function will
only select values in the given range that are offset from the lower limit by increment.
NOTE
If increment is in the form .1, .01, .001, etc., then the result will always have the same number of
decimal places as the increment. Also, if x is less than zero, and y is greater than zero, and an
increment is provided, then the value 0 will never be returned by the function.
string rfracs(double
numer, double denom)
Reduces the fraction numer / denom. When displayed, this function will always draw a ratio in stacked fraction form. If denom is 0,
the function will return "0".
EXAMPLE
rfracs(22, 6)
will return
rfracs(22, 11)
will return
turningtechnologies.com/user-guides