Exam Study Guide
floating point numbers
(Ans- decimal point appearing anywhere ("float") in the number
type float
(Ans- variable that stores a floating-point number
floating-point literal
(Ans- a number with a fractional part, even if that fraction is 0, as in
1.0, 0.0, or 99.573
Infinity or -Infinity
(Ans- Dividing a nonzero floating-point number by zero.
Not a Number (NotANumber)
(Ans- when a dividend and divisor are both 0
,Function
(Ans- list of statements executed by invoking the function's name, with
such invoking known as a function call
Arguments
(Ans- The values that the programmer provides in the function call.
Random Number
(Ans- Coral function that takes two arguments, lowValue and highValue,
and returns an integer in that range; e.g. RandomNumber (1, 10)
returns a random integer in the range 1 to 10
pseudo-random
(Ans- integers generated by RandomNumber()
Seed
(Ans- built-in integer
divide-by-zero error
(Ans- Occurs at runtime if a divisor is 0, causing a program to
terminate.
, type conversion
(Ans- conversion of data, such as integer to floating
implicit conversion
(Ans- automatic conversion
type cast
(Ans- converts a value of one type to another type
modulo operator
(Ans- %, evaluates the remainder of the division of two integer
operands
Boolean
(Ans- two possible values, like true and false
Array
(Ans- ordered list of items of a given data type
Constant
(Ans- holds the value and does not change; e.g. holds the values of Pi,
speed of light, and kilograms per pound