Multiple Choice
The following function has ____.
Function Numeric average()
// Declare variables
Declare Numeric inputNum // number entered
Declare Numeric quantity // numbers input
Declare Numeric total = 0 // accumulated total
Declare Numeric index // loop variable
Declare Numeric avg // avg of numbers
// Ask user how many numbers to input
Display "How many numbers will you input? "
Input quantity
// Ask user how many numbers to input
Display "How many numbers will you input? "
Input quantity
// Compute and return average, end function
Avg = total / quantity
Return avg
End Function
A) strong cohesion
B) high coupling
C) weak cohesion
D) strong vulnerability
Correct Answer:

Verified
Correct Answer:
Verified
Q22: Why is it that all variables are
Q23: Programmers can work on separate modules for
Q24: When output is meant for the screen,
Q25: Parameters and arguments must match in number,
Q26: When you call a module by using
Q28: With a _ error, the syntax is
Q29: If two variables in different modules happen
Q30: Instead of listing all the code in
Q31: In general, variables are assumed to be
Q32: Clumsy programming involves code that repeats throughout