What is entry controlled and exit controlled loop? Give example.
Answers
As the name suggests the working of the loop,
1) Entry controlled loop - The loop which has a condition check at the entrance of the loop, the loop executes only and only if the condition is satisfied is called as entry control loop.
EX-
while loop
For loop
2) Exit controlled loop - The loop which keeps on executing until a particular condition is satisfied and when the condition is satisfied according to the criteria the loop exits, this is known as exit controlled loop.
EX-
While loop (during polling)
Answer:
Controllability measures the ability of a particular actuator configuration to control all the states of the system; conversely, observability measures the ability of the particular sensor configuration to supply all the information necessary to estimate all the states of the system.