Filters
Question type

You might be "____" your code if you write a separate module for every task.


A) over designing
B) overmodularizing
C) over programming
D) strongly coupling

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

If you have more than five to six statements that are closely related to the same purpose and have the potential of being used in more than one place in your program, you should consider turning these statements into a module.

A) True
B) False

Correct Answer

verifed

verified

Modules cannot be reused in a program.

A) True
B) False

Correct Answer

verifed

verified

In a pseudocode class definition, if a method returns a value, the method header starts with the method name

A) True
B) False

Correct Answer

verifed

verified

____ is the degree to which a module depends on other modules to do its work.


A) Cohesion
B) Coupling
C) Efficiency
D) Vulnerability

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Low coupling limits a module's flexibility.

A) True
B) False

Correct Answer

verifed

verified

An efficient way of providing data to modules and still allowing the use of local variables is to pass the data as an argument.

A) True
B) False

Correct Answer

verifed

verified

With modular programming, a variable's ____ is the section of program code in which a variable can be accessed.


A) overhead
B) scope
C) coupling
D) cohesion

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which of the following statements is true?


A) Data types do not need to be declared in function parameters.
B) Modules are designed to accept only one argument.
C) Typically, parameter variable names are longer than variable names in the main module to indicate their permanent nature.
D) Data types must be declared in function parameters.

E) B) and D)
F) C) and D)

Correct Answer

verifed

verified

A ____ is a value that is sent back to the calling module from a called module.


A) return value
B) parameter
C) constructor
D) argument

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

Showing 41 - 50 of 50

Related Exams

Show Answer