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 avgEnd Function

A. strong cohesion
B. high coupling
C. weak cohesion
D. strong vulnerability


Answer: A

Computer Science & Information Technology

You might also like to view...

How long is a sound compared to the original if you increment the sourceIndex by 3 each time through the loop in Program 83?

What will be an ideal response?

Computer Science & Information Technology

Page numbers can be modified by changing the number ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Semiconductors are substances with properties between those of a conductor and an insulator.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

?RSIs or ____ are caused by performing the same movement over and over again.

A. ?repetitive strain immersion B. ?repetitive strain injuries C. ?repetitive syndrome injuries D. ?repetitive stress injuries

Computer Science & Information Technology