Algorithm definitions, Constants, Math functions – Turning Technologies ExamView User Manual

Page 94

Advertising
background image

ExamView Test Generator

94

Algorithm Definitions

This section covers the following topics:

Constants

Math Functions

Exponential and Logarithmic Functions

Trigonometric Functions

String Functions

Statistical Functions

Logical Operators

Fraction Functions

Special Functions

Constants

ExamView Test Generator provides you with numerous pre-defined constants to use when defining variables, conditions, and
user-defined functions.

e

[Constant] 2.71828..., used in problems involving growth or decay (or compound interest).
Usually defined by the following equation:

false

[Constant] 0.

inf

[Constant] ∞. Can be used to represent positive or negative infinity (INF).

no

[Constant] 0.

pi

[Constant] 3.1415926.... By definition, PI is the ratio of the circumference of a circle to its
diameter.

testversion

[pseudo constant] Represents the current test version ("A", "B", "C", etc.).

true

[Constant] 1.

yes

[Constant] 1.

Math Functions

ExamView Test Generator provides you with numerous pre-defined math functions to use when defining variables, conditions,
and user-defined functions.

abs

double abs(double x)

Computes the absolute value of the argument, x.

ceil

double ceil(double x)

Rounds up. The function finds the smallest integer not less than the argument, x.

floor

double floor(double x)

Rounds down. The function finds the largest integer not greater than the argument, x.

turningtechnologies.com/user-guides

Advertising