Science, asked by shriprakash6489, 1 year ago

Difference between deterministic and non deterministic loops examples

Answers

Answered by saswatranjanbhp7q5cf
7
A deterministic loop is predictable. The number of iterations of such a loop are known in advance, even before the loop has started. Most counting loops are deterministic. Before they start, we can say how many times they will execute.
A non-deterministic loop is not easily predicted. A loop that is driven by the response of a user is not deterministic, because we cannot predict the response of the user. Non-deterministic loops usually are controlled by a boolean and the number of iterations is not known in advance.
Answered by shampolyne
0

Answer:

In a very simple explanation, Deterministic do loops are those do loops which can be foreseen while non deterministic do loops are those do loops we cannot predict their outcomes of flow.

Similar questions