Given the module description:________.
Print Average (Level 1)
Print a heading
IF count Of Values isn't 0
Print sum Of Values / count Of Values
The following is an appropriate module pre-condition: "sum Of Values is assigned and count Of Values does not equal 0."
A) True
B) False

Respuesta :

Answer:

Option A True

Explanation:

The module precondition has to be sum of value is assigned and the count of Values does not equal to 0. This is because the expression

sum Of Values / count Of Values

will need a defined and valid number for sum of Values or it will result in a reference error. Reference error is a type of error that happen when no value is assigned to a variable when it is used for certain purpose.

Besides, count Of Values must not be zero as this will result in division by zero error. Any number divided by zero will not be acceptable in programming context.