adplus-dvertising
frame-decoration

Question

When a function performs tasks based on a decision, it has _____

a.

functional cohesion

b.

coincidental cohesion

c.

logical cohesion

d.

no cohesion

Answer: (c).logical cohesion

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When a function performs tasks based on a decision, it has _____

Similar Questions

Discover Related MCQs

Q. A variable is _____

Q. A function can

Q. The statement float values[]={3.14, -7.86, 36.96, 4.87};

Q. When the compiler places a copy of a small function's statements directly into a program, the function is said to be _____

Q. A group of related fields that contain all of the data about a specific person, place, or thing is called a

Q. To send output to a file, you need to include the _____ header file in your program

Q. A C++ _____ is a program that runs in a DOS window

Q. A 'C' function does not contain

Q. _____ variables remain in memory until the program ends

Q. Which of the following is false?

Q. _____ variables are declared outside of any statement block

Q. Variable names known only to the procedure in which they are declared are ________

Q. Which is true?

Q. The keyword used to define a structure is

Q. Which of the following tells C++ to display numbers with zero decimal places?

Q. Code that has already been tested is said to be _____

Q. The most efficient data type for a variable that the number 20000 is the _____ data type

Q. The number 5.5e3 is a _____ constant

Q. Simple routines that programmers use as place holders while a system is being tested are called _____

Q. The two operators && an || are