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:

Verified
Correct Answer:
Verified
Q30: Instead of listing all the code in
Q31: In general, variables are assumed to be
Q32: Clumsy programming involves code that repeats throughout
Q33: Modules can be designed to accept more
Q34: A(n) _ is simply a section of
Q36: Functions return values by sending data back
Q37: A parameter consists of the data type
Q38: You should design your modules and functions
Q39: Data sent when a module is called
Q40: _ are values represented as constants or