In the code below, why is it that the displayName() module cannot print the person's name?Start   Call getInput()   Call displayName()StopModule getInput()   Declare String name   Display "Enter your name: "   Input nameEnd ModuleModule displayName()   Display "Your name is: " + nameEnd 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.


Answer: A

Computer Science & Information Technology

You might also like to view...

"____" hackers are evidence that the dichotomy of good and evil is NOT a very good fit to the real world.?

A. ?Gray Spy B. ?Gray Box C. ?Gray Hat D. ?Gray Service

Computer Science & Information Technology

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

1. A programmer can use inheritance with an existing library for which only the header file and binary are available, to derive a class more suitable to her purpose. 2. You never put a declaration of an inherited member in the derived class. 3. The one exception to this rule is the need to redefine a base class member function in the derived class. 4. An object of a derived class type has exactly one type, the type with which it was declared. 5. If a base class constructor is not called explicitly in the definition of a derived class constructor, an error results.

Computer Science & Information Technology

First normal form is a table that contains no repeating groups or repeating columns

Indicate whether the statement is true or false

Computer Science & Information Technology

What function does OneNote not have?

A) Print B) Save C) Open D) Insert

Computer Science & Information Technology