If a function F) performs the following operations, what knd of cohesion does it have? If it has the optimal cohesion, explain why. If not, correct it. turn on a LED light; send a message to a remote computer; poll a sensor to get a reading; Solution Cohesion is the term which refers to the degree by which the various elements inside a function are related to each other. In the given list of operations, there is no clear relationship between any of the operations. Turning on the LED light and sending message to a remote computer can be assumed to be a form of signalling or notification. However, polling a sensor is clearly an input operation. Also each of the operations is independent. So, the cohesion in this function is weak. It can be categorized as the coincidental cohesion. It is the worst kind of cohesion. The operations are arbitrarily jammed into the same function without any relationship. The only relationship between them is that all of them are put into the same function. Therefore, the cohesion is weak. It is coincidental and not optimal. --------------------------------------------------------------------------------------------------------------------- - If you have any queries regarding this, please ask in the comments and I will make sure to help you with it..