Solved

The Following Function Has ____

Question 48

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents