Computer Science, asked by gkotur8724, 10 months ago

What is the difference between determinable loop and non-determinable loop ?

Answers

Answered by humeraashraf13
2

Explanation:

The difference being that with a determinate loop structure, one can (normally) predict exactly how many times the loop will repeat; whereas with an indeterminate loop structure, this is not always the case. An indeterminate loop structure loops as long as a condition evaluates to some certain boolean value.

Answered by gratefuljarette
8

The difference between the determinable loop and non determinable loop are as follows:

Explanation:

  • Determinable loops are loops in which the numbers of iterations are determined in advance. The computer in this case will know that how many times the loops have to iterate in the whole program. In this type of loop, the number of iterations doesn’t depend on the certain condition of the program.  For example: For loop.
  • Non- Determinable loops are loops in which the numbers of iterations are not determined in advance. The computer in this case won’t know how many times the loops have to iterate in the whole program. In this type of loop, the number of iterations depends on the certain condition of the program. For example: While loop.

Learn more about loops

Why are for and while loop called entry controlled loops?

https://brainly.in/question/13520345

Network has 12 branches and 8 independent loops how many nodes are there in the network?

https://brainly.in/question/8032317

Similar questions