Solved

In the Code Below, Why Is It That the DisplayName()

Question 34

Multiple Choice

In the code below, why is it that the displayName() module cannot print the person's name?
Start
Call getInput()
Call displayName()
Stop
Module getInput()
Declare String name
Display "Enter your name: "
Input name
End Module
Module displayName()
Display "Your name is: " + name
End Module


A) The name variable is outside the displayName() module's scope.
B) The name variable is a global variable.
C) The name variable is strongly cohesive.
D) The name variable has high coupling.

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